first_commit
Dependencies: SLAVE_LIB libmDot-mbed5 mbed-rtos mbed
Fork of mDot_LoRa_Connect_Example by
Diff: main.cpp
- Revision:
- 6:f0b6fea36e28
- Parent:
- 5:e9d78a9bafc5
- Child:
- 7:93000504469c
--- a/main.cpp Mon Apr 04 18:44:38 2016 +0000 +++ b/main.cpp Tue Apr 12 23:44:25 2016 +0000 @@ -38,9 +38,10 @@ // if using a MultiTech Conduit gateway, use the same sub band as your Conduit (1-8) - the mDot will use the 8 channels in that sub band // if using a gateway that supports all 64 channels, use sub band 0 - the mDot will use all 64 channels - if ((ret = dot->setPublicNetwork(true)) != mDot::MDOT_OK) { - logError("failed to set public network %d:%s", ret, mDot::getReturnCodeString(ret).c_str()); - } +// logInfo("setting to public network"); +// if ((ret = dot->setPublicNetwork(true)) != mDot::MDOT_OK) { +// logError("failed to set public network %d:%s", ret, mDot::getReturnCodeString(ret).c_str()); +// } logInfo("setting frequency sub band"); if ((ret = dot->setFrequencySubBand(config_frequency_sub_band)) != mDot::MDOT_OK) {