RadioLib
Universal wireless communication library for Arduino
Loading...
Searching...
No Matches
LoRaWANPackageTS009 Class Reference

LoRaWAN Application package for TS009 Certification testing. More...

#include <LoRaWANPackageTS009.h>

Inheritance diagram for LoRaWANPackageTS009:
LoRaWANPackage

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.
 

Detailed Description

LoRaWAN Application package for TS009 Certification testing.

Member Function Documentation

◆ getConfirmed()

bool LoRaWANPackageTS009::getConfirmed ( )

Check whether subsequent uplinks should be confirmed.

Returns
true if uplinks should be confirmed, false otherwise

◆ processData()

size_t LoRaWANPackageTS009::processData ( const uint8_t *  dataDown,
size_t  lenDown,
LoRaWANEvent_t event 
)
overridevirtual

Process downlink data for TS009 LCTT package.

Parameters
dataDownPointer to received downlink data
lenDownLength of downlink data
Returns
Number of bytes consumed

Reimplemented from LoRaWANPackage.


The documentation for this class was generated from the following files: