Modules#
NCP Event Filter Interface#
Component that provides the Bluetooth Network Co-Processor (NCP) Event Filter interface. This is a No-Code component if used together with NCP Interface component.
Functions#
void
sl_ncp_evt_filter_handler(user_cmd_manage_event_filter_t *cmd)
bool
sl_ncp_evt_filter_is_filtered(uint32_t header)
Typedef Documentation#
evt_filter_t#
typedef uint32_t evt_filter_t
Definition at line
43
of file common/ncp_evt_filter/sl_ncp_evt_filter.h
user_cmd_manage_event_filter_t#
typedef struct user_cmd_manage_event_filter user_cmd_manage_event_filter_t
Definition at line
53
of file common/ncp_evt_filter/sl_ncp_evt_filter.h
Function Documentation#
sl_ncp_evt_filter_handler#
void sl_ncp_evt_filter_handler (user_cmd_manage_event_filter_t * cmd)
Parameters
[in] | cmd | payload of manage event filter |
User command (manage_event_filter) handler. This function processes the event filter command which is in the cmd parameter and according to it adds/removes/resets the events in the event filter array.
Definition at line
63
of file common/ncp_evt_filter/sl_ncp_evt_filter.h
sl_ncp_evt_filter_is_filtered#
bool sl_ncp_evt_filter_is_filtered (uint32_t header)
Parameters
[in] | header | incoming Bluetooth stack event header |
Checks if the given event is filtered or not.
Returns
Returns true if filtered, false otherwise.
Definition at line
71
of file common/ncp_evt_filter/sl_ncp_evt_filter.h
Macro Definition Documentation#
SL_NCP_EVT_FILTER_ARRAY_LENGTH#
#define SL_NCP_EVT_FILTER_ARRAY_LENGTHValue:
8
Definition at line
44
of file common/ncp_evt_filter/config/sl_ncp_evt_filter_config.h
SL_NCP_EVT_FILTER_CMD_ADD_ID#
#define SL_NCP_EVT_FILTER_CMD_ADD_IDValue:
0
Definition at line
40
of file common/ncp_evt_filter/sl_ncp_evt_filter_common.h
SL_NCP_EVT_FILTER_CMD_REMOVE_ID#
#define SL_NCP_EVT_FILTER_CMD_REMOVE_IDValue:
1
Definition at line
41
of file common/ncp_evt_filter/sl_ncp_evt_filter_common.h
SL_NCP_EVT_FILTER_CMD_RESET_ID#
#define SL_NCP_EVT_FILTER_CMD_RESET_IDValue:
2
Definition at line
42
of file common/ncp_evt_filter/sl_ncp_evt_filter_common.h
SL_NCP_EVT_FILTER_CMD_ADD_LEN#
#define SL_NCP_EVT_FILTER_CMD_ADD_LENValue:
5
Definition at line
45
of file common/ncp_evt_filter/sl_ncp_evt_filter_common.h
SL_NCP_EVT_FILTER_CMD_REMOVE_LEN#
#define SL_NCP_EVT_FILTER_CMD_REMOVE_LENValue:
5
Definition at line
46
of file common/ncp_evt_filter/sl_ncp_evt_filter_common.h
SL_NCP_EVT_FILTER_CMD_RESET_LEN#
#define SL_NCP_EVT_FILTER_CMD_RESET_LENValue:
1
Definition at line
47
of file common/ncp_evt_filter/sl_ncp_evt_filter_common.h