Skip to content

GPS Sensor values not formatted correctly. #509

Open
@jkandasa

Description

@jkandasa

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

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions