DOT_Example_16_10_2018

Dependencies:   libmDot-mbed5 ISL29011

Committer:
nguyenhoang9x5555
Date:
Tue Oct 16 08:05:27 2018 +0000
Revision:
0:6a6c127cf398
DOT_EXample_16_10_2018

Who changed what in which revision?

UserRevisionLine numberNew contents of line
nguyenhoang9x5555 0:6a6c127cf398 1 Instructions for building Dot-Examples
nguyenhoang9x5555 0:6a6c127cf398 2
nguyenhoang9x5555 0:6a6c127cf398 3 1. Import dot-examples
nguyenhoang9x5555 0:6a6c127cf398 4 $ mbed import http://os.mbed.com/teams/MultiTech/code/Dot-Examples/
nguyenhoang9x5555 0:6a6c127cf398 5
nguyenhoang9x5555 0:6a6c127cf398 6 2. cd to the Dot-Examples/examples and import the dot library stack
nguyenhoang9x5555 0:6a6c127cf398 7 Choose either the stable or dev library for your dot device
nguyenhoang9x5555 0:6a6c127cf398 8 e.g. to get the latest development library for the xDot
nguyenhoang9x5555 0:6a6c127cf398 9 $ mbed add http://os.mbed.com/teams/MultiTech/code/libxDot-dev-mbed5/
nguyenhoang9x5555 0:6a6c127cf398 10
nguyenhoang9x5555 0:6a6c127cf398 11 3. Update mbed-os revision to match that of the dot library you just imported.
nguyenhoang9x5555 0:6a6c127cf398 12 This information can be found in the library's commit history.
nguyenhoang9x5555 0:6a6c127cf398 13 e.g.
nguyenhoang9x5555 0:6a6c127cf398 14 $ cd Dot-Examples/mbed-os
nguyenhoang9x5555 0:6a6c127cf398 15 $ mbed update mbed-os-5.7.6
nguyenhoang9x5555 0:6a6c127cf398 16
nguyenhoang9x5555 0:6a6c127cf398 17 4. Modify the Dot-Examples/examples/example_config.h to select the channel plan and which example to build
nguyenhoang9x5555 0:6a6c127cf398 18 By default, the OTA example is selected to build with the US channel plan
nguyenhoang9x5555 0:6a6c127cf398 19
nguyenhoang9x5555 0:6a6c127cf398 20 5. Once the example is selected, modify the example source file to match the configuration of your gateway.
nguyenhoang9x5555 0:6a6c127cf398 21 Make sure the network_name, network_passphrase, frequency_sub_band (US), public_network, and join_delay settings match that of your gateway
nguyenhoang9x5555 0:6a6c127cf398 22