This repository has been archived by the owner on Nov 11, 2024. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 101
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
uGnssAdd() change only: rationalise transport type enum. (#673)
*** THIS CHANGE ONLY AFFECTS YOU IF YOUR APPLICATION CALLS uGnssAdd(), OTHERWISE IT CAN BE IGNORED *** The transport type enum used with uGnssAdd() is reduced to simply select UART, AT or I2C transport; the "UBX-only" version, in which NMEA messages will be filtered out, is deprecated and will, at some point in the future, be removed. If you call uGnssAdd() directly and you wish to filter out NMEA messages you may do so by calling uGnssCfgSetProtocolOut() after you have powered the GNSS chip up; this is already done *automatically* for you if you are using the uDevice API, depending on the state of the includeNmea flag in the uDeviceCfgGnss_t structure passed to uDeviceOpen(). In other words if you are opening a GNSS device by calling uDeviceOpen() this commit does not affect you. So, if you are calling uGnssAdd() directly, rather than using the uDevice API, your enum usage should change as follows: U_GNSS_TRANSPORT_NMEA_UART -> U_GNSS_TRANSPORT_UART U_GNSS_TRANSPORT_NMEA_I2C -> U_GNSS_TRANSPORT_I2C U_GNSS_TRANSPORT_UBX_AT -> U_GNSS_TRANSPORT_AT U_GNSS_TRANSPORT_UBX_UART -> U_GNSS_TRANSPORT_UART U_GNSS_TRANSPORT_UBX_I2C -> U_GNSS_TRANSPORT_I2C
- Loading branch information
Showing
19 changed files
with
186 additions
and
180 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.