mdot-examples triage
Dependencies: libmDot-dev-mbed5-deprecated ISL29011
examples/example_config.h@0:f3d9c16b08d7, 2017-06-29 (annotated)
- Committer:
- Maciej Pijanowski
- Date:
- Thu Jun 29 19:54:41 2017 +0200
- Revision:
- 0:f3d9c16b08d7
manual single channel example
Who changed what in which revision?
User | Revision | Line number | New contents of line |
---|---|---|---|
Maciej Pijanowski |
0:f3d9c16b08d7 | 1 | #ifndef __EXAMPLE__CONFIG_H__ |
Maciej Pijanowski |
0:f3d9c16b08d7 | 2 | #define __EXAMPLE__CONFIG_H__ |
Maciej Pijanowski |
0:f3d9c16b08d7 | 3 | |
Maciej Pijanowski |
0:f3d9c16b08d7 | 4 | #define OTA_EXAMPLE 1 // see ota_example.cpp |
Maciej Pijanowski |
0:f3d9c16b08d7 | 5 | #define AUTO_OTA_EXAMPLE 2 // see auto_ota_example.cpp |
Maciej Pijanowski |
0:f3d9c16b08d7 | 6 | #define MANUAL_EXAMPLE 3 // see manual_example.cpp |
Maciej Pijanowski |
0:f3d9c16b08d7 | 7 | #define PEER_TO_PEER_EXAMPLE 4 // see peer_to_peer_example.cpp |
Maciej Pijanowski |
0:f3d9c16b08d7 | 8 | #define CLASS_C_EXAMPLE 5 // see class_c_example.cpp |
Maciej Pijanowski |
0:f3d9c16b08d7 | 9 | |
Maciej Pijanowski |
0:f3d9c16b08d7 | 10 | // the active example is the one that will be compiled |
Maciej Pijanowski |
0:f3d9c16b08d7 | 11 | #if !defined(ACTIVE_EXAMPLE) |
Maciej Pijanowski |
0:f3d9c16b08d7 | 12 | #define ACTIVE_EXAMPLE MANUAL_EXAMPLE |
Maciej Pijanowski |
0:f3d9c16b08d7 | 13 | #endif |
Maciej Pijanowski |
0:f3d9c16b08d7 | 14 | |
Maciej Pijanowski |
0:f3d9c16b08d7 | 15 | // the active channel plan is the one that will be compiled |
Maciej Pijanowski |
0:f3d9c16b08d7 | 16 | // options are : |
Maciej Pijanowski |
0:f3d9c16b08d7 | 17 | // CP_US915 |
Maciej Pijanowski |
0:f3d9c16b08d7 | 18 | // CP_AU915 |
Maciej Pijanowski |
0:f3d9c16b08d7 | 19 | // CP_EU868 |
Maciej Pijanowski |
0:f3d9c16b08d7 | 20 | // CP_KR920 |
Maciej Pijanowski |
0:f3d9c16b08d7 | 21 | // CP_AS923 |
Maciej Pijanowski |
0:f3d9c16b08d7 | 22 | // CP_AS923_JAPAN |
Maciej Pijanowski |
0:f3d9c16b08d7 | 23 | #if !defined(CHANNEL_PLAN) |
Maciej Pijanowski |
0:f3d9c16b08d7 | 24 | #define CHANNEL_PLAN CP_EU868 |
Maciej Pijanowski |
0:f3d9c16b08d7 | 25 | #endif |
Maciej Pijanowski |
0:f3d9c16b08d7 | 26 | |
Maciej Pijanowski |
0:f3d9c16b08d7 | 27 | #endif |