Hello all,
which is the correct decoder payload format to use ttnmapper integration?
I actually use
decoded.latitude=Math.round(lat * 1000000) / 1000000;
decoded.longitude=Math.round(lng * 1000000) / 1000000;
decoded.altitude=alt;
decoded.hdop=hdop;
but seem don’t work.
The documentation say that it must be on json, i tried
decoded.ttnmapper = { “latitude” : lat ,
“longitude” : lng,
“alttitude” : alt,
“hdop” : hdop };
with the correct data in the variable but seem don’t work also.
Please could someone post the correct decoder?
Thanks.
Alberto