Testing basic mdot with external Interrupt
Dependencies: libmDot mbed-rtos mbed-src
Fork of mDot_test_rx by
LoRaWAN Network Configuration
For DevEUI, AppEUI, AppKey configuration to specific network, please see lines 10 to 18.
If using with an 8 channel gateway define config_frequency_sub_band at line 16. Setting config_frequency_sub_band to '1' will limit the device to using just the first eight (8) channels starting at 902.3 MHz.
Free Running vs Interrupt
At line 117 you can change the program from waiting for external interrupts to free-running by changing msg_rdy to be equal to 'true'.
Revision 6:b1afa2592e36, committed 2015-11-17
- Comitter:
- jknapp_smtc
- Date:
- Tue Nov 17 18:17:28 2015 +0000
- Parent:
- 5:25114cb5e9a7
- Commit message:
- Default to free running
Changed in this revision
diff -r 25114cb5e9a7 -r b1afa2592e36 libmDot.lib --- a/libmDot.lib Sat Aug 01 01:17:43 2015 +0000 +++ b/libmDot.lib Tue Nov 17 18:17:28 2015 +0000 @@ -1,1 +1,1 @@ -http://developer.mbed.org/teams/MultiTech/code/libmDot/#390fc83d588d +http://developer.mbed.org/teams/MultiTech/code/libmDot/#0b4eb17d07ae
diff -r 25114cb5e9a7 -r b1afa2592e36 main.cpp --- a/main.cpp Sat Aug 01 01:17:43 2015 +0000 +++ b/main.cpp Tue Nov 17 18:17:28 2015 +0000 @@ -114,7 +114,7 @@ } recv_data.clear(); } - msg_rdy = false; // Set to 'true' for free running. + msg_rdy = true; // Set to 'true' for free running. wait(wait_time); while (!msg_rdy) wait(wait_time); }
diff -r 25114cb5e9a7 -r b1afa2592e36 mbed-rtos.lib --- a/mbed-rtos.lib Sat Aug 01 01:17:43 2015 +0000 +++ b/mbed-rtos.lib Tue Nov 17 18:17:28 2015 +0000 @@ -1,1 +1,1 @@ -http://mbed.org/users/mbed_official/code/mbed-rtos/#5aed8bae1001 +http://mbed.org/users/mbed_official/code/mbed-rtos/#d7bd06319118
diff -r 25114cb5e9a7 -r b1afa2592e36 mbed-src.lib --- a/mbed-src.lib Sat Aug 01 01:17:43 2015 +0000 +++ b/mbed-src.lib Tue Nov 17 18:17:28 2015 +0000 @@ -1,1 +1,1 @@ -http://mbed.org/users/mbed_official/code/mbed-src/#6c996abb70b0 +http://mbed.org/users/mbed_official/code/mbed-src/#a11c0372f0ba