Changes between Version 43 and Version 44 of expansion/gw16122
- Timestamp:
- 08/31/2018 08:04:23 PM (6 years ago)
Legend:
- Unmodified
- Added
- Removed
- Modified
-
expansion/gw16122
v43 v44 376 376 ==== Serial Command API ==== 377 377 378 '''Important''' Note: Using this API will not work on the default !CoProcessor firmware flashed onto the GW16122. This requires the rfEasyLinkNp firmware example as provided in the TI SDK Download378 '''Important''' Note: Using this API will not work on the default !CoProcessor firmware flashed onto the GW16122. This requires the '''rfEasyLinkNp''' firmware example as provided in the TI SDK Download (one must compile the binary in Code Composer Studio and flash it to the GW16122) 379 379 380 380 The serial command API for the CC1350 is implemented in the form of standard AT+ commands that correlate to !EasyLink API functions. This serial control method there has an example project provided by the TI resource center. The web page can be found [http://dev.ti.com/tirex/#/?link=Software%2FSimpleLink%20CC13x0%20SDK%2FSimpleLink%20Academy%2FLabs%2FProprietary%20RF%2FEasyLink%20Network%20Processor%20example&collapsetree= here]. 381 381 382 382 You can easily test the AT to Easylink api commands by using two GW16122/SensorTag devices running the {{{rfEasyLinkNp}}} and the {{{rfEasyLinkRx}}} examples. 383 384 Typically, one would open the console port using the screen command in Linux like so: 385 {{{ 386 screen /dev/ttyACM0 115200,cs8 387 }}} 388 389 Once the console is opened, type AT commands (followed by the enter key to submit the command), example (with responses) shown below: 390 {{{ 391 AT+I x 392 OK 393 394 ATPST? 395 00000000OK 396 397 ATPFR? 398 868000000OK 399 400 AT+rs 401 Reset:EasyLink-v2.30.00 402 }}} 383 403 384 404