summaryrefslogtreecommitdiff
path: root/CommandTerminal
diff options
context:
space:
mode:
authorMike Fiore <mfiore@multitech.com>2015-11-23 13:42:33 -0600
committerMike Fiore <mfiore@multitech.com>2015-11-23 13:42:33 -0600
commite1736be283e3da3df63e9d29c9382c076e59f80e (patch)
tree858e20d587cfd41925500e99660b3f321881ee43 /CommandTerminal
parenta3494764b5837a15695445652b01310eeebd6449 (diff)
downloadmtdot-box-evb-factory-firmware-e1736be283e3da3df63e9d29c9382c076e59f80e.tar.gz
mtdot-box-evb-factory-firmware-e1736be283e3da3df63e9d29c9382c076e59f80e.tar.bz2
mtdot-box-evb-factory-firmware-e1736be283e3da3df63e9d29c9382c076e59f80e.zip
clean up after config, get things building again, update default configuration to match spec
Diffstat (limited to 'CommandTerminal')
-rw-r--r--CommandTerminal/CmdFactoryDefault.cpp16
1 files changed, 9 insertions, 7 deletions
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<std::string> 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;