Thanh Nguyen
/
Box_Alarm_STD_mbed_cli
khang 230620
README@42:8b15fc99ac46, 2020-06-23 (annotated)
- Committer:
- hnript
- Date:
- Tue Jun 23 15:50:16 2020 +0000
- Revision:
- 42:8b15fc99ac46
- Parent:
- 27:e0a958990785
ok 230620
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 |
27:e0a958990785 | 14 | $ cd Dot-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 |