secplus icon indicating copy to clipboard operation
secplus copied to clipboard

Yardstick One code

Open evilpete opened this issue 3 years ago • 4 comments

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

evilpete avatar Jan 09 '23 09:01 evilpete

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.

argilo avatar Jan 12 '23 23:01 argilo

that's odd I'll test it again tonight and also check the HW firmware version.

On Thu, Jan 12, 2023, 15:44 Clayton Smith @.***> wrote:

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.

— Reply to this email directly, view it on GitHub https://github.com/argilo/secplus/pull/16#issuecomment-1381112069, or unsubscribe https://github.com/notifications/unsubscribe-auth/AASFLKNVJDXZR2LU7WYU5NDWSCJOZANCNFSM6AAAAAATVFVUYI . You are receiving this because you authored the thread.Message ID: @.***>

evilpete avatar Jan 13 '23 00:01 evilpete

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. :disappointed:

argilo avatar Jan 13 '23 03:01 argilo

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

evilpete avatar Feb 14 '23 11:02 evilpete