Semtech / LoRaWAN-NAMote72-Application-Demo

Dependencies:   LoRaWAN-lib mbed lib_mpl3115a2 lib_mma8451q lib_gps SX1272Lib

Dependents:   LoRaWAN-NAMote72-BVS-confirmed-tester-0-7v1_copy

Embed: (wiki syntax)

« Back to documentation index

Application Class Reference

Application Class Reference

#include <LoRaApp.h>

Public Member Functions

 Application (uint8_t *memptr)
 Initializes TX buffer address to private pointer.
 ~Application ()
 Application Destructor.
void ApplicationCall (eAppType AppType)
 Call application type and append to application buffer.
void ApplicationAppendData (uint8_t *pData, uint8_t len)
 Append data to the TX buffer.
void ApplicationPtrPos (uint8_t ptrPos)
 Point the pointer corresponding to the TX buffer to specified index.

Detailed Description

Application

Definition at line 58 of file LoRaApp.h.


Constructor & Destructor Documentation

Application ( uint8_t *  memptr )

Initializes TX buffer address to private pointer.

Parameters:
[IN]memptr pointer to TX buffer

Definition at line 36 of file LoRaApp.cpp.

~Application (  )

Application Destructor.

Definition at line 43 of file LoRaApp.cpp.


Member Function Documentation

void ApplicationAppendData ( uint8_t *  pData,
uint8_t  len 
)

Append data to the TX buffer.

Parameters:
[IN]pData pointer to the data to be appended to TX buffer
[IN]Len lenght of the data to be appended to TX buffer

Definition at line 47 of file LoRaApp.cpp.

void ApplicationCall ( eAppType  AppType )

Call application type and append to application buffer.

Parameters:
[IN]AppType application type: GPS, Battery, Temp etc.

Definition at line 58 of file LoRaApp.cpp.

void ApplicationPtrPos ( uint8_t  ptrPos )

Point the pointer corresponding to the TX buffer to specified index.

Parameters:
[IN]ptrPos index to where to point to in the TX buffer

Definition at line 53 of file LoRaApp.cpp.