Important changes to repositories hosted on mbed.com
Mbed hosted mercurial repositories are deprecated and are due to be permanently deleted in July 2026.
To keep a copy of this software download the repository Zip archive or clone locally using Mercurial.
It is also possible to export all your personal repositories from the account settings page.
Dependencies: LoRaWAN-lib SX1272Lib lib_gps lib_mma8451q lib_mpl3115a2 mbed
Fork of LoRaWAN-NAMote72-Application-Demo_Multitech by
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
Definition at line 60 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 61 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 56 of file LoRaApp.cpp.
Generated on Thu Jul 28 2022 06:45:12 by
1.7.2
