Configuração do ClienteDispositivos e EndpointsDispositivosIntegração de DispositivosMQTTBridge HTTP
Update Device Location
Reporting a Device's Geographic Location
Updating a device's location over 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 | Latitude of the device's current location. | number |
| longitude | Longitude of the device's current location. | number |
| mqttMethod | Service method to call, in this case UpdateDeviceGeolocation. | text |
| mqttRID | Optional request identifier, used to get a confirmation response. | text |
Última atualização em
Update RSSI Status and Battery Level
How to report a device's RSSI and battery level over MQTT with the HTTP bridge. The platform keeps only the latest value, with no history.
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.