From 4b5979fae50ec5368e959ddb2746e83504be58d5 Mon Sep 17 00:00:00 2001 From: Aggelos Kolaitis Date: Fri, 9 Oct 2020 02:35:04 +0300 Subject: [PATCH] doc: Uplink message location metadata fields --- doc/content/integrations/data-formats/_index.md | 16 ++++++++++++++++ 1 file changed, 16 insertions(+) diff --git a/doc/content/integrations/data-formats/_index.md b/doc/content/integrations/data-formats/_index.md index fe0fcaae59..352efa7527 100644 --- a/doc/content/integrations/data-formats/_index.md +++ b/doc/content/integrations/data-formats/_index.md @@ -119,6 +119,14 @@ The JSON uplink messages use the following format: }, "received_at": "2020-02-12T15:15..." // ISO 8601 UTC timestamp at which the uplink has been received by the Network Server "consumed_airtime": "0.056576s", // Time-on-air, calculated by the Network Server using payload size and transmission settings + "locations": { // End device location metadata + "user": { + "latitude": 37.97155556731436, // Location latitude + "longitude": 23.72678801175413, // Location longitude + "altitude": 10, // Location altitude + "source": "SOURCE_REGISTRY" // Location source. SOURCE_REGISTRY is the location from the Identity Server. + } + } } "simulated": true, // Signals if the message is coming from the Network Server or is simulated. } @@ -180,6 +188,14 @@ The JSON uplink messages use the following format: "time" : "2020-02-12T15:15:45.787Z" }, "consumed_airtime": "0.056576s", + "locations": { + "user": { + "latitude": 37.97155556731436, + "longitude": 23.72678801175413, + "altitude": 10, + "source": "SOURCE_REGISTRY" + } + }, "received_at" : "2020-02-12T15:15:45.789585559Z" } }