22#ifndef _lmic_implementation_h_
23#define _lmic_implementation_h_
33static inline bit_t LMICJ_isShutdown(
void) {
37static inline bit_t LMICJ_isFsmIdle() {
41static inline bit_t LMICJ_isTxPathBusy(
void) {
45static inline bit_t LMICJ_isTxRequested(
void) {
49static inline bit_t LMICJ_isActiveBeaconTracking(
void) {
50#if defined(DISABLE_BEACON)
53 return (LMIC.opmode &
OP_TRACK) != 0;
57static inline bit_t LMICJ_isEnabledBeaconTracking(
void) {
58#if defined(DISABLE_BEACON) || defined(DISABLE_PING)
73static inline bit_t LMICJ_isEnabledClassB(
void) {
74#if defined(DISABLE_BEACON) || defined(DISABLE_PING)
84static inline bit_t LMICJ_isActiveClassB(
void) {
85#if defined(DISABLE_BEACON) || defined(DISABLE_PING)
@ OP_SCAN
radio scan to find a beacon
Definition lmic.h:265
@ OP_JOINING
device joining in progress (blocks other activities)
Definition lmic.h:267
@ OP_REJOIN
occasionally send JOIN REQUEST
Definition lmic.h:270
@ OP_TRACK
track my networks beacon (netid)
Definition lmic.h:266
@ OP_TXDATA
TX user data (buffered in pendTxData).
Definition lmic.h:268
@ OP_PINGABLE
we're pingable
Definition lmic.h:275
@ OP_SHUTDOWN
prevent MAC from doing anything
Definition lmic.h:271
@ OP_POLL
send empty UP frame to ACK confirmed DN/fetch more DN data
Definition lmic.h:269
@ OP_TXRXPEND
TX/RX transaction pending.
Definition lmic.h:272