Update Device Location
Reportar la ubicación geográfica de un dispositivo
La actualización de la ubicación del dispositivo por MQTT uses the following structure:
{
"accessToken": "xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx",
"deviceID": 1,
"latitude": 40.4052,
"longitude": -3.87699,
"mqttMethod": "UpdateDeviceGeolocation",
"mqttRID": "tkrs34"
}Parameters
| Name | Description | Data Type |
|---|---|---|
| accessToken | Access token with permissions to update endpoint information. See this page for more information. | text |
| deviceID | Unique device identifier or device address in format [deviceAddress] (e.g.: [device-1234]). These values can be found on the device management page. | number |
| latitude | Indica la latitud de la ubicación actual del dispositivo. | number |
| longitude | Indica la longitud de la ubicación actual del dispositivo. | number |
| mqttMethod | Método correspondiente del servicio, en este caso UpdateDeviceGeolocation. | text |
| mqttRID | Identificador opcional para la petición, en caso de que se desee obtener una respuesta de confirmación. | text |
Update RSSI Status and Battery Level
Reportar el estado de RRSI y/o nivel de batería de un dispositivo Este método no almacena un histórico del estado, solamente toma el último reportado y lo...
HTTP
Introduction This section describes integration with the Gear Studio platform using HTTP. This functionality is designed to allow integration with devices from a variety of manufacturers, as well as custom-built devices with Arduino, nodeMCU, Raspberry Pi, and any other platform that supports HTTP communication.