A multifunctional and modular Firmware for Multitech's mDot based on ARM mBed provides a widerange of functionality for several Sensors such as MAX44009, BME280, MPU9250, SI1143 and uBlox. It allows you to quickly build a Sensornode that measures specific data with its sensors and sends it via LoRaWAN.

Dependencies:   mDot_LoRa_Sensornode_Flowmeter_impl mbed-rtos mbed

Embed: (wiki syntax)

« Back to documentation index

UBloxGPSMessage Class Reference

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:
latitudelatitude value to be stored

Definition at line 29 of file UBloxGPSMessage.cpp.

void setLongitude ( float  longitude )

Sets the longitude value of the uBloxGPSMessage.

Parameters:
longitudelongitude value to be stored

Definition at line 25 of file UBloxGPSMessage.cpp.