This class provides an API to communicate with a u-blox GNSS chip. The files here were originally part of the C027_Support library (https://developer.mbed.org/teams/ublox/code/C027_Support/ at revision 138:dafbbf31bf76) but have been separated out, primarily for use on the u-blox C030 board where the cellular interace portion of the C027_Support library will instead be provided through the new mbed Cellular API.
Dependents: example-ublox-at-cellular-interface-ext example-low-power-sleep example-C030-out-of-box-demo example-C030-out-of-box-demo ... more
Diff: gnss_operations.cpp
- Revision:
- 14:4b22bd505b93
- Parent:
- 12:a04f7eeece23
- Child:
- 16:cb9861f0f4d8
--- a/gnss_operations.cpp Fri Jun 08 11:18:19 2018 +0500 +++ b/gnss_operations.cpp Wed Jun 13 16:59:19 2018 +0500 @@ -405,3 +405,13 @@ return (length >= (int)(sizeof(hot_start) + UBX_FRAME_SIZE)) ? 1 : 0; } + +void GnssOperations::send_to_gnss(char rChar) +{ + GnssSerial::putc(rChar); +} + +void GnssOperations::power_on_gnss() +{ + GnssSerial::_powerOn(); +}