Example programs for MultiTech Dot devices demonstrating how to use the Dot devices and the Dot libraries for LoRa communication.

Dependencies:   libmDot-mbed5 ISL29011

Fork of Dot-Examples by MultiTech

Embed: (wiki syntax)

« Back to documentation index

Show/hide line numbers example_config.h Source File

example_config.h

00001 #ifndef __EXAMPLE__CONFIG_H__
00002 #define __EXAMPLE__CONFIG_H__
00003 
00004 #define OTA_EXAMPLE              1  // see ota_example.cpp
00005 #define AUTO_OTA_EXAMPLE         2  // see auto_ota_example.cpp
00006 #define MANUAL_EXAMPLE           3  // see manual_example.cpp
00007 #define PEER_TO_PEER_EXAMPLE     4  // see peer_to_peer_example.cpp
00008 #define CLASS_C_EXAMPLE          5  // see class_c_example.cpp
00009 
00010 // the active example is the one that will be compiled
00011 #if !defined(ACTIVE_EXAMPLE)
00012 #define ACTIVE_EXAMPLE  CLASS_C_EXAMPLE //OTA_EXAMPLE
00013 #endif
00014 
00015 // the active channel plan is the one that will be compiled
00016 // options are :
00017 //      CP_US915
00018 //      CP_AU915
00019 //      CP_EU868
00020 //      CP_KR920
00021 //      CP_AS923
00022 //      CP_AS923_JAPAN
00023 //      CP_IN865
00024 #if !defined(CHANNEL_PLAN)
00025 #define CHANNEL_PLAN CP_US915
00026 #endif
00027 
00028 #endif