publish

Dependencies:   ISL29011

Committer:
jreiss
Date:
Thu May 02 15:01:53 2019 +0000
Revision:
36:cb358e793d1a
Parent:
35:f6486829a451
Set OTA example as default

Who changed what in which revision?

UserRevisionLine numberNew 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
jreiss 34:15ea8f985c54 9 #define CLASS_B_EXAMPLE 6 // see class_b_example.cpp
Jason Reiss 35:f6486829a451 10 #define FOTA_EXAMPLE 7 // see fota_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)
jreiss 36:cb358e793d1a 14 #define ACTIVE_EXAMPLE OTA_EXAMPLE
Mike Fiore 21:09d05faf0e13 15 #endif
mfiore 0:a151a6350d7f 16
Mike Fiore 21:09d05faf0e13 17 // the active channel plan is the one that will be compiled
Mike Fiore 21:09d05faf0e13 18 // options are :
Mike Fiore 21:09d05faf0e13 19 // CP_US915
Mike Fiore 21:09d05faf0e13 20 // CP_AU915
Mike Fiore 21:09d05faf0e13 21 // CP_EU868
Mike Fiore 21:09d05faf0e13 22 // CP_KR920
Mike Fiore 21:09d05faf0e13 23 // CP_AS923
Mike Fiore 21:09d05faf0e13 24 // CP_AS923_JAPAN
mfiore 22:d9bc10bbc433 25 // CP_IN865
Mike Fiore 21:09d05faf0e13 26 #if !defined(CHANNEL_PLAN)
Mike Fiore 21:09d05faf0e13 27 #define CHANNEL_PLAN CP_US915
Mike Fiore 21:09d05faf0e13 28 #endif
Mike Fiore 21:09d05faf0e13 29
Mike Fiore 21:09d05faf0e13 30 #endif