SRK Version of mDot LoRa_Sensormode_SRK
Dependencies: libmDot mbed-rtos mbed
Fork of mDot_LoRa_Sensornode by
UBloxGPSMessage Class Reference
A Container that can hold acquired gps values from the uBLOX. More...
#include <UBloxGPSMessage.h>
Inherits SensorMessage.
Public Member Functions | |
void | setLongitude (float longitude) |
Sets the longitude value of the uBloxGPSMessage. | |
void | setLatitude (float latitude) |
Sets the latitude value of the uBloxGPSMessage. | |
float | getLongitude () |
Gets the longitude value of the uBloxGPSMessage. | |
float | getLatitude () |
Gets the latitude value of the uBloxGPSMessage. | |
virtual char * | getLoRaMessageString () |
Gets a small LoRaMessage Type Formated String from the uBloxGPSMessage. |
Detailed Description
A Container that can hold acquired gps values from the uBLOX.
The container will be transported via a MessageQueue between different Tasks.
Definition at line 23 of file UBloxGPSMessage.h.
Member Function Documentation
float getLatitude | ( | ) |
Gets the latitude value of the uBloxGPSMessage.
- Returns:
Definition at line 37 of file UBloxGPSMessage.cpp.
float getLongitude | ( | ) |
Gets the longitude value of the uBloxGPSMessage.
- Returns:
Definition at line 33 of file UBloxGPSMessage.cpp.
char * getLoRaMessageString | ( | ) | [virtual] |
Gets a small LoRaMessage Type Formated String from the uBloxGPSMessage.
This String can later be used for transportation via LoRa
- Returns:
Reimplemented from SensorMessage.
Definition at line 41 of file UBloxGPSMessage.cpp.
void setLatitude | ( | float | latitude ) |
Sets the latitude value of the uBloxGPSMessage.
- Parameters:
-
latitude latitude value to be stored
Definition at line 29 of file UBloxGPSMessage.cpp.
void setLongitude | ( | float | longitude ) |
Sets the longitude value of the uBloxGPSMessage.
- Parameters:
-
longitude longitude value to be stored
Definition at line 25 of file UBloxGPSMessage.cpp.
Generated on Wed Jul 13 2022 09:23:48 by 1.7.2