2017-11-28 23:29:52 +00:00
|
|
|
|
|
|
|
// You definitely want to uncomment and change this to your callsign.
|
|
|
|
//#define CALLSIGN "N0CALL"
|
2021-02-16 22:20:22 +00:00
|
|
|
|
|
|
|
// And maybe also your DAPNET RIC for POCSAG.
|
2019-04-20 17:20:20 +00:00
|
|
|
//#define DAPNETRIC 123456
|
|
|
|
|
2021-02-16 22:20:22 +00:00
|
|
|
// Timezone is needed for Beats app.
|
|
|
|
//#define CURRENT_UTC_OFFSET 4
|
|
|
|
|
2017-11-29 16:27:28 +00:00
|
|
|
|
|
|
|
// The core voltage should be 0 for a coin cell, 2 or 3 for quality power.
|
|
|
|
//#define COREVOLTAGE 3
|
|
|
|
|
2018-04-15 18:32:48 +00:00
|
|
|
// Uncomment this to emulate the SET button by holding + and - at once.
|
|
|
|
//#define EMULATESET
|
|
|
|
|
2018-07-03 14:40:22 +00:00
|
|
|
//Uncomment this to set the default RTC Calibration. Positive is slow, negative is fast.
|
|
|
|
#define RTCCALIBRATE -28
|
2018-08-03 21:13:16 +00:00
|
|
|
|
|
|
|
|
2018-09-02 15:56:54 +00:00
|
|
|
/* This array holds the entries triggered by numbered buttons in the
|
|
|
|
OOK applet. The first two bytes of each entry at MDMCFG4 and
|
|
|
|
MDMCFG3 to set the bitrate, followed by the packet to be
|
|
|
|
transmitted at that rate. See the GoodWatch wiki for details and
|
|
|
|
sample projects to reverse engineer these settings.
|
|
|
|
*/
|
|
|
|
|
|
|
|
#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"
|
|
|
|
|
2021-02-28 23:28:07 +00:00
|
|
|
/* This array holds the phonebook. Each line is one record, with the
|
|
|
|
0 button jumping to the next line and the +/- keys cycling between
|
|
|
|
the 8-byte words of the line.
|
|
|
|
*/
|
|
|
|
|
|
|
|
|
|
|
|
#define PHONEBOOK \
|
|
|
|
"Travis " "555-3811" "\n" \
|
|
|
|
"Bob 555" "555-0321" "\n" \
|
|
|
|
"AAA 800" "222-4357" "\n" \
|
|
|
|
"Last " "555-2358" "\n"
|