Skip to content

Commit

Permalink
lte: Add macro definition to detect report event command ID
Browse files Browse the repository at this point in the history
  • Loading branch information
SPRESENSE committed Jan 26, 2023
2 parents a19cae6 + 0c457d3 commit 85fea3d
Showing 1 changed file with 7 additions and 0 deletions.
7 changes: 7 additions & 0 deletions include/nuttx/wireless/lte/lte_ioctl.h
Original file line number Diff line number Diff line change
Expand Up @@ -332,6 +332,13 @@
((cid) == LTE_CMDID_LWM2M_SERVEROP_EVT) || \
((cid) == LTE_CMDID_LWM2M_FWUP_EVT) )

#define IS_LTE_REPORT_EVENT(cid) (\
((cid) == LTE_CMDID_REPNETINFO) || \
((cid) == LTE_CMDID_REPSIMSTAT) || \
((cid) == LTE_CMDID_REPLTIME) || \
((cid) == LTE_CMDID_REPQUAL) || \
((cid) == LTE_CMDID_REPCELL) )

/****************************************************************************
* Public Types
****************************************************************************/
Expand Down

0 comments on commit 85fea3d

Please sign in to comment.