|
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(* | ConfirmedCb_t) (bool confirmed) |
| 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 | setConfirmedCallback (ConfirmedCb_t confirmedCb) |
| Set confirmed callback (for TX_FRAMES_CTRL command). | |
| void | setRebootCallback (RebootCb_t rebootCb) |
| Set reboot callback (for DUT_RESET command). | |
| size_t | processData (const uint8_t *dataDown, size_t lenDown, uint8_t *dataOut, size_t *lenOut, LoRaWANEvent_t *event) override |
| Process downlink data for TS009 LCTT package. | |
| Public Member Functions inherited from LoRaWANPackage | |
| LoRaWANPackage (const LoRaWANPackage &obj)=delete | |
| virtual bool | handleTask (RadioLibTime_t *tNext, bool *uplinkDue) |
| Execute any scheduled task that is due now and report when this package next needs servicing. When an uplink is due now it reports so via uplinkDue; the bytes are produced later by buildUplink() at the actual moment of transmission. | |
| virtual size_t | buildUplink (uint8_t *dataOut) |
| Build the uplink that handleTask() reported as due, at the moment of transmission, and advance the package's transmit schedule. | |
| RadioLibTime_t | getSeconds () |
| Get current time via the stored callback. | |
LoRaWAN Application package for TS009 Certification testing.
|
overridevirtual |
Process downlink data for TS009 LCTT package.
| dataDown | Pointer to received downlink data |
| lenDown | Length of downlink data |
| eventDown | Pointer to downlink event data |
Reimplemented from LoRaWANPackage.