mirror of
https://github.com/travisgoodspeed/goodwatch
synced 2024-11-22 16:59:57 +00:00
New OOK modes in the config template.
This commit is contained in:
parent
05a493bfcf
commit
e20d1aaaba
@ -12,12 +12,25 @@
|
|||||||
#define RTCCALIBRATE -28
|
#define RTCCALIBRATE -28
|
||||||
|
|
||||||
|
|
||||||
/*
|
/* This array holds the entries triggered by numbered buttons in the
|
||||||
//Settings for a DC relay, 341us/bit OOK
|
OOK applet. The first two bytes of each entry at MDMCFG4 and
|
||||||
#define OOKMDMCFG4 0x86
|
MDMCFG3 to set the bitrate, followed by the packet to be
|
||||||
#define OOKMDMCFG3 0xd9
|
transmitted at that rate. See the GoodWatch wiki for details and
|
||||||
#define OOKBUTTONA "\x00\x00\xe8\xe8\xee\x88\xe8\x8e\xe8\x88\xee\xe8\x88\x8e\x80\x00"
|
sample projects to reverse engineer these settings.
|
||||||
#define OOKBUTTONB "\x00\x00\xe8\xe8\xee\x88\xe8\x8e\xe8\x88\xee\xe8\x88\xe8\x80\x00"
|
*/
|
||||||
#define OOKBUTTONC "\x00\x00\xe8\xe8\xee\x88\xe8\x8e\xe8\x88\xee\xe8\x8e\x88\x80\x00"
|
|
||||||
#define OOKBUTTOND "\x00\x00\xe8\xe8\xee\x88\xe8\x8e\xe8\x88\xee\xe8\xe8\x88\x80\x00"
|
#define OOKBUTTONS \
|
||||||
*/
|
/* Magicfly doorbell first, 200us.*/ \
|
||||||
|
"\xf7\x93" "\x00\xe8\xe8\x88\x88\xee\x88\x8e\x88\xee\x8e\x88\xee\x80\x00\x00", \
|
||||||
|
/* Settings for the Eco-Worthy Digital Motor Controller, should be
|
||||||
|
~430us but ~340 works. */ \
|
||||||
|
"\x86\xd9" "\x00\xee\x8e\x8e\x8e\x8e\x8e\x8e\x8e\x88\x88\x88\xee\x80\x00\x00", \
|
||||||
|
"\x86\xd9" "\x00\xee\x8e\x8e\x8e\x8e\x8e\x8e\x8e\x88\x88\xee\x88\x80\x00\x00", \
|
||||||
|
"\x86\xd9" "\x00\xee\x8e\x8e\x8e\x8e\x8e\x8e\x8e\x88\xee\x88\x88\x80\x00\x00", \
|
||||||
|
"\x86\xd9" "\x00\xee\x8e\x8e\x8e\x8e\x8e\x8e\x8e\xee\x88\x88\x88\x80\x00\x00", \
|
||||||
|
/* No-name wireless relay controller. ~340us */ \
|
||||||
|
"\x86\xd9" "\x00\x00\xe8\xe8\xee\x88\xe8\x8e\xe8\x88\xee\xe8\x88\x8e\x80\x00", \
|
||||||
|
"\x86\xd9" "\x00\x00\xe8\xe8\xee\x88\xe8\x8e\xe8\x88\xee\xe8\x88\xe8\x80\x00", \
|
||||||
|
"\x86\xd9" "\x00\x00\xe8\xe8\xee\x88\xe8\x8e\xe8\x88\xee\xe8\x8e\x88\x80\x00", \
|
||||||
|
"\x86\xd9" "\x00\x00\xe8\xe8\xee\x88\xe8\x8e\xe8\x88\xee\xe8\xe8\x88\x80\x00"
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user