mycontroller-org / mycontroller-v1-legacy

The Open Source Controller
http://www.MyController.org
Apache License 2.0
148 stars 90 forks source link

GPS Sensor values not formatted correctly. #509

Open jkandasa opened 4 years ago

jkandasa commented 4 years ago

Source: https://forum.mycontroller.org/topic/143/no-position-or-time-from-mysensors-gps-sensor/7

I ran into the same issue. the format is correct and the serial gateway receives and acknowledge correctly:

130199 TSF:MSG:SEND,12-12-0-0,s=1,c=1,t=49,pt=0,l=23,sg=1,ft=0,st=OK:xx.229702;xx.345557;502
130223 TSF:MSG:READ,0-0-12,s=1,c=1,t=49,pt=0,l=23,sg=0:xx.229702;xx.345557;502

I have edited the real location on purpose, but I guarantee that they are correct.


I have some additional information.

I added a S_INFO child to the GPS sensor and sent the position as text. MyController gets confused again. I suspected that the semicolon ; can generate confusion in the parser, so in the text information I changed the semicolon ; with a pipe | separator and the text is reported correctly.

image

image