khang 230620

Dependencies:   ISL29011

Committer:
Jason Reiss
Date:
Thu May 02 09:29:05 2019 -0500
Revision:
35:f6486829a451
Parent:
34:15ea8f985c54
Child:
36:cb358e793d1a
Add FOTA exampe

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)
Jason Reiss 35:f6486829a451 14 #define ACTIVE_EXAMPLE FOTA_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