Home
last modified time | relevance | path

Searched refs:model_id (Results 1 – 25 of 28) sorted by relevance

12

/hal_espressif-3.6.0/components/bt/esp_ble_mesh/api/models/include/
Desp_ble_mesh_config_model_api.h91 uint16_t model_id; /*!< The model id */ member
98 uint16_t model_id; /*!< The model id */ member
104 uint16_t model_id; /*!< The model id */ member
121 uint16_t model_id; /*!< The model id */ member
127 uint16_t model_id; /*!< The model id */ member
184 uint16_t model_id; /*!< The model id */ member
197 uint16_t model_id; /*!< The model id */ member
205 uint16_t model_id; /*!< The model id */ member
213 uint16_t model_id; /*!< The model id */ member
221 uint16_t model_id; /*!< The model id */ member
[all …]
/hal_espressif-3.6.0/components/bt/esp_ble_mesh/api/core/
Desp_ble_mesh_local_data_operation_api.c51 uint16_t company_id, uint16_t model_id) in esp_ble_mesh_find_vendor_model() argument
56 return btc_ble_mesh_model_find_vnd(element, company_id, model_id); in esp_ble_mesh_find_vendor_model()
60 uint16_t model_id) in esp_ble_mesh_find_sig_model() argument
65 return btc_ble_mesh_model_find(element, model_id); in esp_ble_mesh_find_sig_model()
74 uint16_t model_id, uint16_t group_addr) in esp_ble_mesh_model_subscribe_group_addr() argument
92 arg.model_sub_group_addr.model_id = model_id; in esp_ble_mesh_model_subscribe_group_addr()
100 uint16_t model_id, uint16_t group_addr) in esp_ble_mesh_model_unsubscribe_group_addr() argument
118 arg.model_unsub_group_addr.model_id = model_id; in esp_ble_mesh_model_unsubscribe_group_addr()
183 uint16_t model_id, uint16_t app_idx) in esp_ble_mesh_node_bind_app_key_to_local_model() argument
199 arg.node_local_mod_app_bind.model_id = model_id; in esp_ble_mesh_node_bind_app_key_to_local_model()
Desp_ble_mesh_networking_api.c450 … uint16_t model_id, uint16_t company_id) in esp_ble_mesh_provisioner_bind_app_key_to_local_model() argument
467 arg.local_mod_app_bind.model_id = model_id; in esp_ble_mesh_provisioner_bind_app_key_to_local_model()
/hal_espressif-3.6.0/components/bt/esp_ble_mesh/api/core/include/
Desp_ble_mesh_local_data_operation_api.h83 uint16_t company_id, uint16_t model_id);
95 uint16_t model_id);
119 uint16_t model_id, uint16_t group_addr);
135 uint16_t model_id, uint16_t group_addr);
201 uint16_t model_id, uint16_t app_idx);
Desp_ble_mesh_networking_api.h370 … uint16_t model_id, uint16_t company_id);
/hal_espressif-3.6.0/components/bt/esp_ble_mesh/btc/
Dbtc_ble_mesh_config_model.c426 get->model_pub_get.model_id, in btc_ble_mesh_config_client_get_state()
436 get->sig_model_sub_get.model_id); in btc_ble_mesh_config_client_get_state()
439 get->vnd_model_sub_get.model_id, in btc_ble_mesh_config_client_get_state()
449 get->sig_model_app_get.model_id); in btc_ble_mesh_config_client_get_state()
452 get->vnd_model_app_get.model_id, in btc_ble_mesh_config_client_get_state()
515 set->model_app_bind.model_id, in btc_ble_mesh_config_client_set_state()
527 set->model_pub_set.model_id, in btc_ble_mesh_config_client_set_state()
533 set->model_sub_add.model_id, in btc_ble_mesh_config_client_set_state()
538 set->model_sub_delete.model_id, in btc_ble_mesh_config_client_set_state()
543 set->model_sub_overwrite.model_id, in btc_ble_mesh_config_client_set_state()
[all …]
Dbtc_ble_mesh_prov.c1259 switch (model->model_id) { in btc_ble_mesh_model_op_set()
1864 param.node_bind_app_key_to_model_comp.model_id = arg->node_local_mod_app_bind.model_id; in btc_ble_mesh_prov_call_handler()
1869 arg->node_local_mod_app_bind.model_id, in btc_ble_mesh_prov_call_handler()
2026 param.provisioner_bind_app_key_to_model_comp.model_id = arg->local_mod_app_bind.model_id; in btc_ble_mesh_prov_call_handler()
2029 arg->local_mod_app_bind.model_id, in btc_ble_mesh_prov_call_handler()
2247 param.model_sub_group_addr_comp.model_id = arg->model_sub_group_addr.model_id; in btc_ble_mesh_prov_call_handler()
2252 arg->model_sub_group_addr.model_id, in btc_ble_mesh_prov_call_handler()
2259 param.model_unsub_group_addr_comp.model_id = arg->model_unsub_group_addr.model_id; in btc_ble_mesh_prov_call_handler()
2264 arg->model_unsub_group_addr.model_id, in btc_ble_mesh_prov_call_handler()
/hal_espressif-3.6.0/examples/bluetooth/esp_ble_mesh/common_components/fast_provisioning/
Dble_mesh_fast_prov_operation.c139 esp_ble_mesh_model_t *example_find_model(uint16_t element_addr, uint16_t model_id, in example_find_model() argument
154 return esp_ble_mesh_find_sig_model(element, model_id); in example_find_model()
156 return esp_ble_mesh_find_vendor_model(element, company_id, model_id); in example_find_model()
197 if (model->model_id == ESP_BLE_MESH_MODEL_ID_CONFIG_SRV || in example_handle_config_app_key_add_evt()
198 model->model_id == ESP_BLE_MESH_MODEL_ID_CONFIG_CLI) { in example_handle_config_app_key_add_evt()
217 __func__, model->model_id); in example_handle_config_app_key_add_evt()
239 __func__, model->vnd.model_id, model->vnd.company_id); in example_handle_config_app_key_add_evt()
247 esp_err_t example_add_fast_prov_group_address(uint16_t model_id, uint16_t group_addr) in example_add_fast_prov_group_address() argument
265 model = esp_ble_mesh_find_sig_model(element, model_id); in example_add_fast_prov_group_address()
292 esp_err_t example_delete_fast_prov_group_address(uint16_t model_id, uint16_t group_addr) in example_delete_fast_prov_group_address() argument
[all …]
Dble_mesh_fast_prov_operation.h30 esp_ble_mesh_model_t *example_find_model(uint16_t element_addr, uint16_t model_id,
35 esp_err_t example_add_fast_prov_group_address(uint16_t model_id, uint16_t group_addr);
37 esp_err_t example_delete_fast_prov_group_address(uint16_t model_id, uint16_t group_addr);
/hal_espressif-3.6.0/examples/bluetooth/esp_ble_mesh/ble_mesh_sensor_model/sensor_client/main/
Dmain.c249 uint16_t loc, model_id, company_id; in example_ble_mesh_parse_node_comp_data() local
270 model_id = COMP_DATA_2_OCTET(data, offset); in example_ble_mesh_parse_node_comp_data()
271 ESP_LOGI(TAG, "* SIG Model ID 0x%04x *", model_id); in example_ble_mesh_parse_node_comp_data()
276 model_id = COMP_DATA_2_OCTET(data, offset + 2); in example_ble_mesh_parse_node_comp_data()
277 ESP_LOGI(TAG, "* Vendor Model ID 0x%04x, Company ID 0x%04x *", model_id, company_id); in example_ble_mesh_parse_node_comp_data()
337 set.model_app_bind.model_id = ESP_BLE_MESH_MODEL_ID_SENSOR_SRV; in example_ble_mesh_config_client_cb()
347 if (param->status_cb.model_app_status.model_id == ESP_BLE_MESH_MODEL_ID_SENSOR_SRV && in example_ble_mesh_config_client_cb()
352 set.model_app_bind.model_id = ESP_BLE_MESH_MODEL_ID_SENSOR_SETUP_SRV; in example_ble_mesh_config_client_cb()
361 … } else if (param->status_cb.model_app_status.model_id == ESP_BLE_MESH_MODEL_ID_SENSOR_SETUP_SRV && in example_ble_mesh_config_client_cb()
399 set.model_app_bind.model_id = wait_model_id; in example_ble_mesh_config_client_cb()
/hal_espressif-3.6.0/examples/bluetooth/esp_ble_mesh/ble_mesh_vendor_model/vendor_client/main/
Dmain.c304 uint16_t loc, model_id, company_id; in example_ble_mesh_parse_node_comp_data() local
325 model_id = COMP_DATA_2_OCTET(data, offset); in example_ble_mesh_parse_node_comp_data()
326 ESP_LOGI(TAG, "* SIG Model ID 0x%04x *", model_id); in example_ble_mesh_parse_node_comp_data()
331 model_id = COMP_DATA_2_OCTET(data, offset + 2); in example_ble_mesh_parse_node_comp_data()
332 ESP_LOGI(TAG, "* Vendor Model ID 0x%04x, Company ID 0x%04x *", model_id, company_id); in example_ble_mesh_parse_node_comp_data()
391 set.model_app_bind.model_id = ESP_BLE_MESH_VND_MODEL_ID_SERVER; in example_ble_mesh_config_client_cb()
433 set.model_app_bind.model_id = ESP_BLE_MESH_VND_MODEL_ID_SERVER; in example_ble_mesh_config_client_cb()
/hal_espressif-3.6.0/examples/bluetooth/esp_ble_mesh/ble_mesh_console/main/
Dble_mesh_adapter.c10 esp_ble_mesh_model_t *ble_mesh_get_model(uint16_t model_id) in ble_mesh_get_model() argument
14 switch (model_id) { in ble_mesh_get_model()
41 esp_ble_mesh_comp_t *ble_mesh_get_component(uint16_t model_id) in ble_mesh_get_component() argument
44 switch (model_id) { in ble_mesh_get_component()
Dble_mesh_reg_cfg_client_cmd.c158 …->status_cb.model_app_status.app_idx, param->status_cb.model_app_status.model_id, param->params->c… in ble_mesh_configuration_client_model_cb()
293 mod_app_bind.model_id = configuration_client_model_operation.mod_id->ival[0]; in ble_mesh_configuration_client_model_operation()
294 mod_sub_add.model_id = configuration_client_model_operation.mod_id->ival[0]; in ble_mesh_configuration_client_model_operation()
295 mod_sub_del.model_id = configuration_client_model_operation.mod_id->ival[0]; in ble_mesh_configuration_client_model_operation()
296 get_state.model_pub_get.model_id = configuration_client_model_operation.mod_id->ival[0];; in ble_mesh_configuration_client_model_operation()
297 mod_pub_set.model_id = configuration_client_model_operation.mod_id->ival[0]; in ble_mesh_configuration_client_model_operation()
Dble_mesh_adapter.h112 esp_ble_mesh_model_t *ble_mesh_get_model(uint16_t model_id);
113 esp_ble_mesh_comp_t *ble_mesh_get_component(uint16_t model_id);
Dble_mesh_register_cmd.c436 …ESP_LOGI(TAG, "PublishSend,OK,0x%x,%d,", param->model_publish_comp.model->model_id, param->model_p… in ble_mesh_model_cb()
966 uint16_t model_id = 0; in ble_mesh_provision_bind_local_model() local
979 arg_int_to_value(provisioner_local_bind.mod_id, model_id, "model id"); in ble_mesh_provision_bind_local_model()
981 …err = esp_ble_mesh_provisioner_bind_app_key_to_local_model(element_addr, app_idx, model_id, compan… in ble_mesh_provision_bind_local_model()
/hal_espressif-3.6.0/components/bt/esp_ble_mesh/btc/include/
Dbtc_ble_mesh_prov.h128 uint16_t model_id; member
197 uint16_t model_id; member
301 uint16_t model_id; member
307 uint16_t model_id; member
/hal_espressif-3.6.0/docs/
Dsphinx-known-warnings.txt29 # This seems like a bug, as the field are ::model_id and ::vnd::model_id
30 esp_ble_mesh_defs.inc:line: WARNING: Duplicate declaration, uint16_t esp_ble_mesh_model::model_id
/hal_espressif-3.6.0/components/bt/esp_ble_mesh/api/
Desp_ble_mesh_defs.h266 .model_id = (_id), \
280 .vnd.model_id = (_id), \
472 const uint16_t model_id; /*!< 16-bit model identifier */ member
475 uint16_t model_id; /*!< 16-bit model identifier */ member
1023 uint16_t model_id; /*!< Model ID */ member
1191 uint16_t model_id; /*!< Model ID */ member
1484 uint16_t model_id; /*!< Model ID */ member
1494 uint16_t model_id; /*!< Model ID */ member
/hal_espressif-3.6.0/docs/zh_CN/api-guides/esp-ble-mesh/
Dble-mesh-faq.rst142 uint16_t model_id;
178 … data->Vendor_models[i/2].model_id = mystr[i + pos_vnd_base] | (mystr[i + pos_vnd_base + 1] << 8);
179 printf("%d: %4.4x\n", i/2, data->Vendor_models[i/2].model_id);
225 esp_err_t example_add_fast_prov_group_address(uint16_t model_id, uint16_t group_addr)
243 model = esp_ble_mesh_find_sig_model(element, model_id);
/hal_espressif-3.6.0/examples/bluetooth/esp_ble_mesh/ble_mesh_node/onoff_client/main/
Dmain.c253 param->value.state_change.mod_app_bind.model_id); in example_ble_mesh_config_server_cb()
255 … param->value.state_change.mod_app_bind.model_id == ESP_BLE_MESH_MODEL_ID_GEN_ONOFF_CLI) { in example_ble_mesh_config_server_cb()
/hal_espressif-3.6.0/examples/bluetooth/esp_ble_mesh/ble_mesh_node/onoff_server/main/
Dmain.c270 param->value.state_change.mod_app_bind.model_id); in example_ble_mesh_config_server_cb()
278 param->value.state_change.mod_sub_add.model_id); in example_ble_mesh_config_server_cb()
/hal_espressif-3.6.0/examples/bluetooth/esp_ble_mesh/ble_mesh_sensor_model/sensor_server/main/
Dmain.c213 param->value.state_change.mod_app_bind.model_id); in example_ble_mesh_config_server_cb()
221 param->value.state_change.mod_sub_add.model_id); in example_ble_mesh_config_server_cb()
522 event, param->ctx.addr, param->ctx.recv_dst, param->model->model_id); in example_ble_mesh_sensor_server_cb()
/hal_espressif-3.6.0/examples/bluetooth/esp_ble_mesh/aligenie_demo/main/
Daligenie_demo.c923 … param->model_sub_group_addr_comp.company_id, param->model_sub_group_addr_comp.model_id, in example_ble_mesh_provisioning_cb()
929 …param->node_bind_app_key_to_model_comp.company_id, param->node_bind_app_key_to_model_comp.model_id, in example_ble_mesh_provisioning_cb()
987 param->value.state_change.mod_app_bind.model_id); in example_ble_mesh_config_server_cb()
996 param->value.state_change.mod_sub_add.model_id); in example_ble_mesh_config_server_cb()
1239 param->server_model_update_state.model->model_id, in example_ble_mesh_custom_model_cb()
/hal_espressif-3.6.0/examples/bluetooth/esp_ble_mesh/ble_mesh_vendor_model/vendor_server/main/
Dmain.c145 param->value.state_change.mod_app_bind.model_id); in example_ble_mesh_config_server_cb()
/hal_espressif-3.6.0/examples/bluetooth/esp_ble_mesh/ble_mesh_provisioner/main/
Dmain.c400 set_state.model_app_bind.model_id = ESP_BLE_MESH_MODEL_ID_GEN_ONOFF_SRV; in example_ble_mesh_config_client_cb()
466 set_state.model_app_bind.model_id = ESP_BLE_MESH_MODEL_ID_GEN_ONOFF_SRV; in example_ble_mesh_config_client_cb()

12