12#ifndef __MESHX_BLE_MESH_GEN_CLI_H__
13#define __MESHX_BLE_MESH_GEN_CLI_H__
358 uint16_t opcode, uint16_t addr,
359 uint16_t net_idx, uint16_t app_idx,
Common BLE Mesh interface definitions and utility functions.
struct meshx_model meshx_model_t
struct meshx_ctx meshx_ctx_t
Structure to hold context information for BLE Mesh operations.
struct meshx_gen_cli_cb_param meshx_gen_cli_cb_param_t
Callback parameters for Generic Client Model events. This structure is used to pass information about...
control_task_msg_handle_t meshx_gen_client_cb_t
meshx_err_t meshx_plat_gen_cli_delete(meshx_ptr_t *p_pub, meshx_ptr_t *p_cli)
Deletes the Generic OnOff Client model and its associated resources.
meshx_err_t meshx_plat_gen_cli_send_msg(meshx_ptr_t p_model, meshx_gen_cli_set_t *p_set, uint16_t opcode, uint16_t addr, uint16_t net_idx, uint16_t app_idx, bool is_get_opcode)
Sends a Generic Client message over BLE Mesh.
meshx_err_t meshx_plat_on_off_gen_cli_create(meshx_ptr_t p_model, meshx_ptr_t *p_pub, meshx_ptr_t *p_onoff_cli)
Creates a Generic OnOff client model and its publication context.
meshx_err_t meshx_plat_gen_cli_init(void)
Initialize the meshxuction generic client.
Header file for the control task in the BLE mesh node application.
meshx_err_t(* control_task_msg_handle_t)(dev_struct_t *pdev, control_task_msg_evt_t evt, void *params)
Function pointer type for control task message handler.
meshx_err_t
MeshX Error Codes.
struct net_buf_simple * property_ids
struct net_buf_simple * property_value
uint32_t time_to_discharge
Callback parameters for Generic Client Model events. This structure is used to pass information about...
meshx_gen_client_status_cb_t status
struct net_buf_simple * property_ids
struct net_buf_simple * property_ids
struct net_buf_simple * property_value
struct net_buf_simple * property_ids
struct net_buf_simple * property_value
Generic Client Model set message union.
meshx_gen_move_set_t move_set
meshx_gen_loc_global_set_t loc_global_set
meshx_gen_onpowerup_set_t power_set
meshx_gen_delta_set_t delta_set
meshx_gen_power_default_set_t power_default_set
meshx_gen_def_trans_time_set_t def_trans_time_set
meshx_gen_power_level_set_t power_level_set
meshx_gen_level_set_t level_set
meshx_gen_loc_local_set_t loc_local_set
meshx_gen_onoff_set_t onoff_set
meshx_gen_power_range_set_t power_range_set
Generic Client Model received message union.
meshx_gen_user_properties_status_cb_t user_properties_status
meshx_gen_loc_global_status_cb_t location_global_status
meshx_gen_power_level_status_cb_t power_level_status
meshx_gen_power_last_status_cb_t power_last_status
meshx_gen_client_properties_status_cb_t client_properties_status
meshx_gen_battery_status_cb_t battery_status
meshx_gen_def_trans_time_status_cb_t def_trans_time_status
meshx_gen_loc_local_status_cb_t location_local_status
meshx_gen_level_status_cb_t level_status
meshx_gen_onoff_status_cb_t onoff_status
meshx_gen_admin_properties_status_cb_t admin_properties_status
meshx_gen_manufacturer_properties_status_cb_t manufacturer_properties_status
meshx_gen_onpowerup_status_cb_t onpowerup_status
meshx_gen_user_property_status_cb_t user_property_status
meshx_gen_power_default_status_cb_t power_default_status
meshx_gen_manufacturer_property_status_cb_t manufacturer_property_status
meshx_gen_admin_property_status_cb_t admin_property_status
meshx_gen_power_range_status_cb_t power_range_status