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);
Revision 12:2bdea2bdd694, committed 2017-03-07
- Comitter:
- jreiss
- Date:
- Tue Mar 07 17:03:33 2017 +0000
- Parent:
- 11:089442ff7905
- Commit message:
- update libmDot and mbed-os to 5.3.6
Changed in this revision
--- a/libmDot-Custom.lib Wed Oct 26 17:28:34 2016 +0000 +++ b/libmDot-Custom.lib Tue Mar 07 17:03:33 2017 +0000 @@ -1,1 +1,1 @@ -http://developer.mbed.org/teams/MultiTech/code/libmDot-Custom/#f77f883a080e +http://developer.mbed.org/teams/MultiTech/code/libmDot-Custom/#e2323ff52dfd
--- a/main.cpp Wed Oct 26 17:28:34 2016 +0000
+++ b/main.cpp Tue Mar 07 17:03:33 2017 +0000
@@ -16,25 +16,18 @@
int main() {
debug.baud(115200);
- debug.printf("hello");
int32_t ret;
mDot* dot;
std::vector<uint8_t> data;
std::string data_str = "hello!";
-
- debug.printf("get mdot");
-
+
// get a mDot handle
dot = mDot::getInstance();
- debug.printf("set channel plan");
-
lora::CustomChannelPlan_AS923* plan = new lora::CustomChannelPlan_AS923(*dot->getRadio(), *dot->getSettings());
dot->setChannelPlan(plan);
- debug.printf("done");
-
// print library version information
logInfo("version: %s", dot->getId().c_str());
--- a/mbed-os.lib Wed Oct 26 17:28:34 2016 +0000 +++ b/mbed-os.lib Tue Mar 07 17:03:33 2017 +0000 @@ -1,1 +1,1 @@ -https://github.com/ARMmbed/mbed-os/#21dd7008a1540c02150f1b87c12294301db979bb +https://github.com/ARMmbed/mbed-os/#5faf4b26c5954d15c7c1cccac6498e0c690ad101
