/
Lab 26. Slave serial API

Lab 26. Slave serial API

Expected completion time of this lab: 10 min

.


The mote’s serial API is only active when it is in slave mode. If you try to connect the APIExplorer to a mote in master mode, you will see that it fails to connect.

  • Open the APIExplorer application.
  • Select:

    network typeSmartMesh IP
    device typemote
  • Click "load".
  • In the connection frame that appeared, enter the mote's API port. The APIExplorer now has connected to your SmartMesh IP Mote.
  • Similar to the SmartMesh IP Manager case, the "command" drop down menu contains the list of commands you can issue to your SmartMesh IP Mote over its serial port. The names of the commands are intuitive.
  • What command allows you to get the MAC address of your mote?

    Answer 20.1:

     

  • Verify that this address is indeed what is printed on the label of your SmartMesh IP Mote.
  • What is the command to get the netid of your mote?

    Answer 20.2:

     

  • Verify that this netid is what you expect.

 

Related content

Lab 21. Exploring the serial API
Lab 21. Exploring the serial API
More like this
Lab 25. Switch to slave mode
Lab 25. Switch to slave mode
More like this
Lab 20. OAP pkgen
Lab 20. OAP pkgen
Read with this
APIExplorer
APIExplorer
More like this
Lab 24. A Building Monitoring Solution
Lab 24. A Building Monitoring Solution
Read with this
Lab 05. Serial Port Madness
Lab 05. Serial Port Madness
More like this