This application was added in SMSDK 1.0.5. It requires that the 04-synctemp application from the On-Chip SDK be installed on at least one mote in the network. |
SyncTemp is a command-line (non graphical) tool that allows you to record the synchronous temperature measurements from motes running the the 04-synctemp OCSDK application.
It connects to:
You can run the SyncTemp application:
/win/SyncTemp.exe
/src/
bin/RawSerial/SyncTemp.py
(may require additional steps on non-windows OSes)SyncTemp takes a configuration file "configuration_DO_NOT_DELETE.txt" with two parameters:
It will connect to the manager, periodically broadcast the reporting period to the network (here changed to 30 s), and print a line for each temperature measurement received:
SyncTemp application - SmartMeshSDK 1.0.5.138 configuration used: - connection_details: COM11 - reporting_period: 30 2015-12-07 12:07:34.248,start_app,, 2015-12-07 12:07:35.783,connected,, configuration broadcast 2015-12-07 12:07:41.175,temperature,00-17-0d-00-00-38-0c-ae,25.40 2015-12-07 12:07:51.173,temperature,00-17-0d-00-00-38-0c-ae,25.20 2015-12-07 12:08:21.173,temperature,00-17-0d-00-00-38-0c-ae,25.20 2015-12-07 12:08:51.174,temperature,00-17-0d-00-00-38-0c-ae,25.40 2015-12-07 12:09:21.167,temperature,00-17-0d-00-00-38-0c-ae,25.61 2015-12-07 12:09:51.167,temperature,00-17-0d-00-00-38-0c-ae,25.40 2015-12-07 12:10:21.168,temperature,00-17-0d-00-00-38-0c-ae,25.40 2015-12-07 12:10:51.168,temperature,00-17-0d-00-00-38-0c-ae,25.40 |
SyncTemp also generates a log file in comma separated format "temperaturelog.csv" containing the timestamped reports from the motes.