38 #ifndef ACCESS_CONFIG_H__ 39 #define ACCESS_CONFIG_H__ 43 #include "access_status.h" 44 #include "device_state_manager.h" 205 uint8_t step_number);
220 uint8_t * p_step_number);
uint32_t access_model_publish_address_get(access_model_handle_t handle, dsm_handle_t *p_address_handle)
Gets the current publish address for the given model.
uint32_t access_model_publish_application_set(access_model_handle_t handle, dsm_handle_t appkey_handle)
Sets the application key to be used when publishing for the given model.
uint32_t access_model_subscription_list_alloc(access_model_handle_t handle)
Allocates a subscription list for a model.
uint16_t access_model_handle_t
Access layer handle type.
uint32_t access_model_publish_retransmit_set(access_model_handle_t handle, access_publish_retransmit_t retransmit_params)
Sets the publish retransmit parameters for the given model.
uint32_t access_model_subscription_remove(access_model_handle_t handle, dsm_handle_t address_handle)
Removes a subscription from a model.
uint32_t access_model_subscriptions_get(access_model_handle_t handle, dsm_handle_t *p_address_handles, uint16_t *p_count)
Gets the address handles for the subscription addresses bound to a model.
uint32_t access_element_location_get(uint16_t element_index, uint16_t *p_location)
Gets the location descriptor for an element.
uint32_t access_model_publish_ttl_set(access_model_handle_t handle, uint8_t ttl)
Sets the default publication TTL value for the given model.
Model publish retransmit structure.
uint16_t dsm_handle_t
DSM handle type, used for the handles returned for the each set of data added.
uint32_t access_model_publish_ttl_get(access_model_handle_t handle, uint8_t *p_ttl)
Gets the default publication TTL value for the given model.
access_publish_resolution_t
Periodic publishing step resolution.
uint32_t access_model_publish_period_divisor_set(access_model_handle_t handle, uint16_t publish_divisor)
Sets the publish period divisor.
uint32_t access_model_application_bind(access_model_handle_t handle, dsm_handle_t appkey_handle)
Binds an application key to a model.
uint32_t access_model_id_get(access_model_handle_t handle, access_model_id_t *p_model_id)
Gets the model ID of for the given model.
uint32_t access_default_ttl_set(uint8_t ttl)
Sets the default TTL for the node.
uint32_t access_model_applications_get(access_model_handle_t handle, dsm_handle_t *p_appkey_handles, uint16_t *p_count)
Gets the applications bound to a model.
uint32_t access_model_application_unbind(access_model_handle_t handle, dsm_handle_t appkey_handle)
Unbinds an application key from a model.
uint32_t access_model_subscription_lists_share(access_model_handle_t owner, access_model_handle_t other)
Shares the subscription lists for two models.
uint32_t access_load_config_apply(void)
Applies data loaded from the mesh configuration system on the access layer structures.
uint32_t access_model_publish_address_set(access_model_handle_t handle, dsm_handle_t address_handle)
Changes the publish address for the given model.
uint32_t access_model_publish_retransmit_get(access_model_handle_t handle, access_publish_retransmit_t *p_retransmit_params)
Gets the current publish retransmit parameters for the given model.
uint32_t access_element_sig_model_count_get(uint16_t element_index, uint8_t *p_sig_model_count)
Gets the number of Bluetooth SIG models for an element.
uint32_t access_model_publication_stop(access_model_handle_t handle)
Stops the publication with the resetting of states for the given model.
uint32_t access_model_publish_period_set(access_model_handle_t handle, access_publish_resolution_t resolution, uint8_t step_number)
Sets the publish period for the given model.
uint32_t access_model_subscription_add(access_model_handle_t handle, dsm_handle_t address_handle)
Adds a subscription to a model.
uint8_t access_default_ttl_get(void)
Gets the default TTL for the node.
uint32_t access_handle_get(uint16_t element_index, access_model_id_t model_id, access_model_handle_t *p_handle)
Gets the access handle for the given model instance based on element index and model ID...
uint32_t access_element_models_get(uint16_t element_index, access_model_handle_t *p_models, uint16_t *p_count)
Gets the array of handles corresponding to an element.
uint32_t access_model_publication_by_appkey_stop(dsm_handle_t appkey_handle)
Stops the publication with the resetting of states for all models which are bound to the appkey_handl...
uint32_t access_model_publish_application_get(access_model_handle_t handle, dsm_handle_t *p_appkey_handle)
Gets the application key used when publishing for the given model.
uint32_t access_element_location_set(uint16_t element_index, uint16_t location)
Sets the location descriptor for an element.
uint32_t access_model_publish_period_get(access_model_handle_t handle, access_publish_resolution_t *p_resolution, uint8_t *p_step_number)
Gets the publish period for the given model.
uint32_t access_model_subscription_list_dealloc(access_model_handle_t handle)
De-allocates a subscription list for a model.
uint32_t access_model_publish_friendship_credential_flag_set(access_model_handle_t handle, bool flag)
Sets the friendship credentials flag value for the given model.
uint32_t access_model_publish_friendship_credential_flag_get(access_model_handle_t handle, bool *p_flag)
Gets the friendship credentials flag value for the given model.
uint32_t access_model_p_args_get(access_model_handle_t handle, void **pp_args)
Gets the generic argument pointer bound to the given model.
uint32_t access_element_vendor_model_count_get(uint16_t element_index, uint8_t *p_vendor_model_count)
Gets the number of vendor specific models for an element.