diff options
Diffstat (limited to 'CommandTerminal')
-rw-r--r-- | CommandTerminal/CmdFactoryDefault.cpp | 16 |
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; |