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-Custom
Fork of mDot_LoRa_Connect_Example by
The project is a starting point for the AS923 channel plan.
Default frequencies are 923.2 and 923.4 Join Datarate is set to DR2:SF10BW125 Additional channels can be added in JoinAccept message or through new channel mac commands
New MAC commands in LoRaWAN 1.02 have NOT been included to set the DwellTime and MaxEIRP Overriding this function is available to someone who would like to do this. virtual uint8_t HandleMacCommands(uint8_t* payload, uint8_t index, uint8_t end_index);
Diff: main.cpp
- Revision:
- 6:f0b6fea36e28
- Parent:
- 5:e9d78a9bafc5
- Child:
- 7:6aac90ea2240
--- 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) {
