Skip to content

Commit

Permalink
doc: Uplink message location metadata fields
Browse files Browse the repository at this point in the history
  • Loading branch information
neoaggelos committed Oct 8, 2020
1 parent 41a7e28 commit 4b5979f
Showing 1 changed file with 16 additions and 0 deletions.
16 changes: 16 additions & 0 deletions doc/content/integrations/data-formats/_index.md
Original file line number Diff line number Diff line change
Expand Up @@ -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.
}
Expand Down Expand Up @@ -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"
}
}
Expand Down

0 comments on commit 4b5979f

Please sign in to comment.