Important changes to repositories hosted on mbed.com
Mbed hosted mercurial repositories are deprecated and are due to be permanently deleted in July 2026.
To keep a copy of this software download the repository Zip archive or clone locally using Mercurial.
It is also possible to export all your personal repositories from the account settings page.
Dependencies: libmDot mbed-rtos mbed
Fork of mDot_LoRa_Connect_Example_APP_EUI_KEY by
Revision 8:f1ec238e61c2, committed 2016-04-04
- Comitter:
- jreiss
- Date:
- Mon Apr 04 20:50:33 2016 +0000
- Parent:
- 7:8f2fd29c633a
- Commit message:
- set app eui with 8 bytes, add commented public network mode example
Changed in this revision
| main.cpp | Show annotated file Show diff for this revision Revisions of this file |
--- a/main.cpp Mon Apr 04 18:43:17 2016 +0000
+++ b/main.cpp Mon Apr 04 20:50:33 2016 +0000
@@ -42,10 +42,15 @@
if ((ret = dot->setFrequencySubBand(config_frequency_sub_band)) != mDot::MDOT_OK) {
logError("failed to set frequency sub band %d:%s", ret, mDot::getReturnCodeString(ret).c_str());
}
+
+// logInfo("setting public network mode");
+// if ((ret = dot->setPublicNetwork(true)) != mDot::MDOT_OK) {
+// logError("failed to public network mode");
+// }
std::vector<uint8_t> temp;
- for (int i = 0; i < 16; i++) {
+ for (int i = 0; i < 8; i++) {
temp.push_back(config_app_eui[i]);
}
