Basic xdot code to check how many memory is available for user APP after initializing libxdot lorawan stack
examples/example_config.h@22:d9bc10bbc433, 2017-06-29 (annotated)
- Committer:
- mfiore
- Date:
- Thu Jun 29 15:31:22 2017 +0000
- Revision:
- 22:d9bc10bbc433
- Parent:
- 21:09d05faf0e13
- Child:
- 33:15ea8f985c54
support IN865 channel plan. update mbed-os to 5.4.7
Who changed what in which revision?
User | Revision | Line number | New contents of line |
---|---|---|---|
mfiore | 0:a151a6350d7f | 1 | #ifndef __EXAMPLE__CONFIG_H__ |
mfiore | 0:a151a6350d7f | 2 | #define __EXAMPLE__CONFIG_H__ |
mfiore | 0:a151a6350d7f | 3 | |
mfiore | 0:a151a6350d7f | 4 | #define OTA_EXAMPLE 1 // see ota_example.cpp |
mfiore | 0:a151a6350d7f | 5 | #define AUTO_OTA_EXAMPLE 2 // see auto_ota_example.cpp |
mfiore | 0:a151a6350d7f | 6 | #define MANUAL_EXAMPLE 3 // see manual_example.cpp |
mfiore | 0:a151a6350d7f | 7 | #define PEER_TO_PEER_EXAMPLE 4 // see peer_to_peer_example.cpp |
mfiore | 0:a151a6350d7f | 8 | #define CLASS_C_EXAMPLE 5 // see class_c_example.cpp |
mfiore | 0:a151a6350d7f | 9 | |
mfiore | 0:a151a6350d7f | 10 | // the active example is the one that will be compiled |
Mike Fiore |
21:09d05faf0e13 | 11 | #if !defined(ACTIVE_EXAMPLE) |
mfiore | 0:a151a6350d7f | 12 | #define ACTIVE_EXAMPLE OTA_EXAMPLE |
Mike Fiore |
21:09d05faf0e13 | 13 | #endif |
mfiore | 0:a151a6350d7f | 14 | |
Mike Fiore |
21:09d05faf0e13 | 15 | // the active channel plan is the one that will be compiled |
Mike Fiore |
21:09d05faf0e13 | 16 | // options are : |
Mike Fiore |
21:09d05faf0e13 | 17 | // CP_US915 |
Mike Fiore |
21:09d05faf0e13 | 18 | // CP_AU915 |
Mike Fiore |
21:09d05faf0e13 | 19 | // CP_EU868 |
Mike Fiore |
21:09d05faf0e13 | 20 | // CP_KR920 |
Mike Fiore |
21:09d05faf0e13 | 21 | // CP_AS923 |
Mike Fiore |
21:09d05faf0e13 | 22 | // CP_AS923_JAPAN |
mfiore | 22:d9bc10bbc433 | 23 | // CP_IN865 |
Mike Fiore |
21:09d05faf0e13 | 24 | #if !defined(CHANNEL_PLAN) |
Mike Fiore |
21:09d05faf0e13 | 25 | #define CHANNEL_PLAN CP_US915 |
Mike Fiore |
21:09d05faf0e13 | 26 | #endif |
Mike Fiore |
21:09d05faf0e13 | 27 | |
Mike Fiore |
21:09d05faf0e13 | 28 | #endif |