1#if !defined(_RADIOLIB_LORAWAN_PACKAGE_TS003_H) && !RADIOLIB_EXCLUDE_LORAWAN
2#define _RADIOLIB_LORAWAN_PACKAGE_TS003_H
4#include "LoRaWANPacMan.h"
13#define RADIOLIB_LORAWAN_TS003_PACKAGE_VERSION (0x00)
14#define RADIOLIB_LORAWAN_TS003_APP_TIME (0x01)
15#define RADIOLIB_LORAWAN_TS003_APP_TIME_PERIODICITY (0x02)
16#define RADIOLIB_LORAWAN_TS003_FORCE_DEVICE_RESYNC (0x03)
65 uint8_t transmissions;
LoRaWAN-compatible node (class A device).
Definition LoRaWAN.h:572
Common interface for all application packages.
Definition LoRaWANPacMan.h:54
Interface to manage multiple LoRaWAN application packages.
Definition LoRaWANPacMan.h:129
LoRaWAN Application package for TS003 Application Time.
Definition LoRaWANPackageTS003.h:22
void doAction() override
Perform an ACTION task (if any).
Definition LoRaWANPackageTS003.cpp:63
void(* SetSecondsCb_t)(RadioLibTime_t)
Set the setSeconds callback function.
Definition LoRaWANPackageTS003.h:45
int16_t requestAppTime(bool force=false)
Send an application time request.
Definition LoRaWANPackageTS003.cpp:162
size_t processData(const uint8_t *dataDown, size_t lenDown, LoRaWANEvent_t *event) override
Process downlink data for the TS003 application time package.
Definition LoRaWANPackageTS003.cpp:67
LoRaWANTaskInfo hasTask() override
Find out what the next task is and when it occurs.
Definition LoRaWANPackageTS003.cpp:15
unsigned long RadioLibTime_t
Type used for durations in RadioLib.
Definition TypeDef.h:679
Structure to save extra information about uplink/downlink event.
Definition LoRaWAN.h:529
Structure displaying pending LoRaWAN task information.
Definition LoRaWANPacMan.h:45