Skip to main content

Using GPS with AirNgin

GPS is one of the most common capabilities in IoT products. AirNgin can display a device's location and combine it with the normal control model of the device.

This feature is intended for producers whose devices contain GPS. After the end user authorizes access to the device, you can display the device location—for example, a vehicle—on the map.

You can also expose control commands such as turning a vehicle on or off, locking or unlocking doors, or other product-specific actions.

GPS communication model

GPS does not require a dedicated MQTT topic. Location and control operations use the same standard Direct Device model as other operations:

  • Send location/state from the device to the server through DeviceToServer.
  • Receive commands from the server through ServerToDevice/{deviceSerial}.

Define GPS coordinates and related controls as normal operationName/command metadata in the panel. For the standard direct command format, see Direct command exchange.