SRK Version of mDot LoRa_Sensormode_SRK

Dependencies:   libmDot mbed-rtos mbed

Fork of mDot_LoRa_Sensornode by Adrian Mitevski

Embed: (wiki syntax)

« Back to documentation index

SI1143ProximityMessage Class Reference

SI1143ProximityMessage Class Reference

A Container that can hold acquired proximity values from the SI1143. More...

#include <SI1143ProximityMessage.h>

Inherits SensorMessage.

Public Member Functions

void setProximity (uint16_t proximity)
 Sets the proximity value of the SI1143ProximityMessage.
uint16_t getProximity ()
 Gets the proximity value from the SI1143ProximityMessage.
virtual char * getLoRaMessageString ()
 Gets a small LoRaMessage Type Formated String from the MAX44009Message.

Detailed Description

A Container that can hold acquired proximity values from the SI1143.

The container will be transported via a MessageQueue between different Tasks.

Definition at line 22 of file SI1143ProximityMessage.h.


Member Function Documentation

char * getLoRaMessageString (  ) [virtual]

Gets a small LoRaMessage Type Formated String from the MAX44009Message.

This String can later be used for transportation via LoRa

Returns:

Reimplemented from SensorMessage.

Definition at line 27 of file SI1143ProximityMessage.cpp.

uint16_t getProximity (  )

Gets the proximity value from the SI1143ProximityMessage.

Returns:

Definition at line 23 of file SI1143ProximityMessage.cpp.

void setProximity ( uint16_t  proximity )

Sets the proximity value of the SI1143ProximityMessage.

Parameters:
proximityproximity value to be stored

Definition at line 19 of file SI1143ProximityMessage.cpp.