Home
last modified time | relevance | path

Searched refs:opcode (Results 1 – 25 of 130) sorted by relevance

123456

/hal_espressif-2.7.6/components/ulp/include/esp32s2/
Dulp.h123 uint32_t opcode : 4; /*!< Opcode (OPCODE_DELAY) */ member
133 uint32_t opcode : 4; /*!< Opcode (OPCODE_ST) */ member
142 uint32_t opcode : 4; /*!< Opcode (OPCODE_LD) */ member
147 uint32_t opcode : 4; /*!< Opcode (OPCODE_HALT) */ member
157 uint32_t opcode : 4; /*!< Opcode (OPCODE_BRANCH) */ member
166 uint32_t opcode : 4; /*!< Opcode (OPCODE_BRANCH) */ member
176 uint32_t opcode : 4; /*!< Opcode (OPCODE_ALU) */ member
186 uint32_t opcode : 4; /*!< Opcode (OPCODE_ALU) */ member
195 uint32_t opcode : 4; /*!< Opcode (OPCODE_WR_REG) */ member
204 uint32_t opcode : 4; /*!< Opcode (OPCODE_RD_REG) */ member
[all …]
/hal_espressif-2.7.6/components/ulp/include/esp32s3/
Dulp.h123 uint32_t opcode : 4; /*!< Opcode (OPCODE_DELAY) */ member
133 uint32_t opcode : 4; /*!< Opcode (OPCODE_ST) */ member
142 uint32_t opcode : 4; /*!< Opcode (OPCODE_LD) */ member
147 uint32_t opcode : 4; /*!< Opcode (OPCODE_HALT) */ member
157 uint32_t opcode : 4; /*!< Opcode (OPCODE_BRANCH) */ member
166 uint32_t opcode : 4; /*!< Opcode (OPCODE_BRANCH) */ member
176 uint32_t opcode : 4; /*!< Opcode (OPCODE_ALU) */ member
186 uint32_t opcode : 4; /*!< Opcode (OPCODE_ALU) */ member
195 uint32_t opcode : 4; /*!< Opcode (OPCODE_WR_REG) */ member
204 uint32_t opcode : 4; /*!< Opcode (OPCODE_WR_REG) */ member
[all …]
/hal_espressif-2.7.6/components/ulp/include/esp32/
Dulp.h135 uint32_t opcode : 4; /*!< Opcode (OPCODE_DELAY) */ member
145 uint32_t opcode : 4; /*!< Opcode (OPCODE_ST) */ member
154 uint32_t opcode : 4; /*!< Opcode (OPCODE_LD) */ member
159 uint32_t opcode : 4; /*!< Opcode (OPCODE_HALT) */ member
169 uint32_t opcode : 4; /*!< Opcode (OPCODE_BRANCH) */ member
178 uint32_t opcode : 4; /*!< Opcode (OPCODE_BRANCH) */ member
188 uint32_t opcode : 4; /*!< Opcode (OPCODE_BRANCH) */ member
198 uint32_t opcode : 4; /*!< Opcode (OPCODE_ALU) */ member
207 uint32_t opcode : 4; /*!< Opcode (OPCODE_ALU) */ member
217 uint32_t opcode : 4; /*!< Opcode (OPCODE_ALU) */ member
[all …]
/hal_espressif-2.7.6/examples/protocols/http_server/ws_echo_server/
Dws_server_example_test.py48 def write(self, data='', opcode=OPCODE_TEXT): argument
49 if opcode == OPCODE_BIN:
51 if opcode == OPCODE_PING:
82 ws.write(data=DATA, opcode=expected_opcode)
83 opcode, data = ws.read()
84 …console_log('Testing opcode {}: Received opcode:{}, data:{}'.format(expected_opcode, opcode, data))
88 if opcode != OPCODE_PONG or data != DATA:
89 … raise RuntimeError('Failed to receive correct opcode:{} or data:{}'.format(opcode, data))
93 … if opcode != expected_opcode or data != DATA or opcode != dut_opcode or data != dut_data:
94 … raise RuntimeError('Failed to receive correct opcode:{} or data:{}'.format(opcode, data))
[all …]
/hal_espressif-2.7.6/components/driver/
Dsdspi_transaction.c37 void make_hw_cmd(uint32_t opcode, uint32_t arg, int timeout_ms, sdspi_hw_cmd_t *hw_cmd) in make_hw_cmd() argument
41 hw_cmd->cmd_index = opcode; in make_hw_cmd()
110 make_hw_cmd(cmdinfo->opcode, cmdinfo->arg, cmdinfo->timeout_ms, &hw_cmd); in sdspi_host_do_transaction()
130 if (!s_app_cmd && cmdinfo->opcode == SD_SEND_IF_COND) { in sdspi_host_do_transaction()
132 } else if (!s_app_cmd && cmdinfo->opcode == MMC_SEND_STATUS) { in sdspi_host_do_transaction()
134 } else if (!s_app_cmd && cmdinfo->opcode == SD_READ_OCR) { in sdspi_host_do_transaction()
136 } else if (s_app_cmd && cmdinfo->opcode == SD_APP_SD_STATUS) { in sdspi_host_do_transaction()
138 } else if (!s_app_cmd && cmdinfo->opcode == MMC_GO_IDLE_STATE && in sdspi_host_do_transaction()
142 } else if (!s_app_cmd && cmdinfo->opcode == SD_IO_SEND_OP_COND) { in sdspi_host_do_transaction()
144 } else if (!s_app_cmd && cmdinfo->opcode == SD_IO_RW_DIRECT) { in sdspi_host_do_transaction()
[all …]
/hal_espressif-2.7.6/components/bt/host/bluedroid/hci/
Dhci_layer.c45 uint16_t opcode; member
100 static waiting_command_t *get_waiting_command(command_opcode_t opcode);
251 STREAM_TO_UINT16(wait_entry->opcode, stream); in transmit_command()
260 HCI_TRACE_DEBUG("HCI Enqueue Comamnd opcode=0x%x\n", wait_entry->opcode); in transmit_command()
276 STREAM_TO_UINT16(wait_entry->opcode, stream); in transmit_command_futured()
310 if(wait_entry->opcode == HCI_HOST_NUM_PACKETS_DONE in event_command_ready()
312 || wait_entry->opcode == HCI_VENDOR_BLE_ADV_REPORT_FLOW_CONTROL in event_command_ready()
405 … hci layer timeout waiting for response to a command. opcode: 0x%x", __func__, wait_entry->opcode); in command_timed_out()
427 command_opcode_t opcode; in filter_incoming_event() local
436 STREAM_TO_UINT16(opcode, stream); in filter_incoming_event()
[all …]
/hal_espressif-2.7.6/components/bt/host/bluedroid/stack/include/stack/
Davrc_defs.h762 UINT8 opcode; /* Op Code (passthrough, vendor, etc) */ member
950 UINT8 opcode; /* Op Code (assigned by AVRC_BldCommand according to pdu) */ member
958 UINT8 opcode; /* Op Code (assigned by AVRC_BldCommand according to pdu) */ member
966 UINT8 opcode; /* Op Code (assigned by AVRC_BldCommand according to pdu) */ member
975 UINT8 opcode; /* Op Code (assigned by AVRC_BldCommand according to pdu) */ member
984 UINT8 opcode; /* Op Code (assigned by AVRC_BldCommand according to pdu) */ member
993 UINT8 opcode; /* Op Code (assigned by AVRC_BldCommand according to pdu) */ member
1003 UINT8 opcode; /* Op Code (assigned by AVRC_BldCommand according to pdu) */ member
1012 UINT8 opcode; /* Op Code (assigned by AVRC_BldCommand according to pdu) */ member
1020 UINT8 opcode; /* Op Code (assigned by AVRC_BldCommand according to pdu) */ member
[all …]
/hal_espressif-2.7.6/components/sdmmc/
Dsdmmc_cmd.c33 … slot, cmd->opcode, cmd->arg, cmd->flags, cmd->data, cmd->blklen, cmd->datalen, cmd->timeout_ms); in sdmmc_send_cmd()
36 ESP_LOGD(TAG, "cmd=%d, sdmmc_req_run returned 0x%x", cmd->opcode, err); in sdmmc_send_cmd()
53 .opcode = MMC_APP_CMD, in sdmmc_send_app_cmd()
73 .opcode = MMC_GO_IDLE_STATE, in sdmmc_send_cmd_go_idle_state()
101 .opcode = SD_SEND_IF_COND, in sdmmc_send_cmd_send_if_cond()
124 .opcode = SD_APP_OP_COND in sdmmc_send_cmd_send_op_cond()
133 cmd.opcode = SD_APP_OP_COND; in sdmmc_send_cmd_send_op_cond()
138 cmd.opcode = MMC_SEND_OP_COND; in sdmmc_send_cmd_send_op_cond()
178 .opcode = SD_READ_OCR, in sdmmc_send_cmd_read_ocr()
194 .opcode = MMC_ALL_SEND_CID, in sdmmc_send_cmd_all_send_cid()
[all …]
/hal_espressif-2.7.6/examples/bluetooth/esp_ble_mesh/ble_mesh_console/main/
Dble_mesh_reg_gen_onoff_client_cmd.c27 struct arg_int *opcode; member
47 uint32_t opcode = param->params->opcode; in ble_mesh_generic_onoff_client_model_cb() local
50 __func__, event, param->error_code, opcode); in ble_mesh_generic_onoff_client_model_cb()
54 switch (opcode) { in ble_mesh_generic_onoff_client_model_cb()
68 switch (opcode) { in ble_mesh_generic_onoff_client_model_cb()
132 arg_int_to_value(gen_onoff_state.opcode, onoff_common.opcode, "opcode"); in ble_mesh_generic_onoff_client_model()
162 gen_onoff_state.opcode = arg_int0("o", NULL, "<opcode>", "message opcode"); in ble_mesh_register_gen_onoff_client_command()
Dble_mesh_reg_test_perf_client_cmd.c29 struct arg_int *opcode; member
83 … ble_mesh_create_send_data((char *)data, profile_context->length, i, profile_context->opcode); in ble_mesh_test_performance_client_model_throughput()
85 esp_ble_mesh_client_model_send_msg(profile_context->model, &ctx, profile_context->opcode, in ble_mesh_test_performance_client_model_throughput()
126 arg_int_to_value(test_perf_client_model.opcode, profile_data->opcode, "opcode"); in ble_mesh_test_performance_client_model()
134 if (profile_data->opcode == ESP_BLE_MESH_VND_MODEL_OP_TEST_PERF_SET) { in ble_mesh_test_performance_client_model()
186 test_perf_client_model.opcode = arg_int0("o", NULL, "<opcode>", "opcode"); in ble_mesh_performance_client_model_command()
/hal_espressif-2.7.6/examples/bluetooth/esp_ble_mesh/ble_mesh_fast_provision/fast_prov_client/main/
Dmain.c319 uint32_t opcode; in example_custom_model_callback() local
329 opcode = param->model_operation.opcode; in example_custom_model_callback()
330 switch (opcode) { in example_custom_model_callback()
334 … ESP_LOGI(TAG, "%s: Fast Prov Client Model receives status, opcode 0x%04x", __func__, opcode); in example_custom_model_callback()
346 ESP_LOGI(TAG, "%s: opcode 0x%04x", __func__, param->model_operation.opcode); in example_custom_model_callback()
361 param->client_recv_publish_msg.opcode); in example_custom_model_callback()
365 param->client_send_timeout.opcode, param->client_send_timeout.ctx->addr); in example_custom_model_callback()
366 err = example_fast_prov_client_recv_timeout(param->client_send_timeout.opcode, in example_custom_model_callback()
383 uint32_t opcode; in example_config_client_callback() local
390 opcode = param->params->opcode; in example_config_client_callback()
[all …]
/hal_espressif-2.7.6/examples/bluetooth/esp_ble_mesh/ble_mesh_sensor_model/sensor_client/main/
Dmain.c94 esp_ble_mesh_model_t *model, uint32_t opcode) in example_ble_mesh_set_msg_common() argument
96 common->opcode = opcode; in example_ble_mesh_set_msg_common()
294 event, param->params->ctx.addr, param->params->opcode); in example_ble_mesh_config_client_cb()
309 if (param->params->opcode == ESP_BLE_MESH_MODEL_OP_COMPOSITION_DATA_GET) { in example_ble_mesh_config_client_cb()
333 if (param->params->opcode == ESP_BLE_MESH_MODEL_OP_APP_KEY_ADD) { in example_ble_mesh_config_client_cb()
346 } else if (param->params->opcode == ESP_BLE_MESH_MODEL_OP_MODEL_APP_BIND) { in example_ble_mesh_config_client_cb()
368 if (param->params->opcode == ESP_BLE_MESH_MODEL_OP_COMPOSITION_DATA_STATUS) { in example_ble_mesh_config_client_cb()
374 switch (param->params->opcode) { in example_ble_mesh_config_client_cb()
416 void example_ble_mesh_send_sensor_message(uint32_t opcode) in example_ble_mesh_send_sensor_message() argument
429 example_ble_mesh_set_msg_common(&common, node, sensor_client.model, opcode); in example_ble_mesh_send_sensor_message()
[all …]
/hal_espressif-2.7.6/components/bt/host/bluedroid/stack/avrc/
Davrc_utils.c199 UINT8 opcode = 0; in avrc_opcode_from_pdu() local
204 opcode = AVRC_OP_PASS_THRU; in avrc_opcode_from_pdu()
208 opcode = AVRC_OP_VENDOR; in avrc_opcode_from_pdu()
212 return opcode; in avrc_opcode_from_pdu()
224 BOOLEAN avrc_is_valid_opcode(UINT8 opcode) in avrc_is_valid_opcode() argument
227 switch (opcode) { in avrc_is_valid_opcode()
Davrc_bld_ct.c131 UINT8 opcode = avrc_opcode_from_pdu(p_cmd->pdu); in avrc_bld_init_cmd_buffer() local
132 AVRC_TRACE_API("avrc_bld_init_cmd_buffer: pdu=%x, opcode=%x", p_cmd->pdu, opcode); in avrc_bld_init_cmd_buffer()
135 switch (opcode) { in avrc_bld_init_cmd_buffer()
151 p_pkt->event = opcode; in avrc_bld_init_cmd_buffer()
157 if (opcode != AVRC_OP_PASS_THRU) { in avrc_bld_init_cmd_buffer()
161 switch (opcode) { in avrc_bld_init_cmd_buffer()
173 p_cmd->cmd.opcode = opcode; in avrc_bld_init_cmd_buffer()
/hal_espressif-2.7.6/examples/bluetooth/esp_ble_mesh/ble_mesh_provisioner/main/
Dmain.c170 esp_ble_mesh_model_t *model, uint32_t opcode) in example_ble_mesh_set_msg_common() argument
176 common->opcode = opcode; in example_ble_mesh_set_msg_common()
350 uint32_t opcode; in example_ble_mesh_config_client_cb() local
354 opcode = param->params->opcode; in example_ble_mesh_config_client_cb()
358 __func__, param->error_code, event, param->params->ctx.addr, opcode); in example_ble_mesh_config_client_cb()
361 ESP_LOGE(TAG, "Send config client message failed, opcode 0x%04x", opcode); in example_ble_mesh_config_client_cb()
373 switch (opcode) { in example_ble_mesh_config_client_cb()
394 switch (opcode) { in example_ble_mesh_config_client_cb()
424 switch (opcode) { in example_ble_mesh_config_client_cb()
436 switch (opcode) { in example_ble_mesh_config_client_cb()
[all …]
/hal_espressif-2.7.6/examples/bluetooth/esp_ble_mesh/ble_mesh_vendor_model/vendor_client/main/
Dmain.c147 esp_ble_mesh_model_t *model, uint32_t opcode) in example_ble_mesh_set_msg_common() argument
149 common->opcode = opcode; in example_ble_mesh_set_msg_common()
348 param->error_code, event, param->params->ctx.addr, param->params->opcode); in example_ble_mesh_config_client_cb()
351 ESP_LOGE(TAG, "Send config client message failed, opcode 0x%04x", param->params->opcode); in example_ble_mesh_config_client_cb()
363 if (param->params->opcode == ESP_BLE_MESH_MODEL_OP_COMPOSITION_DATA_GET) { in example_ble_mesh_config_client_cb()
387 if (param->params->opcode == ESP_BLE_MESH_MODEL_OP_APP_KEY_ADD) { in example_ble_mesh_config_client_cb()
397 } else if (param->params->opcode == ESP_BLE_MESH_MODEL_OP_MODEL_APP_BIND) { in example_ble_mesh_config_client_cb()
402 if (param->params->opcode == ESP_BLE_MESH_MODEL_OP_COMPOSITION_DATA_STATUS) { in example_ble_mesh_config_client_cb()
408 switch (param->params->opcode) { in example_ble_mesh_config_client_cb()
453 uint32_t opcode; in example_ble_mesh_send_vendor_message() local
[all …]
/hal_espressif-2.7.6/components/bt/esp_ble_mesh/mesh_models/client/
Dtime_scene_client.c100 uint32_t opcode = 0U; in timeout_handler() local
112 opcode = node->opcode; in timeout_handler()
115 opcode, BTC_BLE_MESH_EVT_TIME_SCENE_CLIENT_TIMEOUT, ctx.model, &ctx, NULL, 0); in timeout_handler()
307 switch (node->opcode) { in time_scene_status()
333 uint32_t opcode = node->opcode; in time_scene_status() local
335 bt_mesh_time_scene_client_cb_evt_to_btc(opcode, evt, model, ctx, val, len); in time_scene_status()
381 bt_mesh_model_msg_init(&msg, common->opcode); in time_scene_get_state()
384 switch (common->opcode) { in time_scene_get_state()
392 BT_DBG("No parameters for Time Scene Get 0x%04x", common->opcode); in time_scene_get_state()
412 bt_mesh_model_msg_init(msg, common->opcode); in time_scene_set_state()
[all …]
Dsensor_client.c84 uint32_t opcode = 0U; in timeout_handler() local
96 opcode = node->opcode; in timeout_handler()
99 opcode, BTC_BLE_MESH_EVT_SENSOR_CLIENT_TIMEOUT, ctx.model, &ctx, NULL, 0); in timeout_handler()
270 switch (node->opcode) { in sensor_status()
289 uint32_t opcode = node->opcode; in sensor_status() local
291 bt_mesh_sensor_client_cb_evt_to_btc(opcode, evt, model, ctx, val, len); in sensor_status()
372 bt_mesh_model_msg_init(msg, common->opcode); in sensor_act_state()
374 switch (common->opcode) { in sensor_act_state()
450 BT_ERR("Invalid Sensor client opcode 0x%04x", common->opcode); in sensor_act_state()
478 switch (common->opcode) { in bt_mesh_sensor_client_get_state()
[all …]
/hal_espressif-2.7.6/components/bt/esp_ble_mesh/api/core/
Desp_ble_mesh_networking_api.c27 uint32_t opcode, in ble_mesh_model_send_msg() argument
56 if (opcode < 0x100) { in ble_mesh_model_send_msg()
58 } else if (opcode < 0x10000) { in ble_mesh_model_send_msg()
83 bt_mesh_model_msg_init(model->pub->msg, opcode); in ble_mesh_model_send_msg()
90 esp_ble_mesh_model_msg_opcode_init(msg_data, opcode); in ble_mesh_model_send_msg()
105 arg.model_send.opcode = opcode; in ble_mesh_model_send_msg()
127 esp_err_t esp_ble_mesh_model_msg_opcode_init(uint8_t *data, uint32_t opcode) in esp_ble_mesh_model_msg_opcode_init() argument
135 if (opcode < 0x100) { in esp_ble_mesh_model_msg_opcode_init()
137 data[0] = opcode & 0xff; in esp_ble_mesh_model_msg_opcode_init()
141 if (opcode < 0x10000) { in esp_ble_mesh_model_msg_opcode_init()
[all …]
/hal_espressif-2.7.6/examples/bluetooth/esp_ble_mesh/ble_mesh_fast_provision/fast_prov_server/main/
Dmain.c425 uint32_t opcode; in example_ble_mesh_custom_model_cb() local
435 opcode = param->model_operation.opcode; in example_ble_mesh_custom_model_cb()
436 switch (opcode) { in example_ble_mesh_custom_model_cb()
443 ESP_LOGI(TAG, "%s: Fast prov server receives msg, opcode 0x%04x", __func__, opcode); in example_ble_mesh_custom_model_cb()
459 ESP_LOGI(TAG, "%s: Fast prov client receives msg, opcode 0x%04x", __func__, opcode); in example_ble_mesh_custom_model_cb()
471 ESP_LOGI(TAG, "%s: opcode 0x%04x", __func__, param->model_operation.opcode); in example_ble_mesh_custom_model_cb()
478 switch (param->model_send_comp.opcode) { in example_ble_mesh_custom_model_cb()
484 param->model_send_comp.opcode, in example_ble_mesh_custom_model_cb()
502 param->client_recv_publish_msg.opcode); in example_ble_mesh_custom_model_cb()
506 param->client_send_timeout.opcode, param->client_send_timeout.ctx->addr); in example_ble_mesh_custom_model_cb()
[all …]
/hal_espressif-2.7.6/components/bt/host/bluedroid/stack/btu/
Dbtu_hcif.c442 uint16_t opcode; in btu_hcif_send_cmd() local
446 STREAM_TO_UINT16(opcode, stream); in btu_hcif_send_cmd()
450 if ((opcode & HCI_GRP_VENDOR_SPECIFIC) == HCI_GRP_VENDOR_SPECIFIC in btu_hcif_send_cmd()
452 || (opcode == HCI_BLE_RAND) in btu_hcif_send_cmd()
453 || (opcode == HCI_BLE_ENCRYPT) in btu_hcif_send_cmd()
481 uint16_t opcode; in btu_hcif_send_cmd_sync() local
485 STREAM_TO_UINT16(opcode, stream); in btu_hcif_send_cmd_sync()
487 sync_info->opcode = opcode; in btu_hcif_send_cmd_sync()
491 if ((opcode & HCI_GRP_VENDOR_SPECIFIC) == HCI_GRP_VENDOR_SPECIFIC in btu_hcif_send_cmd_sync()
493 || (opcode == HCI_BLE_RAND) in btu_hcif_send_cmd_sync()
[all …]
/hal_espressif-2.7.6/components/bt/esp_ble_mesh/mesh_core/include/
Dmesh_hci.h96 #define BLE_MESH_OGF(opcode) (((opcode) >> 10) & BIT_MASK(6)) argument
99 #define BLE_MESH_OCF(opcode) ((opcode) & BIT_MASK(10)) argument
/hal_espressif-2.7.6/components/bt/esp_ble_mesh/btc/
Dbtc_ble_mesh_health_model.c146 switch (p_src_data->params->opcode) { in btc_ble_mesh_health_client_copy_req_data()
203 switch (arg->params->opcode) { in btc_ble_mesh_health_client_free_req_data()
246 void bt_mesh_health_client_cb_evt_to_btc(uint32_t opcode, uint8_t evt_type, in bt_mesh_health_client_cb_evt_to_btc() argument
278 params.opcode = opcode; in bt_mesh_health_client_cb_evt_to_btc()
300 void btc_ble_mesh_health_publish_callback(uint32_t opcode, struct bt_mesh_model *model, in btc_ble_mesh_health_publish_callback() argument
309 bt_mesh_health_client_cb_evt_to_btc(opcode, BTC_BLE_MESH_EVT_HEALTH_CLIENT_PUBLISH, in btc_ble_mesh_health_publish_callback()
324 if (params->opcode == ESP_BLE_MESH_MODEL_OP_HEALTH_FAULT_GET && get == NULL) { in btc_ble_mesh_health_client_get_state()
329 param.opcode = params->opcode; in btc_ble_mesh_health_client_get_state()
339 switch (param.opcode) { in btc_ble_mesh_health_client_get_state()
347 BT_ERR("Invalid Health Get opcode 0x%04x", param.opcode); in btc_ble_mesh_health_client_get_state()
[all …]
/hal_espressif-2.7.6/examples/bluetooth/esp_ble_mesh/ble_mesh_wifi_coexist/main/
Dmain.c437 uint32_t opcode; in example_ble_mesh_custom_model_cb() local
447 opcode = param->model_operation.opcode; in example_ble_mesh_custom_model_cb()
448 switch (opcode) { in example_ble_mesh_custom_model_cb()
455 ESP_LOGI(TAG, "%s: Fast prov server receives msg, opcode 0x%04x", __func__, opcode); in example_ble_mesh_custom_model_cb()
471 ESP_LOGI(TAG, "%s: Fast prov client receives msg, opcode 0x%04x", __func__, opcode); in example_ble_mesh_custom_model_cb()
483 ESP_LOGI(TAG, "%s: opcode 0x%04x", __func__, param->model_operation.opcode); in example_ble_mesh_custom_model_cb()
490 switch (param->model_send_comp.opcode) { in example_ble_mesh_custom_model_cb()
496 param->model_send_comp.opcode, in example_ble_mesh_custom_model_cb()
514 param->client_recv_publish_msg.opcode); in example_ble_mesh_custom_model_cb()
518 param->client_send_timeout.opcode, param->client_send_timeout.ctx->addr); in example_ble_mesh_custom_model_cb()
[all …]
/hal_espressif-2.7.6/components/bt/esp_ble_mesh/mesh_core/
Daccess.c563 uint8_t model_count, uint32_t opcode, in find_op() argument
574 if (op->opcode == opcode) { in find_op()
584 static int get_opcode(struct net_buf_simple *buf, uint32_t *opcode) in get_opcode() argument
594 *opcode = net_buf_simple_pull_u8(buf); in get_opcode()
602 *opcode = net_buf_simple_pull_be16(buf); in get_opcode()
610 *opcode = net_buf_simple_pull_u8(buf) << 16; in get_opcode()
615 *opcode |= net_buf_simple_pull_le16(buf); in get_opcode()
643 uint32_t opcode = 0U; in bt_mesh_model_recv() local
651 if (get_opcode(buf, &opcode) < 0) { in bt_mesh_model_recv()
656 BT_DBG("OpCode 0x%08x", opcode); in bt_mesh_model_recv()
[all …]

123456