/hal_espressif-latest/components/bt/esp_ble_mesh/mesh_models/server/ |
D | generic_server.c | 51 static void send_gen_onoff_status(struct bt_mesh_model *model, in send_gen_onoff_status() argument 55 struct bt_mesh_gen_onoff_srv *srv = model->user_data; in send_gen_onoff_status() 71 msg = bt_mesh_server_get_pub_msg(model, length); in send_gen_onoff_status() 86 BLE_MESH_CHECK_SEND_STATUS(bt_mesh_model_send(model, ctx, msg, NULL, NULL)); in send_gen_onoff_status() 89 BLE_MESH_CHECK_SEND_STATUS(bt_mesh_model_publish(model)); in send_gen_onoff_status() 94 static void gen_onoff_get(struct bt_mesh_model *model, in gen_onoff_get() argument 98 struct bt_mesh_gen_onoff_srv *srv = model->user_data; in gen_onoff_get() 108 BTC_BLE_MESH_EVT_GENERIC_SERVER_RECV_GET_MSG, model, ctx, NULL, 0); in gen_onoff_get() 112 send_gen_onoff_status(model, ctx, false); in gen_onoff_get() 116 void gen_onoff_publish(struct bt_mesh_model *model) in gen_onoff_publish() argument [all …]
|
D | state_binding.c | 97 int bt_mesh_update_binding_state(struct bt_mesh_model *model, in bt_mesh_update_binding_state() argument 101 if (model == NULL || model->user_data == NULL || in bt_mesh_update_binding_state() 110 if (model->id != BLE_MESH_MODEL_ID_GEN_ONOFF_SRV) { in bt_mesh_update_binding_state() 111 BT_ERR("Invalid Generic OnOff Server, model id 0x%04x", model->id); in bt_mesh_update_binding_state() 115 struct bt_mesh_gen_onoff_srv *srv = model->user_data; in bt_mesh_update_binding_state() 118 gen_onoff_publish(model); in bt_mesh_update_binding_state() 122 if (model->id != BLE_MESH_MODEL_ID_GEN_LEVEL_SRV) { in bt_mesh_update_binding_state() 123 BT_ERR("Invalid Generic Level Server, model id 0x%04x", model->id); in bt_mesh_update_binding_state() 127 struct bt_mesh_gen_level_srv *srv = model->user_data; in bt_mesh_update_binding_state() 130 gen_level_publish(model); in bt_mesh_update_binding_state() [all …]
|
D | lighting_server.c | 52 static void send_light_lightness_status(struct bt_mesh_model *model, in send_light_lightness_status() argument 71 msg = bt_mesh_server_get_pub_msg(model, length); in send_light_lightness_status() 80 struct bt_mesh_light_lightness_srv *srv = model->user_data; in send_light_lightness_status() 90 struct bt_mesh_light_lightness_srv *srv = model->user_data; in send_light_lightness_status() 100 struct bt_mesh_light_lightness_srv *srv = model->user_data; in send_light_lightness_status() 105 if (model->id == BLE_MESH_MODEL_ID_LIGHT_LIGHTNESS_SRV) { in send_light_lightness_status() 106 struct bt_mesh_light_lightness_srv *srv = model->user_data; in send_light_lightness_status() 108 } else if (model->id == BLE_MESH_MODEL_ID_LIGHT_LIGHTNESS_SETUP_SRV) { in send_light_lightness_status() 109 struct bt_mesh_light_lightness_setup_srv *srv = model->user_data; in send_light_lightness_status() 114 if (model->id == BLE_MESH_MODEL_ID_LIGHT_LIGHTNESS_SRV) { in send_light_lightness_status() [all …]
|
D | time_scene_server.c | 48 static void send_time_status(struct bt_mesh_model *model, in send_time_status() argument 68 msg = bt_mesh_server_get_pub_msg(model, length); in send_time_status() 77 if (model->id == BLE_MESH_MODEL_ID_TIME_SRV) { in send_time_status() 78 struct bt_mesh_time_srv *srv = model->user_data; in send_time_status() 94 } else if (model->id == BLE_MESH_MODEL_ID_TIME_SETUP_SRV) { in send_time_status() 95 struct bt_mesh_time_setup_srv *srv = model->user_data; in send_time_status() 107 if (model->id == BLE_MESH_MODEL_ID_TIME_SRV) { in send_time_status() 108 struct bt_mesh_time_srv *srv = model->user_data; in send_time_status() 112 } else if (model->id == BLE_MESH_MODEL_ID_TIME_SETUP_SRV) { in send_time_status() 113 struct bt_mesh_time_setup_srv *srv = model->user_data; in send_time_status() [all …]
|
D | server_common.c | 26 uint8_t bt_mesh_get_default_trans_time(struct bt_mesh_model *model) in bt_mesh_get_default_trans_time() argument 39 struct bt_mesh_elem *element = bt_mesh_model_elem(model); in bt_mesh_get_default_trans_time() 60 int bt_mesh_get_light_lc_trans_time(struct bt_mesh_model *model, uint8_t *trans_time) in bt_mesh_get_light_lc_trans_time() argument 65 if (model == NULL || trans_time == NULL) { in bt_mesh_get_light_lc_trans_time() 70 if (model->id != BLE_MESH_MODEL_ID_LIGHT_LC_SRV) { in bt_mesh_get_light_lc_trans_time() 71 BT_ERR("Invalid a Light LC Server 0x%04x", model->id); in bt_mesh_get_light_lc_trans_time() 75 srv = (struct bt_mesh_light_lc_srv *)model->user_data; in bt_mesh_get_light_lc_trans_time() 115 int bt_mesh_server_get_optional(struct bt_mesh_model *model, in bt_mesh_server_get_optional() argument 121 if (model == NULL || buf == NULL || trans_time == NULL || in bt_mesh_server_get_optional() 134 if (model->id == BLE_MESH_MODEL_ID_LIGHT_LC_SRV) { in bt_mesh_server_get_optional() [all …]
|
D | sensor_server.c | 20 static void update_sensor_periodic_pub(struct bt_mesh_model *model, uint16_t prop_id); 25 static void send_sensor_descriptor_status(struct bt_mesh_model *model, in send_sensor_descriptor_status() argument 29 struct bt_mesh_sensor_srv *srv = model->user_data; in send_sensor_descriptor_status() 87 BLE_MESH_CHECK_SEND_STATUS(bt_mesh_model_send(model, ctx, msg, NULL, NULL)); in send_sensor_descriptor_status() 92 static void send_sensor_data_status(struct bt_mesh_model *model, in send_sensor_data_status() argument 96 struct bt_mesh_sensor_srv *srv = model->user_data; in send_sensor_data_status() 177 BLE_MESH_CHECK_SEND_STATUS(bt_mesh_model_send(model, ctx, msg, NULL, NULL)); in send_sensor_data_status() 182 static void send_sensor_cadence_status(struct bt_mesh_model *model, in send_sensor_cadence_status() argument 186 struct bt_mesh_sensor_setup_srv *srv = model->user_data; in send_sensor_cadence_status() 232 msg = bt_mesh_server_get_pub_msg(model, 1 + length); in send_sensor_cadence_status() [all …]
|
D | state_transition.c | 260 …BTC_BLE_MESH_EVT_GENERIC_SERVER_STATE_CHANGE, srv->model, ctx, (const uint8_t *)&change, sizeof(ch… in generic_onoff_work_handler() 273 …BTC_BLE_MESH_EVT_GENERIC_SERVER_STATE_CHANGE, srv->model, ctx, (const uint8_t *)&change, sizeof(ch… in generic_onoff_work_handler() 292 …BTC_BLE_MESH_EVT_GENERIC_SERVER_STATE_CHANGE, srv->model, ctx, (const uint8_t *)&change, sizeof(ch… in generic_onoff_work_handler() 296 gen_onoff_publish(srv->model); in generic_onoff_work_handler() 336 …BTC_BLE_MESH_EVT_GENERIC_SERVER_STATE_CHANGE, srv->model, ctx, (const uint8_t *)&change, sizeof(ch… in generic_level_work_handler() 371 …BTC_BLE_MESH_EVT_GENERIC_SERVER_STATE_CHANGE, srv->model, ctx, (const uint8_t *)&change, sizeof(ch… in generic_level_work_handler() 373 gen_level_publish(srv->model); in generic_level_work_handler() 401 …BTC_BLE_MESH_EVT_GENERIC_SERVER_STATE_CHANGE, srv->model, ctx, (const uint8_t *)&change, sizeof(ch… in generic_power_level_work_handler() 433 …BTC_BLE_MESH_EVT_GENERIC_SERVER_STATE_CHANGE, srv->model, ctx, (const uint8_t *)&change, sizeof(ch… in generic_power_level_work_handler() 435 gen_power_level_publish(srv->model, BLE_MESH_MODEL_OP_GEN_POWER_LEVEL_STATUS); in generic_power_level_work_handler() [all …]
|
/hal_espressif-latest/components/bt/esp_ble_mesh/mesh_core/ |
D | health_srv.c | 39 static uint8_t health_get_curr_fault_count(struct bt_mesh_model *model) in health_get_curr_fault_count() argument 41 struct bt_mesh_health_srv *srv = model->user_data; in health_get_curr_fault_count() 54 static void health_get_fault_value(struct bt_mesh_model *model, in health_get_fault_value() argument 58 struct bt_mesh_health_srv *srv = model->user_data; in health_get_fault_value() 76 static bool health_is_test_id_exist(struct bt_mesh_model *model, uint8_t test_id) in health_is_test_id_exist() argument 78 struct bt_mesh_health_srv *srv = model->user_data; in health_is_test_id_exist() 90 static int health_send_fault_status(struct bt_mesh_model *model, in health_send_fault_status() argument 93 struct bt_mesh_health_srv *srv = model->user_data; in health_send_fault_status() 111 health_get_fault_value(model, msg, false); in health_send_fault_status() 114 err = bt_mesh_model_send(model, ctx, msg, NULL, NULL); in health_send_fault_status() [all …]
|
D | test.c | 33 struct bt_mesh_model *model = NULL; in bt_mesh_device_auto_enter_network() local 95 model = &elem->models[j]; in bt_mesh_device_auto_enter_network() 96 if (model->id == BLE_MESH_MODEL_ID_CFG_SRV || in bt_mesh_device_auto_enter_network() 97 model->id == BLE_MESH_MODEL_ID_CFG_CLI) { in bt_mesh_device_auto_enter_network() 100 for (k = 0; k < ARRAY_SIZE(model->keys); k++) { in bt_mesh_device_auto_enter_network() 101 if (model->keys[k] == BLE_MESH_KEY_UNUSED) { in bt_mesh_device_auto_enter_network() 102 model->keys[k] = info->app_idx; in bt_mesh_device_auto_enter_network() 106 for (k = 0; k < ARRAY_SIZE(model->groups); k++) { in bt_mesh_device_auto_enter_network() 107 if (model->groups[k] == BLE_MESH_ADDR_UNASSIGNED) { in bt_mesh_device_auto_enter_network() 108 model->groups[k] = info->group_addr; in bt_mesh_device_auto_enter_network() [all …]
|
D | local_operation.c | 46 struct bt_mesh_model *model = NULL; in bt_mesh_model_subscribe_group_addr() local 49 model = find_model(elem_addr, cid, mod_id); in bt_mesh_model_subscribe_group_addr() 50 if (model == NULL) { in bt_mesh_model_subscribe_group_addr() 60 if (bt_mesh_model_find_group(model, group_addr)) { in bt_mesh_model_subscribe_group_addr() 65 for (i = 0; i < ARRAY_SIZE(model->groups); i++) { in bt_mesh_model_subscribe_group_addr() 66 if (model->groups[i] == BLE_MESH_ADDR_UNASSIGNED) { in bt_mesh_model_subscribe_group_addr() 67 model->groups[i] = group_addr; in bt_mesh_model_subscribe_group_addr() 70 bt_mesh_store_mod_sub(model); in bt_mesh_model_subscribe_group_addr() 89 struct bt_mesh_model *model = NULL; in bt_mesh_model_unsubscribe_group_addr() local 92 model = find_model(elem_addr, cid, mod_id); in bt_mesh_model_unsubscribe_group_addr() [all …]
|
D | cfg_srv.c | 116 static void dev_comp_data_get(struct bt_mesh_model *model, in dev_comp_data_get() argument 148 if (bt_mesh_model_send(model, ctx, sdu, NULL, NULL)) { in dev_comp_data_get() 200 static bool mod_pub_app_key_bound(struct bt_mesh_model *model, in mod_pub_app_key_bound() argument 205 for (i = 0; i < ARRAY_SIZE(model->keys); i++) { in mod_pub_app_key_bound() 206 if (model->keys[i] == app_idx) { in mod_pub_app_key_bound() 215 static uint8_t _mod_pub_set(struct bt_mesh_model *model, uint16_t pub_addr, in _mod_pub_set() argument 219 if (!model->pub) { in _mod_pub_set() 227 if (!model->pub->update && period) { in _mod_pub_set() 232 if (model->pub->addr == BLE_MESH_ADDR_UNASSIGNED) { in _mod_pub_set() 236 model->pub->addr = BLE_MESH_ADDR_UNASSIGNED; in _mod_pub_set() [all …]
|
D | health_cli.c | 78 opcode, BTC_BLE_MESH_EVT_HEALTH_CLIENT_TIMEOUT, ctx.model, &ctx, NULL, 0); in timeout_handler() 87 static void health_client_recv_status(struct bt_mesh_model *model, in health_client_recv_status() argument 95 if (!model || !ctx || !status || !len) { in health_client_recv_status() 106 node = bt_mesh_is_client_recv_publish_msg(model, ctx, &buf, true); in health_client_recv_status() 130 opcode, evt_type, model, ctx, (const uint8_t *)status, len); in health_client_recv_status() 152 static void health_fault_status(struct bt_mesh_model *model, in health_fault_status() argument 172 health_client_recv_status(model, ctx, &status, sizeof(struct bt_mesh_health_fault_status)); in health_fault_status() 175 static void health_current_status(struct bt_mesh_model *model, in health_current_status() argument 195 health_client_recv_status(model, ctx, &status, sizeof(struct bt_mesh_health_current_status)); in health_current_status() 198 static void health_period_status(struct bt_mesh_model *model, in health_period_status() argument [all …]
|
D | settings.c | 631 static int model_set_bind(bool vnd, struct bt_mesh_model *model, uint16_t model_key) in model_set_bind() argument 639 for (i = 0; i < ARRAY_SIZE(model->keys); i++) { in model_set_bind() 640 model->keys[i] = BLE_MESH_KEY_UNUSED; in model_set_bind() 644 err = bt_mesh_load_core_settings(name, (uint8_t *)model->keys, sizeof(model->keys), &exist); in model_set_bind() 651 BT_INFO("Restored Model Bound AppKey, index %s", bt_hex(model->keys, sizeof(model->keys))); in model_set_bind() 657 static int model_set_sub(bool vnd, struct bt_mesh_model *model, uint16_t model_key) in model_set_sub() argument 665 for (i = 0; i < ARRAY_SIZE(model->groups); i++) { in model_set_sub() 666 model->groups[i] = BLE_MESH_ADDR_UNASSIGNED; in model_set_sub() 670 err = bt_mesh_load_core_settings(name, (uint8_t *)model->groups, sizeof(model->groups), &exist); in model_set_sub() 677 … BT_INFO("Restored Model Subscription, address %s", bt_hex(model->groups, sizeof(model->groups))); in model_set_sub() [all …]
|
D | access.c | 45 struct bt_mesh_model *model = &elem->models[j]; in bt_mesh_model_foreach() local 47 func(model, elem, false, i == 0, user_data); in bt_mesh_model_foreach() 51 struct bt_mesh_model *model = &elem->vnd_models[j]; in bt_mesh_model_foreach() local 53 func(model, elem, true, i == 0, user_data); in bt_mesh_model_foreach() 182 .model = mod, in publish_retransmit() 484 struct bt_mesh_model *model = NULL; in bt_mesh_elem_find_group() local 489 model = &elem->models[i]; in bt_mesh_elem_find_group() 491 match = bt_mesh_model_find_group(model, group_addr); in bt_mesh_elem_find_group() 493 return model; in bt_mesh_elem_find_group() 498 model = &elem->vnd_models[i]; in bt_mesh_elem_find_group() [all …]
|
D | cfg_cli.c | 120 opcode, BTC_BLE_MESH_EVT_CONFIG_CLIENT_TIMEOUT, ctx.model, &ctx, NULL, 0); in timeout_handler() 129 static void cfg_client_recv_status(struct bt_mesh_model *model, in cfg_client_recv_status() argument 137 if (!model || !ctx) { in cfg_client_recv_status() 148 node = bt_mesh_is_client_recv_publish_msg(model, ctx, &buf, true); in cfg_client_recv_status() 212 opcode, evt_type, model, ctx, (const uint8_t *)status, len); in cfg_client_recv_status() 251 static void comp_data_status(struct bt_mesh_model *model, in comp_data_status() argument 270 cfg_client_recv_status(model, ctx, &status, sizeof(struct bt_mesh_cfg_comp_data_status)); in comp_data_status() 273 static void state_status_u8(struct bt_mesh_model *model, in state_status_u8() argument 285 cfg_client_recv_status(model, ctx, &status, sizeof(uint8_t)); in state_status_u8() 288 static void beacon_status(struct bt_mesh_model *model, in beacon_status() argument [all …]
|
/hal_espressif-latest/components/bt/esp_ble_mesh/btc/ |
D | btc_ble_mesh_prov.c | 404 static void btc_ble_mesh_server_model_op_cb(struct bt_mesh_model *model, in btc_ble_mesh_server_model_op_cb() argument 411 mesh_param.model_operation.model = (esp_ble_mesh_model_t *)model; in btc_ble_mesh_server_model_op_cb() 420 static void btc_ble_mesh_client_model_op_cb(struct bt_mesh_model *model, in btc_ble_mesh_client_model_op_cb() argument 427 if (!model || !model->user_data || !ctx || !buf) { in btc_ble_mesh_client_model_op_cb() 434 node = bt_mesh_is_client_recv_publish_msg(model, ctx, buf, false); in btc_ble_mesh_client_model_op_cb() 437 mesh_param.client_recv_publish_msg.model = (esp_ble_mesh_model_t *)model; in btc_ble_mesh_client_model_op_cb() 444 mesh_param.model_operation.model = (esp_ble_mesh_model_t *)model; in btc_ble_mesh_client_model_op_cb() 474 mesh_param.client_send_timeout.model = (esp_ble_mesh_model_t *)ctx.model; in btc_ble_mesh_client_model_timeout_cb() 485 static void btc_ble_mesh_model_send_comp_cb(esp_ble_mesh_model_t *model, in btc_ble_mesh_model_send_comp_cb() argument 493 mesh_param.model_send_comp.model = model; in btc_ble_mesh_model_send_comp_cb() [all …]
|
D | btc_ble_mesh_health_model.c | 239 struct bt_mesh_model *model, in bt_mesh_health_client_cb_evt_to_btc() argument 247 if (!model || !ctx) { in bt_mesh_health_client_cb_evt_to_btc() 271 params.model = (esp_ble_mesh_model_t *)model; in bt_mesh_health_client_cb_evt_to_btc() 292 void btc_ble_mesh_health_publish_callback(uint32_t opcode, struct bt_mesh_model *model, in btc_ble_mesh_health_publish_callback() argument 296 if (!model || !ctx || !buf) { in btc_ble_mesh_health_publish_callback() 302 model, ctx, buf->data, buf->len); in btc_ble_mesh_health_publish_callback() 322 param.model = (struct bt_mesh_model *)params->model; in btc_ble_mesh_health_client_get_state() 357 param.model = (struct bt_mesh_model *)params->model; in btc_ble_mesh_health_client_set_state() 597 void btc_ble_mesh_health_server_fault_clear(struct bt_mesh_model *model, uint16_t company_id) in btc_ble_mesh_health_server_fault_clear() argument 601 param.fault_clear.model = (esp_ble_mesh_model_t *)model; in btc_ble_mesh_health_server_fault_clear() [all …]
|
/hal_espressif-latest/components/bt/esp_ble_mesh/mesh_models/client/ |
D | client_common.c | 43 bt_mesh_client_node_t *bt_mesh_is_client_recv_publish_msg(struct bt_mesh_model *model, in bt_mesh_is_client_recv_publish_msg() argument 51 if (!model || !ctx || !buf) { in bt_mesh_is_client_recv_publish_msg() 56 cli = (bt_mesh_client_user_data_t *)model->user_data; in bt_mesh_is_client_recv_publish_msg() 69 cli->publish_status(ctx->recv_op, model, ctx, buf); in bt_mesh_is_client_recv_publish_msg() 88 cli->publish_status(ctx->recv_op, model, ctx, buf); in bt_mesh_is_client_recv_publish_msg() 96 cli->publish_status(ctx->recv_op, model, ctx, buf); in bt_mesh_is_client_recv_publish_msg() 104 cli->publish_status(ctx->recv_op, model, ctx, buf); in bt_mesh_is_client_recv_publish_msg() 255 if (!param || !param->model || !msg) { in bt_mesh_client_send_msg() 260 client = (bt_mesh_client_user_data_t *)param->model->user_data; in bt_mesh_client_send_msg() 277 if (bt_mesh_set_client_model_role(param->model, param->msg_role)) { in bt_mesh_client_send_msg() [all …]
|
/hal_espressif-latest/components/bt/esp_ble_mesh/mesh_models/server/include/ |
D | generic_server.h | 24 struct bt_mesh_model *model; member 43 struct bt_mesh_model *model; member 56 struct bt_mesh_model *model; member 66 struct bt_mesh_model *model; member 72 struct bt_mesh_model *model; member 90 struct bt_mesh_model *model; member 99 struct bt_mesh_model *model; member 112 struct bt_mesh_model *model; member 129 struct bt_mesh_model *model; member 135 struct bt_mesh_model *model; member [all …]
|
D | lighting_server.h | 34 struct bt_mesh_model *model; member 45 struct bt_mesh_model *model; member 70 struct bt_mesh_model *model; member 81 struct bt_mesh_model *model; member 87 struct bt_mesh_model *model; member 118 struct bt_mesh_model *model; member 129 struct bt_mesh_model *model; member 135 struct bt_mesh_model *model; member 144 struct bt_mesh_model *model; member 174 struct bt_mesh_model *model; member [all …]
|
/hal_espressif-latest/components/bt/esp_ble_mesh/mesh_models/client/include/ |
D | client_common.h | 25 struct bt_mesh_model *model; member 44 …void (*publish_status)(uint32_t opcode, struct bt_mesh_model *model, struct bt_mesh_msg_ctx *ctx, … 71 struct bt_mesh_model *model; /* Pointer to the client model */ member 83 int bt_mesh_client_init(struct bt_mesh_model *model); 85 int bt_mesh_client_deinit(struct bt_mesh_model *model); 96 bt_mesh_client_node_t *bt_mesh_is_client_recv_publish_msg(struct bt_mesh_model *model, 116 int bt_mesh_set_client_model_role(struct bt_mesh_model *model, uint8_t role);
|
/hal_espressif-latest/components/bt/esp_ble_mesh/btc/include/ |
D | btc_ble_mesh_health_model.h | 50 void btc_ble_mesh_health_publish_callback(uint32_t opcode, struct bt_mesh_model *model, 55 struct bt_mesh_model *model, 76 void btc_ble_mesh_health_server_fault_clear(struct bt_mesh_model *model, uint16_t company_id); 78 void btc_ble_mesh_health_server_fault_test(struct bt_mesh_model *model, 81 void btc_ble_mesh_health_server_attention_on(struct bt_mesh_model *model, uint8_t time); 83 void btc_ble_mesh_health_server_attention_off(struct bt_mesh_model *model);
|
/hal_espressif-latest/components/bt/esp_ble_mesh/mesh_core/include/ |
D | health_srv.h | 28 void (*fault_clear)(struct bt_mesh_model *model, uint16_t company_id); 31 void (*fault_test)(struct bt_mesh_model *model, uint8_t test_id, 35 void (*attn_on)(struct bt_mesh_model *model, uint8_t time); 38 void (*attn_off)(struct bt_mesh_model *model); 62 struct bt_mesh_model *model; member
|
/hal_espressif-latest/components/bt/esp_ble_mesh/api/core/ |
D | esp_ble_mesh_networking_api.c | 17 static esp_err_t ble_mesh_model_send_msg(esp_ble_mesh_model_t *model, in ble_mesh_model_send_msg() argument 57 if (op_len + length > model->pub->msg->size) { in ble_mesh_model_send_msg() 58 BT_ERR("Too small publication msg size %d", model->pub->msg->size); in ble_mesh_model_send_msg() 75 bt_mesh_model_msg_init(model->pub->msg, opcode); in ble_mesh_model_send_msg() 76 net_buf_simple_add_mem(model->pub->msg, data, length); in ble_mesh_model_send_msg() 91 arg.model_publish.model = model; in ble_mesh_model_send_msg() 94 arg.model_send.model = model; in ble_mesh_model_send_msg() 148 esp_err_t esp_ble_mesh_client_model_init(esp_ble_mesh_model_t *model) in esp_ble_mesh_client_model_init() argument 150 if (model == NULL) { in esp_ble_mesh_client_model_init() 156 return btc_ble_mesh_client_model_init(model); in esp_ble_mesh_client_model_init() [all …]
|
/hal_espressif-latest/components/bt/esp_ble_mesh/api/core/include/ |
D | esp_ble_mesh_networking_api.h | 72 esp_err_t esp_ble_mesh_client_model_init(esp_ble_mesh_model_t *model); 84 esp_err_t esp_ble_mesh_client_model_deinit(esp_ble_mesh_model_t *model); 98 esp_err_t esp_ble_mesh_server_model_send_msg(esp_ble_mesh_model_t *model, 118 esp_err_t esp_ble_mesh_client_model_send_msg(esp_ble_mesh_model_t *model, 144 esp_err_t esp_ble_mesh_model_publish(esp_ble_mesh_model_t *model, uint32_t opcode, 163 esp_err_t esp_ble_mesh_server_model_update_state(esp_ble_mesh_model_t *model,
|