Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Yardstick One code #16

Open
wants to merge 2 commits into
base: master
Choose a base branch
from
Open

Yardstick One code #16

wants to merge 2 commits into from

Conversation

evilpete
Copy link

@evilpete evilpete commented Jan 9, 2023

code to send / receive with Yardstick One

requires rfcat library

the code ain't pretty but i works

secplus_v2-send.py send security+ v2
secplus_send.py send security+ (v1)
secplus_v2_reciv.py receive security+ v2

was too lazy to write receive security+ (v1) :-)

Enjoy...

usage: secplus_v2-send.py [-h] [-F FREQ] [--rolling ROLLING] [-b button_id] [-n] [-f fixed_code | -i remote_id] [-v]

optional arguments:
  -h, --help            show this help message and exit
  -F FREQ, --Freq FREQ, --freq FREQ
                        Set Frequency [default=315000000]
  --rolling ROLLING     Set Rolling code [default=0]
  -b button_id, --button button_id
                        Button [default=91]
  -n, --noop            No op/Do not transmit
  -f fixed_code, --fixed fixed_code
                        Set Fixed code [default=0]
  -i remote_id, --id remote_id
                        Remote-ID
  -v, --verbose         Increase debug verbosity

@argilo
Copy link
Owner

argilo commented Jan 12, 2023

Both transmit scripts are failing here.

secplus_send.py:

Exception: Packet too large (1800 bytes). Maximum fixed length packet is 510 bytes.

secplus_v2-send.py

Exception: Packet too large (1148 bytes). Maximum fixed length packet is 510 bytes.

@evilpete
Copy link
Author

evilpete commented Jan 13, 2023 via email

@argilo
Copy link
Owner

argilo commented Jan 13, 2023

Oof, I did some playing and quickly reminded myself how buggy and unreliable rfcat is. I'm not sure it's worth the trouble of adding support for it. 😞

@evilpete
Copy link
Author

i have some work in Koto correct but I find time, I think I pushed the wrong branch before
(sorry is low priority)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants