|
RadioLib
Universal wireless communication library for Arduino
|
LoRaWAN Application package for TS003 Application Time. More...
#include <LoRaWANPackageTS003.h>
Public Types | |
| typedef void(* | SetSecondsCb_t) (RadioLibTime_t) |
| Set the setSeconds callback function. | |
Public Types inherited from LoRaWANPackage | |
| typedef RadioLibTime_t(* | GetSecondsCb_t) () |
Public Member Functions | |
| LoRaWANPackageTS003 (const LoRaWANPackageTS003 &obj)=delete | |
| size_t | processData (const uint8_t *dataDown, size_t lenDown, LoRaWANEvent_t *event) override |
| Process downlink data for the TS003 application time package. | |
| int16_t | requestAppTime (bool force=false) |
| Send an application time request. | |
| void | setSecondsCb (SetSecondsCb_t setSecondsCb) |
| LoRaWANTaskInfo | hasTask () override |
| Find out what the next task is and when it occurs. | |
| void | doAction () override |
| Perform an ACTION task (if any). | |
Public Member Functions inherited from LoRaWANPackage | |
| LoRaWANPackage (const LoRaWANPackage &obj)=delete | |
| void | getUplinkData (uint8_t *dataOut, size_t *lenOut) |
| Get uplink data for UPLINK tasks. Returns internal buffer. | |
| RadioLibTime_t | getSeconds () |
| Get current time via the stored callback. | |
LoRaWAN Application package for TS003 Application Time.
| typedef void(* LoRaWANPackageTS003::SetSecondsCb_t) (RadioLibTime_t) |
Set the setSeconds callback function.
| setSeconds | Callback function to set device time |
|
overridevirtual |
Perform an ACTION task (if any).
Reimplemented from LoRaWANPackage.
|
overridevirtual |
Find out what the next task is and when it occurs.
LoRaWANTaskInfo containing task type and time Reimplemented from LoRaWANPackage.
|
overridevirtual |
Process downlink data for the TS003 application time package.
| dataDown | Pointer to received downlink data |
| lenDown | Length of downlink data |
Reimplemented from LoRaWANPackage.
| int16_t LoRaWANPackageTS003::requestAppTime | ( | bool | force = false | ) |
Send an application time request.