fp

Dependencies:   libmDot-mbed5 ISL29011

Committer:
Mike Fiore
Date:
Fri Jun 09 08:31:21 2017 -0500
Revision:
21:09d05faf0e13
Parent:
0:a151a6350d7f
Child:
22:d9bc10bbc433
update Dot-Examples to support Dot 3.x.x releases - new channel plans, LBT, & external channel plan functionality. Also a few bug fixes.

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
mfiore 0:a151a6350d7f 9
mfiore 0:a151a6350d7f 10 // the active example is the one that will be compiled
Mike Fiore 21:09d05faf0e13 11 #if !defined(ACTIVE_EXAMPLE)
mfiore 0:a151a6350d7f 12 #define ACTIVE_EXAMPLE OTA_EXAMPLE
Mike Fiore 21:09d05faf0e13 13 #endif
mfiore 0:a151a6350d7f 14
Mike Fiore 21:09d05faf0e13 15 // the active channel plan is the one that will be compiled
Mike Fiore 21:09d05faf0e13 16 // options are :
Mike Fiore 21:09d05faf0e13 17 // CP_US915
Mike Fiore 21:09d05faf0e13 18 // CP_AU915
Mike Fiore 21:09d05faf0e13 19 // CP_EU868
Mike Fiore 21:09d05faf0e13 20 // CP_KR920
Mike Fiore 21:09d05faf0e13 21 // CP_AS923
Mike Fiore 21:09d05faf0e13 22 // CP_AS923_JAPAN
Mike Fiore 21:09d05faf0e13 23 #if !defined(CHANNEL_PLAN)
Mike Fiore 21:09d05faf0e13 24 #define CHANNEL_PLAN CP_US915
Mike Fiore 21:09d05faf0e13 25 #endif
Mike Fiore 21:09d05faf0e13 26
Mike Fiore 21:09d05faf0e13 27 #endif