Changes between Version 43 and Version 44 of expansion/gw16122


Ignore:
Timestamp:
08/31/2018 08:04:23 PM (18 months ago)
Author:
Ryan Erbstoesser
Comment:

update AT examples

Legend:

Unmodified
Added
Removed
Modified
  • expansion/gw16122

    v43 v44  
    376376==== Serial Command API ====
    377377
    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 Download
     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 Download (one must compile the binary in Code Composer Studio and flash it to the GW16122)
    379379
    380380The 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].
    381381
    382382You can easily test the AT to Easylink api commands by using two GW16122/SensorTag devices running the {{{rfEasyLinkNp}}} and the {{{rfEasyLinkRx}}} examples.
     383
     384Typically, one would open the console port using the screen command in Linux like so:
     385{{{
     386screen /dev/ttyACM0 115200,cs8
     387}}}
     388
     389Once the console is opened, type AT commands (followed by the enter key to submit the command), example (with responses) shown below:
     390{{{
     391AT+I x
     392OK
     393
     394ATPST?
     39500000000OK
     396
     397ATPFR?
     398868000000OK
     399
     400AT+rs     
     401Reset:EasyLink-v2.30.00
     402}}}
    383403
    384404