Home
last modified time | relevance | path

Searched refs:msg (Results 1 – 25 of 218) sorted by relevance

123456789

/hal_espressif-latest/components/bt/common/btc/profile/esp/blufi/
Dblufi_protocol.c24 btc_msg_t msg; in btc_blufi_protocol_handler() local
40 msg.sig = BTC_SIG_API_CB; in btc_blufi_protocol_handler()
41 msg.pid = BTC_PID_BLUFI; in btc_blufi_protocol_handler()
42 msg.act = ESP_BLUFI_EVENT_SET_WIFI_OPMODE; in btc_blufi_protocol_handler()
45 btc_transfer_context(&msg, &param, sizeof(esp_blufi_cb_param_t), NULL, NULL); in btc_blufi_protocol_handler()
48 msg.sig = BTC_SIG_API_CB; in btc_blufi_protocol_handler()
49 msg.pid = BTC_PID_BLUFI; in btc_blufi_protocol_handler()
50 msg.act = ESP_BLUFI_EVENT_REQ_CONNECT_TO_AP; in btc_blufi_protocol_handler()
52 btc_transfer_context(&msg, NULL, 0, NULL, NULL); in btc_blufi_protocol_handler()
55 msg.sig = BTC_SIG_API_CB; in btc_blufi_protocol_handler()
[all …]
/hal_espressif-latest/components/wpa_supplicant/src/wps/
Dwps_attr_build.c21 int wps_build_public_key(struct wps_data *wps, struct wpabuf *msg) in wps_build_public_key() argument
82 if (msg) { in wps_build_public_key()
84 wpabuf_put_be16(msg, ATTR_PUBLIC_KEY); in wps_build_public_key()
85 wpabuf_put_be16(msg, wpabuf_len(pubkey)); in wps_build_public_key()
86 wpabuf_put_buf(msg, pubkey); in wps_build_public_key()
103 int wps_build_req_type(struct wpabuf *msg, enum wps_request_type type) in wps_build_req_type() argument
106 wpabuf_put_be16(msg, ATTR_REQUEST_TYPE); in wps_build_req_type()
107 wpabuf_put_be16(msg, 1); in wps_build_req_type()
108 wpabuf_put_u8(msg, type); in wps_build_req_type()
113 int wps_build_resp_type(struct wpabuf *msg, enum wps_response_type type) in wps_build_resp_type() argument
[all …]
Dwps_dev_attr.c16 int wps_build_manufacturer(struct wps_device_data *dev, struct wpabuf *msg) in wps_build_manufacturer() argument
20 wpabuf_put_be16(msg, ATTR_MANUFACTURER); in wps_build_manufacturer()
29 wpabuf_put_be16(msg, 1); in wps_build_manufacturer()
30 wpabuf_put_u8(msg, ' '); in wps_build_manufacturer()
34 wpabuf_put_be16(msg, len); in wps_build_manufacturer()
35 wpabuf_put_data(msg, dev->manufacturer, len); in wps_build_manufacturer()
40 int wps_build_model_name(struct wps_device_data *dev, struct wpabuf *msg) in wps_build_model_name() argument
44 wpabuf_put_be16(msg, ATTR_MODEL_NAME); in wps_build_model_name()
53 wpabuf_put_be16(msg, 1); in wps_build_model_name()
54 wpabuf_put_u8(msg, ' '); in wps_build_model_name()
[all …]
Dwps_dev_attr.h14 int wps_build_manufacturer(struct wps_device_data *dev, struct wpabuf *msg);
15 int wps_build_model_name(struct wps_device_data *dev, struct wpabuf *msg);
16 int wps_build_model_number(struct wps_device_data *dev, struct wpabuf *msg);
17 int wps_build_serial_number(struct wps_device_data *dev, struct wpabuf *msg);
18 int wps_build_dev_name(struct wps_device_data *dev, struct wpabuf *msg);
19 int wps_build_device_attrs(struct wps_device_data *dev, struct wpabuf *msg);
20 int wps_build_os_version(struct wps_device_data *dev, struct wpabuf *msg);
21 int wps_build_vendor_ext_m1(struct wps_device_data *dev, struct wpabuf *msg);
22 int wps_build_rf_bands(struct wps_device_data *dev, struct wpabuf *msg,
25 struct wpabuf *msg);
[all …]
Dwps_common.c278 void wps_fail_event(struct wps_context *wps, enum wps_msg_type msg, in wps_fail_event() argument
287 data.fail.msg = msg; in wps_fail_event()
453 struct wpabuf msg; in wps_oob_use_cred() local
461 wpabuf_set(&msg, attr->cred[i], attr->cred_len[i]); in wps_oob_use_cred()
462 if (wps_parse_msg(&msg, &cattr) < 0 || in wps_oob_use_cred()
593 struct wpabuf *msg; in wps_build_wsc_ack() local
597 msg = wpabuf_alloc(1000); in wps_build_wsc_ack()
598 if (msg == NULL) in wps_build_wsc_ack()
601 if (wps_build_version(msg) || in wps_build_wsc_ack()
602 wps_build_msg_type(msg, WPS_WSC_ACK) || in wps_build_wsc_ack()
[all …]
Dwps_enrollee.c21 static int wps_build_wps_state(struct wps_data *wps, struct wpabuf *msg) in wps_build_wps_state() argument
30 wpabuf_put_be16(msg, ATTR_WPS_STATE); in wps_build_wps_state()
31 wpabuf_put_be16(msg, 1); in wps_build_wps_state()
32 wpabuf_put_u8(msg, state); in wps_build_wps_state()
37 static int wps_build_e_hash(struct wps_data *wps, struct wpabuf *msg) in wps_build_e_hash() argument
56 wpabuf_put_be16(msg, ATTR_E_HASH1); in wps_build_e_hash()
57 wpabuf_put_be16(msg, SHA256_MAC_LEN); in wps_build_e_hash()
58 hash = wpabuf_put(msg, SHA256_MAC_LEN); in wps_build_e_hash()
72 wpabuf_put_be16(msg, ATTR_E_HASH2); in wps_build_e_hash()
73 wpabuf_put_be16(msg, SHA256_MAC_LEN); in wps_build_e_hash()
[all …]
/hal_espressif-latest/components/bt/host/bluedroid/api/
Desp_hf_client_api.c38 btc_msg_t msg; in esp_hf_client_init() local
40 msg.sig = BTC_SIG_API_CALL; in esp_hf_client_init()
41 msg.pid = BTC_PID_HF_CLIENT; in esp_hf_client_init()
42 msg.act = BTC_HF_CLIENT_INIT_EVT; in esp_hf_client_init()
45 bt_status_t stat = btc_transfer_context(&msg, NULL, 0, NULL, NULL); in esp_hf_client_init()
55 btc_msg_t msg; in esp_hf_client_deinit() local
57 msg.sig = BTC_SIG_API_CALL; in esp_hf_client_deinit()
58 msg.pid = BTC_PID_HF_CLIENT; in esp_hf_client_deinit()
59 msg.act = BTC_HF_CLIENT_DEINIT_EVT; in esp_hf_client_deinit()
62 bt_status_t stat = btc_transfer_context(&msg, NULL, 0, NULL, NULL); in esp_hf_client_deinit()
[all …]
Desp_gap_ble_api.c33 btc_msg_t msg = {0}; in esp_ble_gap_config_adv_data() local
46 msg.sig = BTC_SIG_API_CALL; in esp_ble_gap_config_adv_data()
47 msg.pid = BTC_PID_GAP_BLE; in esp_ble_gap_config_adv_data()
48 msg.act = BTC_GAP_BLE_ACT_CFG_ADV_DATA; in esp_ble_gap_config_adv_data()
51 return (btc_transfer_context(&msg, &arg, sizeof(btc_ble_gap_args_t), btc_gap_ble_arg_deep_copy, in esp_ble_gap_config_adv_data()
58 btc_msg_t msg = {0}; in esp_ble_gap_set_scan_params() local
67 msg.sig = BTC_SIG_API_CALL; in esp_ble_gap_set_scan_params()
68 msg.pid = BTC_PID_GAP_BLE; in esp_ble_gap_set_scan_params()
69 msg.act = BTC_GAP_BLE_ACT_SET_SCAN_PARAM; in esp_ble_gap_set_scan_params()
72 …return (btc_transfer_context(&msg, &arg, sizeof(btc_ble_gap_args_t), NULL, NULL) == BT_STATUS_SUCC… in esp_ble_gap_set_scan_params()
[all …]
Desp_a2dp_api.c28 btc_msg_t msg; in esp_a2d_sink_init() local
30 msg.sig = BTC_SIG_API_CALL; in esp_a2d_sink_init()
31 msg.pid = BTC_PID_A2DP; in esp_a2d_sink_init()
32 msg.act = BTC_AV_SINK_API_INIT_EVT; in esp_a2d_sink_init()
35 bt_status_t stat = btc_transfer_context(&msg, NULL, 0, NULL, NULL); in esp_a2d_sink_init()
49 btc_msg_t msg; in esp_a2d_sink_deinit() local
51 msg.sig = BTC_SIG_API_CALL; in esp_a2d_sink_deinit()
52 msg.pid = BTC_PID_A2DP; in esp_a2d_sink_deinit()
53 msg.act = BTC_AV_SINK_API_DEINIT_EVT; in esp_a2d_sink_deinit()
56 bt_status_t stat = btc_transfer_context(&msg, NULL, 0, NULL, NULL); in esp_a2d_sink_deinit()
[all …]
Desp_hidd_api.c34 btc_msg_t msg; in esp_bt_hid_device_init() local
35 msg.sig = BTC_SIG_API_CALL; in esp_bt_hid_device_init()
36 msg.pid = BTC_PID_HD; in esp_bt_hid_device_init()
37 msg.act = BTC_HD_INIT_EVT; in esp_bt_hid_device_init()
40 bt_status_t stat = btc_transfer_context(&msg, NULL, 0, NULL, NULL); in esp_bt_hid_device_init()
48 btc_msg_t msg; in esp_bt_hid_device_deinit() local
49 msg.sig = BTC_SIG_API_CALL; in esp_bt_hid_device_deinit()
50 msg.pid = BTC_PID_HD; in esp_bt_hid_device_deinit()
51 msg.act = BTC_HD_DEINIT_EVT; in esp_bt_hid_device_deinit()
53 bt_status_t stat = btc_transfer_context(&msg, NULL, 0, NULL, NULL); in esp_bt_hid_device_deinit()
[all …]
Desp_gap_bt_api.c35 btc_msg_t msg; in esp_bt_gap_set_scan_mode() local
42 msg.sig = BTC_SIG_API_CALL; in esp_bt_gap_set_scan_mode()
43 msg.pid = BTC_PID_GAP_BT; in esp_bt_gap_set_scan_mode()
44 msg.act = BTC_GAP_BT_ACT_SET_SCAN_MODE; in esp_bt_gap_set_scan_mode()
48 …return (btc_transfer_context(&msg, &arg, sizeof(btc_gap_bt_args_t), NULL, NULL) == BT_STATUS_SUCCE… in esp_bt_gap_set_scan_mode()
53 btc_msg_t msg; in esp_bt_gap_start_discovery() local
70 msg.sig = BTC_SIG_API_CALL; in esp_bt_gap_start_discovery()
71 msg.pid = BTC_PID_GAP_BT; in esp_bt_gap_start_discovery()
72 msg.act = BTC_GAP_BT_ACT_START_DISCOVERY; in esp_bt_gap_start_discovery()
78 …return (btc_transfer_context(&msg, &arg, sizeof(btc_gap_bt_args_t), NULL, NULL) == BT_STATUS_SUCCE… in esp_bt_gap_start_discovery()
[all …]
Desp_hidh_api.c34 btc_msg_t msg; in esp_bt_hid_host_init() local
36 msg.sig = BTC_SIG_API_CALL; in esp_bt_hid_host_init()
37 msg.pid = BTC_PID_HH; in esp_bt_hid_host_init()
38 msg.act = BTC_HH_INIT_EVT; in esp_bt_hid_host_init()
40 bt_status_t stat = btc_transfer_context(&msg, NULL, 0, NULL, NULL); in esp_bt_hid_host_init()
48 btc_msg_t msg; in esp_bt_hid_host_deinit() local
50 msg.sig = BTC_SIG_API_CALL; in esp_bt_hid_host_deinit()
51 msg.pid = BTC_PID_HH; in esp_bt_hid_host_deinit()
52 msg.act = BTC_HH_DEINIT_EVT; in esp_bt_hid_host_deinit()
54 bt_status_t stat = btc_transfer_context(&msg, NULL, 0, NULL, NULL); in esp_bt_hid_host_deinit()
[all …]
Desp_hf_ag_api.c48 btc_msg_t msg; in esp_hf_ag_init() local
49 msg.sig = BTC_SIG_API_CALL; in esp_hf_ag_init()
50 msg.pid = BTC_PID_HF; in esp_hf_ag_init()
51 msg.act = BTC_HF_INIT_EVT; in esp_hf_ag_init()
54 bt_status_t status = btc_transfer_context(&msg, NULL, 0, NULL, NULL); in esp_hf_ag_init()
63 btc_msg_t msg; in esp_hf_ag_deinit() local
64 msg.sig = BTC_SIG_API_CALL; in esp_hf_ag_deinit()
65 msg.pid = BTC_PID_HF; in esp_hf_ag_deinit()
66 msg.act = BTC_HF_DEINIT_EVT; in esp_hf_ag_deinit()
69 bt_status_t status = btc_transfer_context(&msg, NULL, 0, NULL, NULL); in esp_hf_ag_deinit()
[all …]
Desp_gatts_api.c39 btc_msg_t msg = {0}; in esp_ble_gatts_app_register() local
49 msg.sig = BTC_SIG_API_CALL; in esp_ble_gatts_app_register()
50 msg.pid = BTC_PID_GATTS; in esp_ble_gatts_app_register()
51 msg.act = BTC_GATTS_ACT_APP_REGISTER; in esp_ble_gatts_app_register()
54 …return (btc_transfer_context(&msg, &arg, sizeof(btc_ble_gatts_args_t), NULL, NULL) == BT_STATUS_SU… in esp_ble_gatts_app_register()
60 btc_msg_t msg = {0}; in esp_ble_gatts_app_unregister() local
65 msg.sig = BTC_SIG_API_CALL; in esp_ble_gatts_app_unregister()
66 msg.pid = BTC_PID_GATTS; in esp_ble_gatts_app_unregister()
67 msg.act = BTC_GATTS_ACT_APP_UNREGISTER; in esp_ble_gatts_app_unregister()
70 …return (btc_transfer_context(&msg, &arg, sizeof(btc_ble_gatts_args_t), NULL, NULL) == BT_STATUS_SU… in esp_ble_gatts_app_unregister()
[all …]
Desp_l2cap_bt_api.c32 btc_msg_t msg; in esp_bt_l2cap_init() local
35 msg.sig = BTC_SIG_API_CALL; in esp_bt_l2cap_init()
36 msg.pid = BTC_PID_L2CAP; in esp_bt_l2cap_init()
37 msg.act = BTC_L2CAP_ACT_INIT; in esp_bt_l2cap_init()
39 … return (btc_transfer_context(&msg, NULL, 0, NULL, NULL) == BT_STATUS_SUCCESS ? ESP_OK : ESP_FAIL); in esp_bt_l2cap_init()
44 btc_msg_t msg; in esp_bt_l2cap_deinit() local
47 msg.sig = BTC_SIG_API_CALL; in esp_bt_l2cap_deinit()
48 msg.pid = BTC_PID_L2CAP; in esp_bt_l2cap_deinit()
49 msg.act = BTC_L2CAP_ACT_UNINIT; in esp_bt_l2cap_deinit()
51 … return (btc_transfer_context(&msg, NULL, 0, NULL, NULL) == BT_STATUS_SUCCESS ? ESP_OK : ESP_FAIL); in esp_bt_l2cap_deinit()
[all …]
Desp_spp_api.c49 btc_msg_t msg; in esp_spp_enhanced_init() local
59 msg.sig = BTC_SIG_API_CALL; in esp_spp_enhanced_init()
60 msg.pid = BTC_PID_SPP; in esp_spp_enhanced_init()
61 msg.act = BTC_SPP_ACT_INIT; in esp_spp_enhanced_init()
67 …return (btc_transfer_context(&msg, &arg, sizeof(btc_spp_args_t), NULL, NULL) == BT_STATUS_SUCCESS … in esp_spp_enhanced_init()
72 btc_msg_t msg; in esp_spp_deinit() local
76 msg.sig = BTC_SIG_API_CALL; in esp_spp_deinit()
77 msg.pid = BTC_PID_SPP; in esp_spp_deinit()
78 msg.act = BTC_SPP_ACT_UNINIT; in esp_spp_deinit()
80 …return (btc_transfer_context(&msg, &arg, sizeof(btc_spp_args_t), NULL, NULL) == BT_STATUS_SUCCESS … in esp_spp_deinit()
[all …]
Desp_avrc_api.c37 btc_msg_t msg; in esp_avrc_ct_init() local
39 msg.sig = BTC_SIG_API_CALL; in esp_avrc_ct_init()
40 msg.pid = BTC_PID_AVRC_CT; in esp_avrc_ct_init()
41 msg.act = BTC_AVRC_CT_API_INIT_EVT; in esp_avrc_ct_init()
44 bt_status_t stat = btc_transfer_context(&msg, NULL, 0, NULL, NULL); in esp_avrc_ct_init()
54 btc_msg_t msg; in esp_avrc_ct_deinit() local
56 msg.sig = BTC_SIG_API_CALL; in esp_avrc_ct_deinit()
57 msg.pid = BTC_PID_AVRC_CT; in esp_avrc_ct_deinit()
58 msg.act = BTC_AVRC_CT_API_DEINIT_EVT; in esp_avrc_ct_deinit()
61 bt_status_t stat = btc_transfer_context(&msg, NULL, 0, NULL, NULL); in esp_avrc_ct_deinit()
[all …]
Desp_sdp_api.c52 btc_msg_t msg; in esp_sdp_init() local
55 msg.sig = BTC_SIG_API_CALL; in esp_sdp_init()
56 msg.pid = BTC_PID_SDP; in esp_sdp_init()
57 msg.act = BTC_SDP_ACT_INIT; in esp_sdp_init()
60 stat = btc_transfer_context(&msg, NULL, 0, NULL, NULL); in esp_sdp_init()
68 btc_msg_t msg; in esp_sdp_deinit() local
71 msg.sig = BTC_SIG_API_CALL; in esp_sdp_deinit()
72 msg.pid = BTC_PID_SDP; in esp_sdp_deinit()
73 msg.act = BTC_SDP_ACT_DEINIT; in esp_sdp_deinit()
76 stat = btc_transfer_context(&msg, NULL, 0, NULL, NULL); in esp_sdp_deinit()
[all …]
/hal_espressif-latest/components/bt/esp_ble_mesh/api/core/
Desp_ble_mesh_proxy_api.c17 btc_msg_t msg = {0}; in esp_ble_mesh_proxy_identity_enable() local
21 msg.sig = BTC_SIG_API_CALL; in esp_ble_mesh_proxy_identity_enable()
22 msg.pid = BTC_PID_PROV; in esp_ble_mesh_proxy_identity_enable()
23 msg.act = BTC_BLE_MESH_ACT_PROXY_IDENTITY_ENABLE; in esp_ble_mesh_proxy_identity_enable()
25 … return (btc_transfer_context(&msg, NULL, 0, NULL, NULL) == BT_STATUS_SUCCESS ? ESP_OK : ESP_FAIL); in esp_ble_mesh_proxy_identity_enable()
30 btc_msg_t msg = {0}; in esp_ble_mesh_proxy_gatt_enable() local
34 msg.sig = BTC_SIG_API_CALL; in esp_ble_mesh_proxy_gatt_enable()
35 msg.pid = BTC_PID_PROV; in esp_ble_mesh_proxy_gatt_enable()
36 msg.act = BTC_BLE_MESH_ACT_PROXY_GATT_ENABLE; in esp_ble_mesh_proxy_gatt_enable()
38 … return (btc_transfer_context(&msg, NULL, 0, NULL, NULL) == BT_STATUS_SUCCESS ? ESP_OK : ESP_FAIL); in esp_ble_mesh_proxy_gatt_enable()
[all …]
Desp_ble_mesh_provisioning_api.c47 btc_msg_t msg = {0}; in esp_ble_mesh_node_prov_enable() local
55 msg.sig = BTC_SIG_API_CALL; in esp_ble_mesh_node_prov_enable()
56 msg.pid = BTC_PID_PROV; in esp_ble_mesh_node_prov_enable()
57 msg.act = BTC_BLE_MESH_ACT_PROV_ENABLE; in esp_ble_mesh_node_prov_enable()
60 return (btc_transfer_context(&msg, &arg, sizeof(btc_ble_mesh_prov_args_t), NULL, NULL) in esp_ble_mesh_node_prov_enable()
67 btc_msg_t msg = {0}; in esp_ble_mesh_node_prov_disable() local
75 msg.sig = BTC_SIG_API_CALL; in esp_ble_mesh_node_prov_disable()
76 msg.pid = BTC_PID_PROV; in esp_ble_mesh_node_prov_disable()
77 msg.act = BTC_BLE_MESH_ACT_PROV_DISABLE; in esp_ble_mesh_node_prov_disable()
80 return (btc_transfer_context(&msg, &arg, sizeof(btc_ble_mesh_prov_args_t), NULL, NULL) in esp_ble_mesh_node_prov_disable()
[all …]
Desp_ble_mesh_networking_api.c28 btc_msg_t msg = {0}; in ble_mesh_model_send_msg() local
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()
86 msg.sig = BTC_SIG_API_CALL; in ble_mesh_model_send_msg()
87 msg.pid = BTC_PID_MODEL; in ble_mesh_model_send_msg()
88 msg.act = act; in ble_mesh_model_send_msg()
104 …status = (btc_transfer_context(&msg, &arg, sizeof(btc_ble_mesh_model_args_t), btc_ble_mesh_model_a… in ble_mesh_model_send_msg()
208 if (model == NULL || model->pub == NULL || model->pub->msg == NULL || in esp_ble_mesh_model_publish()
[all …]
Desp_ble_mesh_ble_api.c29 btc_msg_t msg = {0}; in esp_ble_mesh_start_ble_advertising() local
37 msg.sig = BTC_SIG_API_CALL; in esp_ble_mesh_start_ble_advertising()
38 msg.pid = BTC_PID_BLE_MESH_BLE_COEX; in esp_ble_mesh_start_ble_advertising()
39 msg.act = BTC_BLE_MESH_ACT_START_BLE_ADV; in esp_ble_mesh_start_ble_advertising()
46 return (btc_transfer_context(&msg, &arg, sizeof(btc_ble_mesh_ble_args_t), NULL, NULL) in esp_ble_mesh_start_ble_advertising()
53 btc_msg_t msg = {0}; in esp_ble_mesh_stop_ble_advertising() local
61 msg.sig = BTC_SIG_API_CALL; in esp_ble_mesh_stop_ble_advertising()
62 msg.pid = BTC_PID_BLE_MESH_BLE_COEX; in esp_ble_mesh_stop_ble_advertising()
63 msg.act = BTC_BLE_MESH_ACT_STOP_BLE_ADV; in esp_ble_mesh_stop_ble_advertising()
67 return (btc_transfer_context(&msg, &arg, sizeof(btc_ble_mesh_ble_args_t), NULL, NULL) in esp_ble_mesh_stop_ble_advertising()
[all …]
Desp_ble_mesh_low_power_api.c16 btc_msg_t msg = {0}; in esp_ble_mesh_lpn_enable() local
20 msg.sig = BTC_SIG_API_CALL; in esp_ble_mesh_lpn_enable()
21 msg.pid = BTC_PID_PROV; in esp_ble_mesh_lpn_enable()
22 msg.act = BTC_BLE_MESH_ACT_LPN_ENABLE; in esp_ble_mesh_lpn_enable()
24 … return (btc_transfer_context(&msg, NULL, 0, NULL, NULL) == BT_STATUS_SUCCESS ? ESP_OK : ESP_FAIL); in esp_ble_mesh_lpn_enable()
30 btc_msg_t msg = {0}; in esp_ble_mesh_lpn_disable() local
34 msg.sig = BTC_SIG_API_CALL; in esp_ble_mesh_lpn_disable()
35 msg.pid = BTC_PID_PROV; in esp_ble_mesh_lpn_disable()
36 msg.act = BTC_BLE_MESH_ACT_LPN_DISABLE; in esp_ble_mesh_lpn_disable()
40 return (btc_transfer_context(&msg, &arg, sizeof(btc_ble_mesh_prov_args_t), NULL, NULL) in esp_ble_mesh_lpn_disable()
[all …]
/hal_espressif-latest/components/bt/common/api/
Desp_blufi_api.c28 btc_msg_t msg; in esp_blufi_send_wifi_conn_report() local
33 msg.sig = BTC_SIG_API_CALL; in esp_blufi_send_wifi_conn_report()
34 msg.pid = BTC_PID_BLUFI; in esp_blufi_send_wifi_conn_report()
35 msg.act = BTC_BLUFI_ACT_SEND_CFG_REPORT; in esp_blufi_send_wifi_conn_report()
41 return (btc_transfer_context(&msg, &arg, sizeof(btc_blufi_args_t), btc_blufi_call_deep_copy, in esp_blufi_send_wifi_conn_report()
47 btc_msg_t msg; in esp_blufi_send_wifi_list() local
52 msg.sig = BTC_SIG_API_CALL; in esp_blufi_send_wifi_list()
53 msg.pid = BTC_PID_BLUFI; in esp_blufi_send_wifi_list()
54 msg.act = BTC_BLUFI_ACT_SEND_WIFI_LIST; in esp_blufi_send_wifi_list()
58 return (btc_transfer_context(&msg, &arg, sizeof(btc_blufi_args_t), btc_blufi_call_deep_copy, in esp_blufi_send_wifi_list()
[all …]
/hal_espressif-latest/components/bt/esp_ble_mesh/btc/
Dbtc_ble_mesh_health_model.c29 void btc_ble_mesh_health_client_arg_deep_copy(btc_msg_t *msg, void *p_dest, void *p_src) in btc_ble_mesh_health_client_arg_deep_copy() argument
34 if (!msg || !dst || !src) { in btc_ble_mesh_health_client_arg_deep_copy()
39 switch (msg->act) { in btc_ble_mesh_health_client_arg_deep_copy()
46 BT_ERR("%s, Out of memory, act %d", __func__, msg->act); in btc_ble_mesh_health_client_arg_deep_copy()
55 BT_ERR("%s, Out of memory, act %d", __func__, msg->act); in btc_ble_mesh_health_client_arg_deep_copy()
69 BT_ERR("%s, Out of memory, act %d", __func__, msg->act); in btc_ble_mesh_health_client_arg_deep_copy()
74 BT_DBG("%s, Unknown act %d", __func__, msg->act); in btc_ble_mesh_health_client_arg_deep_copy()
79 void btc_ble_mesh_health_client_arg_deep_free(btc_msg_t *msg) in btc_ble_mesh_health_client_arg_deep_free() argument
83 if (!msg) { in btc_ble_mesh_health_client_arg_deep_free()
88 arg = (btc_ble_mesh_health_client_args_t *)(msg->arg); in btc_ble_mesh_health_client_arg_deep_free()
[all …]

123456789