 |
Wirepas SDK
|
|
Go to the documentation of this file.
6 #ifndef _SHARED_APPCONFIG_H_
7 #define _SHARED_APPCONFIG_H_
32 #define SHARED_APP_CONFIG_ALL_TYPE_FILTER 0xFFFF
39 #define SHARED_APP_CONFIG_INCOMPATIBLE_FILTER 0xFFFE
99 uint16_t * filter_id);
111 #endif //_SHARED_APPCONFIG_H_
shared_app_config_res_e Shared_Appconfig_init(void)
Initialize the shared app config library library.
@ SHARED_APP_CONFIG_RES_NO_FILTER
@ SHARED_APP_CONFIG_RES_OK
shared_app_config_received_cb_f cb
@ SHARED_APP_CONFIG_RES_INVALID_PARAM
shared_app_config_res_e Shared_Appconfig_removeFilter(uint16_t filter_id)
Remove a received packet item from the list. Removed item fields are all set to 0.
@ SHARED_APP_CONFIG_RES_INVALID_FILTER
shared_app_config_res_e
List of return code.
shared_app_config_res_e Shared_Appconfig_addFilter(shared_app_config_filter_t *filter, uint16_t *filter_id)
Add a new app config type filter to the list. If the item is already in the list it is only updated.
void(* shared_app_config_received_cb_f)(uint16_t type, uint8_t length, uint8_t *value_p)
The app config type reception callback.
Structure holding all parameters for app config type filtering.
@ SHARED_APP_CONFIG_RES_UNINITIALIZED