Get GPS sentence through UART (Zephyr)

Hi,

I would like to know if there are sample programs for getting GPS sentences through UART using Zephyr. I am using Fanstel (BT840X) board. I would also like to know the configurations that needs to be set so that I can get the GPS sentences through UART. 

Thank you!

Parents
  • Hello Oli,

    Oli said:
    I just need to follow up on what you said that Zephyr does not support the Fanstel? Maybe I missed something. 

    Ok, so I assume that you have added the board to Zephyr by yourself, then?


    Oli said:

    For the poll function, I think the program that I have used does not clear the buffer that is why the "," is still read even though the return value is -1. 

    I have another question though, can the polling function recognize a space? or when it sees a blank space it terminates the polling? 

    Space is converted to an ASCII string, like any other char value. However, ‘\0’ can be used as terminator.

    Regards,

    Markus

  • Hi Markus,

    Yes. I have tried adding the board on Zephyr, I then used the UART Polling API and got some data through the UART. But what you said earlier was that the Fanstel board (BT840X) was not supported by Zephyr and that I needed another board like the 9160 to get the GPS sentences. What I got from what you said was that I can't use the Fanstel board BT840X with Zephyr, but it worked.

    Thanks and best regards,

    Oli

Reply Children
No Data
Related