When the Iridium service delivers a message an HTTP POST request to the MyComm server URL. As well as the message data other parameters such as device serial number and imei number are included. Also included is the approximate latitude and longitude of the device at the time it transmitted.
Request Body: {
"imei":"300234062910580”,"
device_type":"ROCKBLOCK”,
"serial":"8532”,
"momsn":"13”,
"transmit_time”:"20-08 11:00:47”,
"iridium_latitude":"55.9533”,
"iridium_longitude":"-3.1883”,
"iridium_cep":"3”,
"data”:”{Light Level: 6, Random Val: 48}”
}
Example POST data
This location data could be used to automatically track location of a remote sensor unit along with the sensor data, the MyComm device can be programmed to automatically send the sensor data say every hour or every day. We’ve used the POST data/location along with the Google Maps API to show a nice reporting page on the MyComm server:
Discussions
Become a Hackaday.io Member
Create an account to leave a comment. Already have an account? Log In.
Hi Sindre. Sorry for the delay in getting back to you. At the moment the server side is a Django app and I'm using sqlite3. I'm in the process of getting code, etc commented and added to github and hope to have a link up soon along with a log. Thanks!
Are you sure? yes | no
Hi! Do you store the data received from Rockblock using mysql database? Could you tell a little bit more about your setup on the server side...
Are you sure? yes | no