Connecting to gateway and sending packets with a MultiTech mDot.

Dependencies:   libmDot mbed-rtos mbed

Fork of libmDot_sample by MultiTech

Files at this revision

API Documentation at this revision

Comitter:
jreiss
Date:
Tue Apr 12 23:44:25 2016 +0000
Parent:
5:e9d78a9bafc5
Commit message:
comment out public network

Changed in this revision

main.cpp Show annotated file Show diff for this revision Revisions of this file
mbed.bld Show annotated file Show diff for this revision Revisions of this file
diff -r e9d78a9bafc5 -r f0b6fea36e28 main.cpp
--- 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) {
diff -r e9d78a9bafc5 -r f0b6fea36e28 mbed.bld
--- a/mbed.bld	Mon Apr 04 18:44:38 2016 +0000
+++ b/mbed.bld	Tue Apr 12 23:44:25 2016 +0000
@@ -1,1 +1,1 @@
-http://mbed.org/users/mbed_official/code/mbed/builds/c0f6e94411f5
\ No newline at end of file
+http://mbed.org/users/mbed_official/code/mbed/builds/99a22ba036c9
\ No newline at end of file