From e1736be283e3da3df63e9d29c9382c076e59f80e Mon Sep 17 00:00:00 2001 From: Mike Fiore Date: Mon, 23 Nov 2015 13:42:33 -0600 Subject: clean up after config, get things building again, update default configuration to match spec --- CommandTerminal/CmdFactoryDefault.cpp | 16 +++++++++------- 1 file changed, 9 insertions(+), 7 deletions(-) (limited to 'CommandTerminal') diff --git a/CommandTerminal/CmdFactoryDefault.cpp b/CommandTerminal/CmdFactoryDefault.cpp index c310083..e2645cd 100644 --- a/CommandTerminal/CmdFactoryDefault.cpp +++ b/CommandTerminal/CmdFactoryDefault.cpp @@ -11,13 +11,15 @@ uint32_t CmdFactoryDefault::action(std::vector args) _dot->resetConfig(); //Factory defaults for the DotBox. - _dot->setWakeDelay(242); //DotBox +MaxSize is stored here. Default is 242. - _dot->setWakeInterval(11); //DotBox +MinSize is stored here. Default is 11. - _dot->setWakeMode(20); //DotBox +MaxPwr is stored here. Default is 20. - _dot->setWakeTimeout(2); //DotBox +MinPwr is stored here. Default is 2. - _dot->setStartUpMode(0); //DotBox +Data is stored here. Default is 0. - _dot->setVerbose(1); - _dot->setEcho(1); + _dot->setTxDataRate(mDot::SF_7); + _dot->setFrequencySubBand(1); + _dot->setWakeDelay(242); //DotBox +MaxSize is stored here. Default is 242. + _dot->setWakeInterval(11); //DotBox +MinSize is stored here. Default is 11. + _dot->setWakeMode(20); //DotBox +MaxPwr is stored here. Default is 20. + _dot->setWakeTimeout(2); //DotBox +MinPwr is stored here. Default is 2. + _dot->setStartUpMode(0); //DotBox +Data is stored here. Default is 0. + _dot->setVerbose(1); + _dot->setEcho(1); _dot->resetNetworkSession(); return 0; -- cgit v1.2.3