u-blox / ubxlib

Portable C libraries which provide APIs to build applications with u-blox products and services. Delivered as add-on to existing microcontroller and RTOS SDKs.
Apache License 2.0
303 stars 92 forks source link

support UART connection from PC application #181

Closed sbans-ff closed 9 months ago

sbans-ff commented 9 months ago

I am trying to use this library to test my UBLOX GNSS device from a PC. I noticed that there does not seem to be a way to configure uDeviceCfg_t to interface with a ublox device using UART from a PC (i.e. you need to specify a tx and rx pin). Am I missing something or is it not supported?

RobMeades commented 9 months ago

Hi there: the pins are ignored when running on Windows, except that setting pinCts or pinRts to a non-negative value will enable flow control. Just set the UART number to be whatever COM port number you are using.

sbans-ff commented 9 months ago

Will give that a shot. Thank you!