Missing hdop parameter

Issue:Missing hdop parameter on payload

Setup: Firmware, OTAA


===============Device Status List================
Board Core: S76G_B
LoRa chip: SX1276

Battery Voltage = 3.667 V
Support Gps:true
gps_timeout: 100s
gps_format:GPS take six decimal places

Missing HDOP parameter on payload data report.
Please help on how I can get it.

This is a normal log!I didn’t see your data include the wrong log.image

Thanks Nicholas,
I thing my question was not clear. What I mean is that I have configured the RAK7200 to send data to TTN and there I’m using the decoder script that the RAKwireless web page setting documentation suggest. Decoded data only show latitude, longitude and altitude but not hdop parameter. I’m trying to track the RAK7200 on the TNN mapper and use data to show gateway coverage.

Can i understand your meaning that there no other data other than GPS from TTN? l think it is the parsing script. l found you used GPS take six decimal places.

I have already put the script that TNN mapper suggests, and now the one that you suggest me too. They both make the GPS data available, but I understand that the one you send builds the object that TNN mapper expects, however I understand that the “hdpo” parameter is still missing … Check this out on the TNN mapper page:

Make sure you have a Payload decoder function enabled on the TTN Console that decodes the raw payload into a json object. The JSON object should contain the keys " latitude ", " longitude " and " altitude " and one of " hdop ", “accuracy” or “sats”. When using the Cayenne LPP data format, the GPS coordinates will be decoded into a different JSON format, but this format is also supported. Cayenne LPP does not contain a GPS accuracy, and therefore this data will be considered as inferior and will carry less weight in calculation of coverage, and will be deleted first during data cleanup.

This is a copy of the decoded data using the script you suggested me:
“DecodeDataHex”: “018800de83c3fa9a4e58000245ae0802017c”,
“DecodeDataObj”: {
“battery”: “3.80V”,
“gps”: {
“altitude”: “1489.1m”,
“latitude”: “14.582723°”,
“longitude”: “-90.550696°”

@fboesche - the 7200 does not transmit the hdop value - if you look at https://doc.rakwireless.com/rak7200-lora-tracker/analyzing-the-data-from-rak7200 you will see that it is using the Cayenne encoding format which doesn’t have explicit support for any GPS parameters other than latitude, longitude & altitude.

If someone can provide the source to the 7200, it should be possible to alter it to transmit data in a suitable format including hdop & fixes.

That said, rather than using Cayenne forma, you could use the 7200 coupled to the mobile app (Android or iOS). TTNMapper will pickup RSSI & SNR from the gateway meta data and the GPS data it needs via the app.

Nick, thank you very much for your comment.
It happens that I bought the RAK7200 for that purpose, but I admit that I did not take the time to investigate a little more about it before buying.
I will look for an application or a different way to take advantage of the RAK7200, which by the way I can see that the GPS that it has integrated is not as sensitive as I expected.
For my purpose of recording gataway coverage, I will continue to use my prototype based on a SparkFun SAMD21 board and the Android app. Thank you very much to all.

1 Like

You’re using that frequency band?I can use AS923 to get the data content, Can you give me the node log and TTN received data content?

@Nicholas, the 7200 does not give the hdop (horizontal dilution of precision) or number of satellites the GPS has a fix on that TTN Mapper needs - this is not a deficiency in the 7200 but unless you choose to change the firmware, there’s nothing more to do.

oh!Very sorry!I misread your meaning!RAK7200 can only read GPS, Acceleration, Gyroscope, Magnetometer and so on.This may not be what you need!

Many thanks! Maybe I can use it sending GPS data to an app runing Google maps.

will this hdop parameter be added to the firmware in the future? thanks

This has been discussed in previous posts if you want to search for answers, but it seems unlikely.

If you need it for TTN Mapper, it will still work.

well, I made the preparations for the TTN Mapper on iOS

but the problems … are varied

https://github.com/RAKWireless/RUI_LoRa_node_payload_decoder won’t work by default, you need to Javascript massage the JSON like other thread here is showing (by removing the trailing char from lat/long/altitude)

Then the iOS app has bugs, it doesn’t show me anything, I have to toggle its radio buttons several times to make them “work” somehow, but my tracing is still not there and all counters are 0. But its connected: Production

Despite the fact that https://ttnmapper.org/advanced-maps/ shows some, maybe all of my data

So yeah.

Not quite working when you have to fiddle with all combinations of the vars above :frowning: