Important changes to repositories hosted on mbed.com
Mbed hosted mercurial repositories are deprecated and are due to be permanently deleted in July 2026.
To keep a copy of this software download the repository Zip archive or clone locally using Mercurial.
It is also possible to export all your personal repositories from the account settings page.
Dependencies: ISL29011
Dependents: Dot-Examples-delujoc
You are viewing an older revision! See the latest version
Homepage
Dot Library Not Included!
Because these example programs can be used for both mDot and xDot devices, the LoRa stack is not included. The libmDot library should be imported if building for mDot devices. The libxDot library should be imported if building for xDot devices.
Choosing An Example Program¶
This application contains multiple example programs. Only the active example is compiled. The active example can be updated by changing the ACTIVE_EXAMPLE definition in the examples/example_config.h file.
By default the OTA_EXAMPLE will be compiled.
example_config.h
#ifndef __EXAMPLE__CONFIG_H__ #define __EXAMPLE__CONFIG_H__ #define OTA_EXAMPLE 1 // see ota_example.cpp #define AUTO_OTA_EXAMPLE 2 // see auto_ota_example.cpp #define MANUAL_EXAMPLE 3 // see manual_example.cpp #define PEER_TO_PEER_EXAMPLE 4 // see peer_to_peer_example.cpp #define CLASS_C_EXAMPLE 5 // see class_c_example.cpp // the active example is the one that will be compiled #define ACTIVE_EXAMPLE OTA_EXAMPLE #endif
Compile the AUTO_OTA_EXAMPLE instead.
example_config.h
#ifndef __EXAMPLE__CONFIG_H__ #define __EXAMPLE__CONFIG_H__ #define OTA_EXAMPLE 1 // see ota_example.cpp #define AUTO_OTA_EXAMPLE 2 // see auto_ota_example.cpp #define MANUAL_EXAMPLE 3 // see manual_example.cpp #define PEER_TO_PEER_EXAMPLE 4 // see peer_to_peer_example.cpp #define CLASS_C_EXAMPLE 5 // see class_c_example.cpp // the active example is the one that will be compiled #define ACTIVE_EXAMPLE AUTO_OTA_EXAMPLE #endif
Dot Libraries¶
Stable and development libraries are available for both mDot and xDot platforms.
mDot Library¶
Development library for mDot.
[Repository '/teams/MultiTech/code/libmDot-dev-mbed5/' not found]
Stable library for mDot.
Import librarylibmDot-mbed5
Stable version of the mDot library for mbed 5. This version of the library is suitable for deployment scenarios. See lastest commit message for version of mbed-os library that has been tested against.
xDot Library¶
Development library for xDot.
[Repository '/teams/MultiTech/code/libxDot-dev-mbed5/' not found]
Stable library for xDot.
Import librarylibxDot-mbed5
Stable version of the xDot library for mbed 5. This version of the library is suitable for deployment scenarios.
