Thanh Nguyen
/
Box_Alarm_STD_mbed_cli
khang 230620
examples/example_config.h
- Committer:
- hnript
- Date:
- 2020-06-23
- Revision:
- 41:76130744ebe5
- Parent:
- 33:afbcb9dcb0ac
File content as of revision 41:76130744ebe5:
#ifndef __EXAMPLE__CONFIG_H__ #define __EXAMPLE__CONFIG_H__ #define BOX_ALARM 0 // see amr.cpp #define OTA_EXAMPLE 1 // see ota_example.cpp #define AUTO_OTA_EXAMPLE 2 // see auto_ota_example.cpp #define MANUAL_EXAMPLE 3 // see manual_example.cpp #define PEER_TO_PEER_EXAMPLE 4 // see peer_to_peer_example.cpp #define CLASS_C_EXAMPLE 5 // see class_c_example.cpp #define NOTHING_EXECUTE 6 // see class_c_example.cpp // the active example is the one that will be compiled #if !defined(ACTIVE_EXAMPLE) #define ACTIVE_EXAMPLE BOX_ALARM //#define ACTIVE_EXAMPLE MANUAL_EXAMPLE #endif // the active channel plan is the one that will be compiled // options are : // CP_US915 // CP_AU915 // CP_EU868 // CP_KR920 // CP_AS923 // CP_AS923_JAPAN // CP_IN865 // CP_VN919 #if !defined(CHANNEL_PLAN) #define CHANNEL_PLAN CP_VN919 #endif #endif