hello,
i have tried to use the TTN Mapper, but without success.
-
my node sends gps payload
-
i created a simple decoder
-
i added the ttn mapper integration
-> maybe something is missing
thank you.
hello,
i have tried to use the TTN Mapper, but without success.
my node sends gps payload
i created a simple decoder
i added the ttn mapper integration
-> maybe something is missing
thank you.
my decoder:
Have you searched for your node in the “advanced maps” on ttnmapper? And keep in mind data might take a while to show up.
yes, i searched in the “advanced maps” on ttnmapper,
can i use SIMULATE UPLINK in the console for test and debugging ?
What would be the downside of trying it?
now i found the reason why the location was not shown on the TTN Mapper,
if accuracy > 10 then the location is not shown on the map.
// — Decoder #2 —
function Decoder(bytes, port) {
var lat = (bytes[0] * 65536 + bytes[1] * 256 + bytes[2]) / 10000 - 90;
var lon = (bytes[3] * 65536 + bytes[4] * 256 + bytes[5]) / 10000 - 180;
var alt = bytes[6] * 256 + bytes[7];
var acc = bytes[8] / 10; // var acc max. 10
return {
latitude: lat,
longitude: lon,
altitude: alt,
accuracy: acc
};
}
with the SIMULATE UPLINK i can test the decoder,
but the data are not shown on the TTN Mapper,
it was necessary to use real hardware (RN2483) for testing and debugging.