_inc_triangle2manager

The Triangle2manager sample application interacts with a SmartMesh IP mote. It drives the mote through the process of joining the network, and then periodically sends a 2-byte value (a triangle wave) to the SmartMesh IP manager.

The SmartMesh IP mote you connect to needs to operate in "slave" mode.

To see the data received by the SmartMesh IP manager, use the SmartMesh SDK SensorDataReceiver sample application:

  1. Connect your SmartMesh IP manager to your computer.
  2. On the computer, start the SensorDataReceiver sample application from the SmartMesh SDK, and connect that to the SmartMesh IP manager.
  3. Load the Triangle2manager.ino sketch onto your board.
  4. Reset the SmartMesh IP mote and open the Serial Monitor.
  5. On the monitor, you can follow how your SmartMesh IP mote joins the network.
  6. After the mote has joined, the slider on the SensorDataReceiver application is set to the value the mote periodically sends.
  7. The state machine implemented in the Triangle2manager.ino sketch gracefully handles the resets.