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

Dependencies:   ISL29011

Dependents:   Dot-Examples-delujoc

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 #define CLASS_B_EXAMPLE          6  // see class_b_example.cpp
00010 #define FOTA_EXAMPLE             7  // see fota_example.cpp
00011 
00012 // the active example is the one that will be compiled
00013 #if !defined(ACTIVE_EXAMPLE)
00014 #define ACTIVE_EXAMPLE  OTA_EXAMPLE
00015 #endif
00016 
00017 // the active channel plan is the one that will be compiled
00018 // options are :
00019 //      CP_US915
00020 //      CP_AU915
00021 //      CP_EU868
00022 //      CP_KR920
00023 //      CP_AS923
00024 //      CP_AS923_2
00025 //      CP_AS923_3
00026 //      CP_AS923_JAPAN
00027 //      CP_AS923_JAPAN1
00028 //      CP_AS923_JAPAN2
00029 //      CP_IN865
00030 //      CP_RU864
00031 
00032 #if !defined(CHANNEL_PLAN)
00033 #define CHANNEL_PLAN CP_US915
00034 #endif
00035 
00036 #endif