Loading files
This file is pinned to the selected release. Download the original to open it in your design tool.
/*! \file configdefault.h
\brief Default configuration values, to be overloaded in config.h
Each of these options can be over-written by defining them in
config.h, which is intentionally not included by the distribution.
See configtemplate.h as an example when constructing your
configuration.
*/
#include "config.h"
#ifndef CALLSIGN
#define CALLSIGN "N0CALL"
#warning "CALLSIGN is not defined in config.h"
#endif
#ifndef COREVOLTAGE
#define COREVOLTAGE 0
#endif
//Override this in config.h if you're testing an applet.
#ifndef DEFAULTAPP
#define DEFAULTAPP 0
#endif
/* 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.
*/
#ifndef OOKBUTTONS
#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, ~430us */ \
"\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"
#endif
1558c9a8dThis file is pinned to the selected release. Download the original to open it in your design tool.