6#ifndef _SHARED_APPCONFIG_H_
7#define _SHARED_APPCONFIG_H_
36#define SHARED_APP_CONFIG_ALL_TYPE_FILTER 0xFFFF
43#define SHARED_APP_CONFIG_INCOMPATIBLE_FILTER 0xFFFE
104 uint16_t * filter_id);
shared_app_config_res_e Shared_Appconfig_setAppConfig(const uint8_t *bytes)
Set a new app config.
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.
shared_app_config_res_e
List of return code.
@ SHARED_APP_CONFIG_RES_INVALID_ROLE
@ SHARED_APP_CONFIG_RES_INVALID_FILTER
@ SHARED_APP_CONFIG_RES_INVALID_PARAM
@ SHARED_APP_CONFIG_RES_NO_FILTER
@ SHARED_APP_CONFIG_RES_OK
@ SHARED_APP_CONFIG_RES_UNINITIALIZED
void(* shared_app_config_received_cb_f)(uint16_t type, uint8_t length, uint8_t *value_p)
The app config type reception callback.
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_e Shared_Appconfig_notifyAppConfig(const uint8_t *bytes)
Notify other modules of a new app config received.
shared_app_config_res_e Shared_Appconfig_init(void)
Initialize the shared app config library.
shared_app_config_received_cb_f cb
Structure holding all parameters for app config type filtering.