dszds

Committer:
zinnetyazicii53
Date:
Sun Jul 28 08:14:38 2019 +0000
Revision:
0:83277b73a1f8
commit

Who changed what in which revision?

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