SensorDataReceiver

Introduction

The SensorDataReceiver application connects to the SmartMesh IP Manager and displays data sent by the Upstream application connected to the SmartMesh IP Mote.

It connects to:

  •  The SmartMesh IP Manager
  •  (Over the air) The SmartMesh IP Mote running in slave mode.

Running

You can run this application:

  • by double-clicking on the Windows executable at /win/SensorDataReceiver.exe
  • by double-clicking on its source files at /src/bin/SensorDataReceiver/SensorDataReceiver.py

Description

The SensorDataReceiver application consists of two frames:
  • the manager connection frame allows you to connect to the SmartMesh IP Manager.
  • the received sensor data displays the data received from an Upstream application connected to a SmartMesh IP Mote.

 

Internally, the application subscribes to data notifications from the SmartMesh IP Manager. When it receives such a notification, it sets the two first bytes on the slider and displays information about the packet.

 

fielddescription
source MACThe MAC address of the mote sending the data.
source portSource UDP port number, i.e. port number associated with the socket on the SmartMesh IP Mote through which the data was sent.
destination portUDP port number on the SmartMesh IP Manager on which the data was received.
timestamp generatedNetwork timestamp, in seconds, at which the data was generated by the SmartMesh IP Mote.
timestamp receivedComputer timestamp at which the data was received at the SmartMesh IP Manager.

You will only see data in this application if you are also using the Upstream application connected to a mote.