Simple driver for GNSS functions on BG96 module.
Dependents: mbed-os-example-cellular-gps-bg96
Note: this is early version
BG96 module needs to be already running to use this. Configuration only inside of this class. (hardcoded values)
Diff: BG96_GNSS.cpp
- Revision:
- 4:8c7cf672e009
- Parent:
- 3:98d27fc2eed5
diff -r 98d27fc2eed5 -r 8c7cf672e009 BG96_GNSS.cpp --- a/BG96_GNSS.cpp Tue Nov 10 09:06:10 2020 +0100 +++ b/BG96_GNSS.cpp Tue Nov 10 14:45:23 2020 +0100 @@ -42,6 +42,7 @@ _bg96_at_handler->resp_start(); if (_read_gps(data) == FAILURE) { printf("[GPS] Error while trying to read GPS data.\r\n"); + printf("[GPS] Ensure that GPS antenna is plugged in.\r\n"); status = FAILURE; } _bg96_at_handler->resp_stop();