-149-
v6.3
Interacting with Waspmote
Note:
When you buy a Waspmote Developer kit with Meshlium and with the XBee ZB as ZigBee radio both the Waspmote GW and
Meshlium come configured as Coordinator of the network. Take into account that only one of them can be working at the same time.
Note:
If the encryption check fails but the rest of parameters are OK, it means the radio has an old version of the firmware but it is
working perfectly.
•
Capturing and storing sensor data
As said before, in a kit containing Waspmotes, Gateway and Meshlium, the Waspmotes come already configured to send frames
to the Gateway. Later, once the user has developed the code for transmitting to Gateway, he can switch to Meshlium.
Meshlium will receive the sensor data sent by Waspmote using the wireless radio and it will store the frames in the Local Data
Base. That can be done in an automatic way thanks to the
Sensor Parser
.
The
Sensor Parser
is a software system which is able to do the following tasks in an easy and transparent way:
•
receive frames from XBee and LoRa (with the Data Frame format)
•
receive frames from 3G/GPRS, WiFi and Ethernet via HTTP protocol (Manager System version 3.1.4 and above)
•
parse these frames
•
store the data in local Database
•
synchronize the local Database with an external Database
Besides, the user can add his own sensors.
The initial frames sent by Waspmote contain the next sequence (API frame characters are removed here):
<=>\0x80\0x03#35689722##7#ACC:80;10;987#IN_TEMP:22.50#BAT:93#
They are formed by the accelerometer values, RTC internal temperature value, and battery level. The MAC address is added and
other helpful information.
In order to add your own sensor frames properly go to the section “Sensors”. All frames captured will be able to stored on Local
Database, however the frame has not been defined is stored in the database. See the picture below in order to see different
frames types and how they are saved in the database.
Figure: Different frames types
In order to work with new sensor information added to the frames go to the “Capturing and Storing new sensor data frames”
chapter.
If you change any of the parameters in Waspmote or Meshlium you will have to do it in both platforms so that they still can
communicate.
Содержание Waspmote
Страница 1: ...Waspmote Technical Guide ...
Страница 11: ... 11 v6 3 Waspmote Kit Connect the battery in Waspmote Connect the sensor board Switch it on ...
Страница 59: ... 59 v6 3 Sensors Vibration Acceleration Free fall ...
Страница 79: ... 79 v6 3 LoRa Figure Channel frequencies in the 868MHz band Figure Channel frequencies in the 900MHz band ...
Страница 98: ... 98 v6 3 RFID NFC ...