Location and GPS
Create a Database Field
We need to create a Database Field that stores the Location on your Datacake Device. Add a new field an select the Type "Geo Location":
Decode Location Data
In order to be able to record location data into a field on your Datacake device, you need to format the location data according to the format required by Datacake.
In the following example, we assume that your device is forwarding the location as two separate measurement values - latitude and longitude.
Datacake requires Location to be send as a joined data package.
In a complete example, this will look like the following:
Note: The above example how to parse the bytes into Latitude and Longitude is taken from the Dragino LGT92 LoRaWAN Tracker.
Last updated