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)

Files at this revision

API Documentation at this revision

Comitter:
Sandra Schmidt
Date:
Tue Nov 10 14:45:23 2020 +0100
Parent:
3:98d27fc2eed5
Commit message:
Add information about possible error source

Changed in this revision

BG96_GNSS.cpp Show annotated file Show diff for this revision Revisions of this file
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();