|
RadioLib
Universal wireless communication library for Arduino
|
LoRaWAN Application package for TS009 Certification testing. More...
#include <LoRaWANPackageTS009.h>
Public Types | |
| typedef void(* | DelaySecondsCb_t) (RadioLibTime_t seconds) |
| typedef void(* | UplinkIntervalCb_t) (RadioLibTime_t intervalSeconds) |
| typedef void(* | RebootCb_t) () |
Public Types inherited from LoRaWANPackage | |
| typedef RadioLibTime_t(* | GetSecondsCb_t) () |
Public Member Functions | |
| LoRaWANPackageTS009 (const LoRaWANPackageTS009 &obj)=delete | |
| void | setPhysicalLayer (PhysicalLayer *radio) |
| Set radio module reference (for TX_CW command) | |
| void | setDelaySecondsCallback (DelaySecondsCb_t delayCb) |
| Set delay seconds callback (for delays in various commands) | |
| void | setUplinkIntervalCallback (UplinkIntervalCb_t intervalCb) |
| Set uplink interval callback (for TX_PERIODICITY_CHANGE command) | |
| void | setRebootCallback (RebootCb_t rebootCb) |
| Set reboot callback (for DUT_RESET command) | |
| bool | getConfirmed () |
| Check whether subsequent uplinks should be confirmed. | |
| size_t | processData (const uint8_t *dataDown, size_t lenDown, LoRaWANEvent_t *event) override |
| Process downlink data for TS009 LCTT package. | |
Public Member Functions inherited from LoRaWANPackage | |
| LoRaWANPackage (const LoRaWANPackage &obj)=delete | |
| virtual LoRaWANTaskInfo | hasTask () |
| Query the next scheduled task for this package. | |
| virtual void | doAction () |
| Perform an ACTION task (if any). Default no-op. | |
| 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 TS009 Certification testing.
| bool LoRaWANPackageTS009::getConfirmed | ( | ) |
Check whether subsequent uplinks should be confirmed.
|
overridevirtual |
Process downlink data for TS009 LCTT package.
| dataDown | Pointer to received downlink data |
| lenDown | Length of downlink data |
Reimplemented from LoRaWANPackage.