Thanh Nguyen
/
Box_Alarm_STD_mbed_cli
khang 230620
README@26:8bdfb39a5743, 2018-03-14 (annotated)
- Committer:
- Evan Hosseini
- Date:
- Wed Mar 14 16:11:07 2018 -0500
- Revision:
- 26:8bdfb39a5743
- Parent:
- 25:56f7775c702f
- Child:
- 27:e0a958990785
README updates
Who changed what in which revision?
User | Revision | Line number | New contents of line |
---|---|---|---|
Evan Hosseini |
25:56f7775c702f | 1 | Instructions for building Dot-Examples |
Evan Hosseini |
25:56f7775c702f | 2 | |
Evan Hosseini |
25:56f7775c702f | 3 | 1. Import dot-examples |
Evan Hosseini |
25:56f7775c702f | 4 | $ mbed import http://os.mbed.com/teams/MultiTech/code/Dot-Examples/ |
Evan Hosseini |
25:56f7775c702f | 5 | |
Evan Hosseini |
25:56f7775c702f | 6 | 2. cd to the Dot-Examples/examples and import the dot library stack |
Evan Hosseini |
25:56f7775c702f | 7 | Choose either the stable or dev library for your dot device |
Evan Hosseini |
25:56f7775c702f | 8 | e.g. to get the latest development library for the xDot |
Evan Hosseini |
25:56f7775c702f | 9 | $ mbed add http://os.mbed.com/teams/MultiTech/code/libxDot-dev-mbed5/ |
Evan Hosseini |
25:56f7775c702f | 10 | |
Evan Hosseini |
25:56f7775c702f | 11 | 3. Update mbed-os revision to match that of the dot library you just imported. |
Evan Hosseini |
25:56f7775c702f | 12 | This information can be found in the library's commit history. |
Evan Hosseini |
25:56f7775c702f | 13 | e.g. |
Evan Hosseini |
25:56f7775c702f | 14 | $ cd Dot-Examples/examples/mbed-os |
Evan Hosseini |
25:56f7775c702f | 15 | $ mbed update mbed-os-5.7.6 |
Evan Hosseini |
25:56f7775c702f | 16 | |
Evan Hosseini |
26:8bdfb39a5743 | 17 | 4. Modify the Dot-Examples/examples/example_config.h to select the channel plan and which example to build |
Evan Hosseini |
26:8bdfb39a5743 | 18 | By default, the OTA example is selected to build with the US channel plan |
Evan Hosseini |
25:56f7775c702f | 19 | |
Evan Hosseini |
25:56f7775c702f | 20 | 5. Once the example is selected, modify the example source file to match the configuration of your gateway. |
Evan Hosseini |
25:56f7775c702f | 21 | Make sure the network_name, network_passphrase, frequency_sub_band (US), public_network, and join_delay settings match that of your gateway |
Evan Hosseini |
25:56f7775c702f | 22 |