Thanh Nguyen
/
Box_Alarm_STD_mbed_cli
khang 230620
examples/example_config.h@42:8b15fc99ac46, 2020-06-23 (annotated)
- Committer:
- hnript
- Date:
- Tue Jun 23 15:50:16 2020 +0000
- Revision:
- 42:8b15fc99ac46
- Parent:
- 41:76130744ebe5
ok 230620
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 | |
hnript | 41:76130744ebe5 | 4 | #define BOX_ALARM 0 // see amr.cpp |
mfiore | 0:a151a6350d7f | 5 | #define OTA_EXAMPLE 1 // see ota_example.cpp |
mfiore | 0:a151a6350d7f | 6 | #define AUTO_OTA_EXAMPLE 2 // see auto_ota_example.cpp |
mfiore | 0:a151a6350d7f | 7 | #define MANUAL_EXAMPLE 3 // see manual_example.cpp |
mfiore | 0:a151a6350d7f | 8 | #define PEER_TO_PEER_EXAMPLE 4 // see peer_to_peer_example.cpp |
mfiore | 0:a151a6350d7f | 9 | #define CLASS_C_EXAMPLE 5 // see class_c_example.cpp |
hnript | 41:76130744ebe5 | 10 | #define NOTHING_EXECUTE 6 // see class_c_example.cpp |
mfiore | 0:a151a6350d7f | 11 | |
mfiore | 0:a151a6350d7f | 12 | // the active example is the one that will be compiled |
Mike Fiore |
21:09d05faf0e13 | 13 | #if !defined(ACTIVE_EXAMPLE) |
hnript | 41:76130744ebe5 | 14 | #define ACTIVE_EXAMPLE BOX_ALARM |
hnript | 33:afbcb9dcb0ac | 15 | //#define ACTIVE_EXAMPLE MANUAL_EXAMPLE |
Mike Fiore |
21:09d05faf0e13 | 16 | #endif |
mfiore | 0:a151a6350d7f | 17 | |
Mike Fiore |
21:09d05faf0e13 | 18 | // the active channel plan is the one that will be compiled |
Mike Fiore |
21:09d05faf0e13 | 19 | // options are : |
Mike Fiore |
21:09d05faf0e13 | 20 | // CP_US915 |
Mike Fiore |
21:09d05faf0e13 | 21 | // CP_AU915 |
Mike Fiore |
21:09d05faf0e13 | 22 | // CP_EU868 |
Mike Fiore |
21:09d05faf0e13 | 23 | // CP_KR920 |
Mike Fiore |
21:09d05faf0e13 | 24 | // CP_AS923 |
Mike Fiore |
21:09d05faf0e13 | 25 | // CP_AS923_JAPAN |
mfiore | 22:d9bc10bbc433 | 26 | // CP_IN865 |
hnript | 33:afbcb9dcb0ac | 27 | // CP_VN919 |
Mike Fiore |
21:09d05faf0e13 | 28 | #if !defined(CHANNEL_PLAN) |
hnript | 33:afbcb9dcb0ac | 29 | #define CHANNEL_PLAN CP_VN919 |
Mike Fiore |
21:09d05faf0e13 | 30 | #endif |
Mike Fiore |
21:09d05faf0e13 | 31 | |
Mike Fiore |
21:09d05faf0e13 | 32 | #endif |