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

Reply
  • 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

Children
Related