Home
last modified time | relevance | path

Searched refs:BT_DBG (Results 1 – 25 of 40) sorted by relevance

12

/hal_espressif-latest/components/bt/esp_ble_mesh/mesh_core/
Dscan.c53 BT_DBG("Unexpected adv flags length %d", buf->len); in adv_flags_valid()
59 BT_DBG("Received adv pkt with flags: 0x%02x", flags); in adv_flags_valid()
70 BT_DBG("Length not match mesh service uuid"); in adv_service_uuid_valid()
76 BT_DBG("Received adv pkt with service UUID: %d", *uuid); in adv_service_uuid_valid()
109 BT_DBG("Invalid Mesh Service Data UUID 0x%04x", type); in handle_adv_service_data()
122 BT_DBG("Start to handle Mesh Prov Service Data"); in handle_adv_service_data()
135 BT_DBG("Start to handle Mesh Proxy Service Data"); in handle_adv_service_data()
203 BT_DBG("scan, len %u: %s", buf->len, bt_hex(buf->data, buf->len)); in bt_mesh_scan_cb()
223 BT_DBG("AD malformed"); in bt_mesh_scan_cb()
238 BT_DBG("Ignore mesh packet (type 0x%02x) with adv_type 0x%02x", type, adv_type); in bt_mesh_scan_cb()
[all …]
Dprov.c297 BT_DBG("%s", __func__); in prov_clear_tx()
338 BT_DBG("xact %u complete", (uint8_t)pending_ack); in ack_complete()
350 BT_DBG("xact_id %u", xact_id); in gen_prov_ack_send()
353 BT_DBG("Not sending duplicate ack"); in gen_prov_ack_send()
402 BT_DBG("op 0x%02x data_len %u", op, data_len); in bearer_ctl_send()
451 BT_DBG("len %u: %s", msg->len, bt_hex(msg->data, msg->len)); in prov_send_adv()
473 BT_DBG("seg 0 len %u: %s", seg_len, bt_hex(msg->data, seg_len)); in prov_send_adv()
495 BT_DBG("seg_id %u len %u: %s", seg_id, seg_len, in prov_send_adv()
584 BT_DBG("Attention Duration: %u seconds", data[0]); in prov_invite()
632 BT_DBG("Elements: %u", data[0]); in prov_capabilities()
[all …]
Dcrypto.c72 BT_DBG("n %s", bt_hex(n, 16)); in bt_mesh_k2()
73 BT_DBG("p %s", bt_hex(p, p_len)); in bt_mesh_k2()
121 BT_DBG("NID 0x%02x enc_key %s", net_id[0], bt_hex(enc_key, 16)); in bt_mesh_k2()
122 BT_DBG("priv_key %s", bt_hex(priv_key, 16)); in bt_mesh_k2()
365 BT_DBG("key %s", bt_hex(key, 16)); in bt_mesh_ccm_encrypt()
366 BT_DBG("nonce %s", bt_hex(nonce, 13)); in bt_mesh_ccm_encrypt()
367 BT_DBG("msg (len %u) %s", msg_len, bt_hex(msg, msg_len)); in bt_mesh_ccm_encrypt()
368 BT_DBG("aad_len %u mic_size %u", aad_len, mic_size); in bt_mesh_ccm_encrypt()
576 BT_DBG("IVIndex %u, PrivacyKey %s", iv_index, bt_hex(privacy_key, 16)); in bt_mesh_net_obfuscate()
581 BT_DBG("PrivacyRandom %s", bt_hex(priv_rand, 16)); in bt_mesh_net_obfuscate()
[all …]
Dnet.c181 BT_DBG("NID 0x%02x EncKey %s", keys->nid, bt_hex(keys->enc, 16)); in bt_mesh_net_keys_create()
182 BT_DBG("PrivacyKey %s", bt_hex(keys->privacy, 16)); in bt_mesh_net_keys_create()
190 BT_DBG("NetID %s", bt_hex(keys->net_id, 8)); in bt_mesh_net_keys_create()
199 BT_DBG("IdentityKey %s", bt_hex(keys->identity, 16)); in bt_mesh_net_keys_create()
208 BT_DBG("BeaconKey %s", bt_hex(keys->beacon, 16)); in bt_mesh_net_keys_create()
234 BT_DBG("LPNAddress 0x%04x FriendAddress 0x%04x", lpn_addr, frnd_addr); in friend_cred_set()
235 BT_DBG("LPNCounter 0x%04x FriendCounter 0x%04x", cred->lpn_counter, in friend_cred_set()
251 BT_DBG("Friend NID 0x%02x EncKey %s", cred->cred[idx].nid, in friend_cred_set()
253 BT_DBG("Friend PrivacyKey %s", bt_hex(cred->cred[idx].privacy, 16)); in friend_cred_set()
277 BT_DBG("net_idx 0x%04x", sub->net_idx); in friend_cred_update()
[all …]
Dproxy_server.c216 BT_DBG("addr 0x%04x", addr); in filter_add()
243 BT_DBG("addr 0x%04x", addr); in filter_remove()
292 BT_DBG("%u bytes: %s", buf->len, bt_hex(buf->data, buf->len)); in send_filter_status()
336 BT_DBG("%u bytes: %s", buf.len, bt_hex(buf.data, buf.len)); in proxy_cfg()
440 BT_DBG("%s", __func__); in bt_mesh_proxy_identity_enable()
475 BT_DBG("Mesh Network PDU"); in proxy_complete_pdu()
479 BT_DBG("Mesh Beacon PDU"); in proxy_complete_pdu()
483 BT_DBG("Mesh Configuration PDU"); in proxy_complete_pdu()
489 BT_DBG("Mesh Provisioning PDU"); in proxy_complete_pdu()
594 BT_DBG("conn %p err 0x%02x", conn, err); in proxy_connected()
[all …]
Dhealth_srv.c141 BT_DBG("company_id 0x%04x", company_id); in health_fault_get()
164 BT_DBG("company_id 0x%04x", company_id); in health_fault_clear()
185 BT_DBG("%s", __func__); in health_fault_test()
204 BT_DBG("test 0x%02x company 0x%04x", test_id, company_id); in health_fault_test()
230 BT_DBG("%u second%s", time, (time == 1U) ? "" : "s"); in send_attention_status()
244 BT_DBG("%s", __func__); in attention_get()
257 BT_DBG("%u second%s", time, (time == 1U) ? "" : "s"); in health_set_attention()
266 BT_DBG("%s", __func__); in attention_set()
292 BT_DBG("%s", __func__); in health_period_get()
309 BT_DBG("period %u", period); in health_set_period()
[all …]
Dcfg_srv.c123 BT_DBG("net_idx 0x%04x app_idx 0x%04x src 0x%04x len %u: %s", in dev_comp_data_get()
164 BT_DBG("ID 0x%04x addr 0x%04x", id, elem->addr); in get_model()
175 BT_DBG("Company 0x%04x ID 0x%04x addr 0x%04x", company, id, in get_model()
274 BT_DBG("period %u ms", period_ms); in _mod_pub_set()
294 BT_DBG("model %p key_idx 0x%03x", model, key_idx); in mod_bind()
326 BT_DBG("model %p key_idx 0x%03x store %u", model, key_idx, store); in mod_unbind()
374 BT_DBG("net_idx 0x%04x app_idx %04x update %u val %s", in app_key_set()
442 BT_DBG("app_idx 0x%04x AID 0x%02x", app_idx, keys->id); in app_key_set()
449 BT_DBG("Storing AppKey persistently"); in app_key_set()
466 BT_DBG("AppIdx 0x%04x NetIdx 0x%04x", key_app_idx, key_net_idx); in app_key_add()
[all …]
Dsettings.c202 BT_DBG("%s", __func__); in role_set()
230 BT_DBG("%s", __func__); in net_set()
259 BT_DBG("%s", __func__); in iv_set()
289 BT_DBG("%s", __func__); in seq_set()
357 BT_DBG("%s", __func__); in rpl_set()
433 BT_DBG("%s", __func__); in net_key_set()
493 BT_DBG("%s", __func__); in app_key_set()
557 BT_DBG("%s", __func__); in hb_pub_set()
603 BT_DBG("%s", __func__); in cfg_set()
735 BT_DBG("%s", __func__); in model_set()
[all …]
Dfriend.c104 BT_DBG("net_idx 0x%04x lpn_addr 0x%04x", net_idx, lpn_addr); in bt_mesh_friend_find()
161 BT_DBG("LPN 0x%04x", frnd->lpn); in friend_clear()
208 BT_DBG("net_idx 0x%04x", net_idx); in bt_mesh_friend_clear_net_idx()
227 BT_DBG("net_idx 0x%04x", net_idx); in bt_mesh_friend_sec_update()
279 BT_DBG("LPN addr 0x%04x counter 0x%04x", lpn_addr, lpn_counter); in bt_mesh_friend_clear()
554 BT_DBG("LPN 0x%04x", frnd->lpn); in encode_friend_ctl()
582 BT_DBG("lpn 0x%04x md 0x%02x", frnd->lpn, md); in encode_update()
600 BT_DBG("lpn 0x%04x xact 0x%02x", frnd->lpn, xact); in enqueue_sub_cfm()
618 BT_DBG("Discarding last PDU"); in enqueue_sub_cfm()
748 BT_DBG("msg->fsn %u frnd->fsn %u", (msg->fsn & 1), frnd->fsn); in bt_mesh_friend_poll()
[all …]
Dbeacon.c83 BT_DBG("err %d", err); in beacon_complete()
132 BT_DBG("NetID %s Auth %s", bt_hex(keys->net_id, 8), in bt_mesh_beacon_create()
148 BT_DBG("%s", __func__); in secure_beacon_send()
214 BT_DBG("%s", __func__); in unprovisioned_beacon_send()
316 BT_DBG("%s", __func__); in beacon_send()
366 BT_DBG("flags 0x%02x id %s iv_index 0x%08x", in secure_beacon_recv()
371 BT_DBG("No subnet that matched beacon"); in secure_beacon_recv()
442 BT_DBG("%u bytes: %s", buf->len, bt_hex(buf->data, buf->len)); in bt_mesh_beacon_recv()
452 BT_DBG("Unprovisioned device beacon received"); in bt_mesh_beacon_recv()
462 BT_DBG("Unknown beacon type 0x%02x", type); in bt_mesh_beacon_recv()
Dlpn.c104 BT_DBG("%s -> %s", state2str(bt_mesh.lpn.state), state2str(state)); in lpn_set_state()
199 BT_DBG("%s", __func__); in send_friend_clear()
210 BT_DBG("force %u disable %u", force, disable); in clear_friendship()
326 BT_DBG("%s", __func__); in send_friend_req()
336 BT_DBG("req 0x%02x duration %u err %d state %s", in req_sent()
393 BT_DBG("lpn->sent_req 0x%02x", lpn->sent_req); in send_friend_poll()
469 BT_DBG("lpn->sent_req 0x%02x", lpn->sent_req); in friend_response_received()
487 BT_DBG("Restarting establishment timer"); in bt_mesh_lpn_msg_received()
499 BT_DBG("Requesting more messages from Friend"); in bt_mesh_lpn_msg_received()
588 BT_DBG("LPNAddress 0x%04x LPNCounter 0x%04x", addr, counter); in bt_mesh_lpn_friend_clear_cfm()
[all …]
Dadv.c155 BT_DBG("type %u len %u: %s", BLE_MESH_ADV(buf)->type, in adv_send()
166 BT_DBG("count %u interval %ums duration %ums", in adv_send()
192 BT_DBG("interval %dms, duration %dms, period %dms, count %d", in adv_send()
219 BT_DBG("Advertising started. Sleeping %u ms", duration); in adv_send()
230 BT_DBG("Advertising stopped"); in adv_send()
249 BT_DBG("%s, starts", __func__); in adv_thread()
259 BT_DBG("Mesh Proxy Advertising start"); in adv_thread()
261 BT_DBG("Mesh Proxy Advertising up to %d ms", timeout); in adv_thread()
263 BT_DBG("Mesh Proxy Advertising stop"); in adv_thread()
282 BT_DBG("Mesh Proxy Advertising start"); in adv_thread()
[all …]
Dtransport.c194 BT_DBG("src 0x%04x dst 0x%04x app_idx 0x%04x sdu_len %u", in send_unseg()
301 BT_DBG("Proceding with pending IV Update"); in seg_tx_reset()
400 BT_DBG("Skipping segment that's still advertising"); in seg_tx_send_unacked()
406 BT_DBG("resending %u/%u", i, tx->seg_n); in seg_tx_send_unacked()
436 BT_DBG("src 0x%04x dst 0x%04x app_idx 0x%04x aszmic %u sdu_len %u", in send_seg()
488 BT_DBG("SeqZero 0x%04x", seq_zero); in send_seg()
550 BT_DBG("Sending %u/%u", seg_o, tx->seg_n); in send_seg()
614 BT_DBG("net_idx 0x%04x app_idx 0x%04x dst 0x%04x", tx->sub->net_idx, in bt_mesh_trans_send()
616 BT_DBG("len %u: %s", msg->len, bt_hex(msg->data, msg->len)); in bt_mesh_trans_send()
743 BT_DBG("ASZMIC %u AKF %u AID 0x%02x", aszmic, AKF(&hdr), AID(&hdr)); in sdu_recv()
[all …]
Dproxy_client.c178 BT_DBG("%u bytes: %s", buf.len, bt_hex(buf.data, buf.len)); in proxy_cfg()
203 BT_DBG("Mesh Network PDU"); in proxy_complete_pdu()
207 BT_DBG("Mesh Beacon PDU"); in proxy_complete_pdu()
211 BT_DBG("Mesh Configuration PDU"); in proxy_complete_pdu()
217 BT_DBG("Mesh Provisioning PDU"); in proxy_complete_pdu()
326 BT_DBG("%u bytes: %s", len, bt_hex(data, len)); in proxy_send()
342 BT_DBG("conn %p type 0x%02x len %u: %s", conn, type, msg->len, in proxy_segment_and_send()
424 BT_DBG("conn %p, handle is %d, reason 0x%02x", conn, conn->handle, reason); in proxy_disconnected()
498 BT_DBG("%s", __func__); in bt_mesh_proxy_client_prov_enable()
513 BT_DBG("%s", __func__); in bt_mesh_proxy_client_prov_disable()
[all …]
Dhealth_cli.c108 BT_DBG("Unexpected Health Status 0x%04x", ctx->recv_op); in health_client_recv_status()
158 BT_DBG("net_idx 0x%04x app_idx 0x%04x src 0x%04x len %u: %s", in health_fault_status()
181 BT_DBG("net_idx 0x%04x app_idx 0x%04x src 0x%04x len %u: %s", in health_current_status()
204 BT_DBG("net_idx 0x%04x app_idx 0x%04x src 0x%04x len %u: %s", in health_period_status()
219 BT_DBG("net_idx 0x%04x app_idx 0x%04x src 0x%04x len %u: %s", in health_attention_status()
319 BT_DBG("primary %u", bt_mesh_model_in_primary(model)); in health_cli_init()
359 BT_DBG("primary %u", bt_mesh_model_in_primary(model)); in health_cli_deinit()
Dprovisioner_prov.c446 BT_DBG("Clear device info, addr %s", bt_hex(addr, BLE_MESH_ADDR_LEN)); in bt_mesh_provisioner_clear_link_info()
507 BT_DBG("Device is being provisioning");
537 BT_DBG("Device uuid mismatch");
1300 BT_DBG("%s", __func__);
1361 BT_DBG("xact %u complete", link[idx].pending_ack);
1374 BT_DBG("xact_id %u", xact_id);
1377 BT_DBG("Not sending duplicate ack");
1426 BT_DBG("op 0x%02x data_len %u", op, data_len);
1544 BT_DBG("len %u: %s", msg->len, bt_hex(msg->data, msg->len));
1566 BT_DBG("seg 0 len %u: %s", seg_len, bt_hex(msg->data, seg_len));
[all …]
Dcfg_cli.c150 BT_DBG("Unexpected Config Status 0x%04x", ctx->recv_op); in cfg_client_recv_status()
257 BT_DBG("net_idx 0x%04x app_idx 0x%04x src 0x%04x len %u: %s", in comp_data_status()
279 BT_DBG("net_idx 0x%04x app_idx 0x%04x src 0x%04x len %u: %s", in state_status_u8()
322 BT_DBG("net_idx 0x%04x app_idx 0x%04x src 0x%04x len %u: %s", in relay_status()
338 BT_DBG("net_idx 0x%04x app_idx 0x%04x src 0x%04x len %u: %s", in net_key_status()
354 BT_DBG("net_idx 0x%04x app_idx 0x%04x src 0x%04x len %u: %s", in app_key_status()
370 BT_DBG("net_idx 0x%04x app_idx 0x%04x src 0x%04x len %u: %s", in mod_app_status()
393 BT_DBG("net_idx 0x%04x app_idx 0x%04x src 0x%04x len %u: %s", in mod_pub_status()
422 BT_DBG("net_idx 0x%04x app_idx 0x%04x src 0x%04x len %u: %s", in mod_sub_status()
445 BT_DBG("net_idx 0x%04x app_idx 0x%04x src 0x%04x len %u: %s", in hb_sub_status()
[all …]
Dprovisioner_main.c73 BT_DBG("%s", __func__); in bt_mesh_provisioner_net_create()
318 BT_DBG("%s", __func__); in bt_mesh_provisioner_provision()
349 BT_DBG("Remove node %d", index); in provisioner_remove_node()
395 BT_DBG("%s", __func__); in provisioner_find_node_with_uuid()
448 BT_DBG("%s", __func__); in provisioner_find_node_with_addr()
549 BT_DBG("node name %s", name); in provisioner_find_node_with_name()
714 BT_DBG("%s", __func__); in bt_mesh_provisioner_net_key_get()
735 BT_DBG("%s", __func__); in bt_mesh_provisioner_subnet_get()
756 BT_DBG("%s", __func__); in bt_mesh_provisioner_check_msg_dst()
782 BT_DBG("%s", __func__); in bt_mesh_provisioner_dev_key_get()
[all …]
Daccess.c129 BT_DBG("err %d", err); in publish_sent()
240 BT_DBG("%s", __func__); in mod_publish()
451 BT_DBG("addr 0x%04x mod_count %u vnd_mod_count %u", in bt_mesh_comp_provision()
458 BT_DBG("%s", __func__); in bt_mesh_comp_unprovision()
656 BT_DBG("OpCode 0x%08x", opcode); in bt_mesh_model_recv()
676 BT_DBG("No OpCode 0x%08x for elem %d", opcode, i); in bt_mesh_model_recv()
846 BT_DBG("%s", __func__); in bt_mesh_model_publish()
/hal_espressif-latest/components/bt/esp_ble_mesh/mesh_core/bluedroid_host/
Dmesh_bearer_adapt.c295 BT_DBG("%s, event %d", __func__, event); in bt_mesh_scan_result_callback()
554 BT_DBG("gatts read, handle %d", p_data->req_data.p_data->read_req.handle); in bt_mesh_bta_gatts_cb()
564 BT_DBG("Send gatts read rsp, handle %d", attr->handle); in bt_mesh_bta_gatts_cb()
576 BT_DBG("gatts write, handle %d, len %d, data %s", p_data->req_data.p_data->write_req.handle, in bt_mesh_bta_gatts_cb()
588 BT_DBG("Send gatts write rsp, handle %d", attr->handle); in bt_mesh_bta_gatts_cb()
602 BT_DBG("svc_handle %d, gatts_future_mesh %p", svc_handle, gatts_future_mesh); in bt_mesh_bta_gatts_cb()
756 BT_DBG("handle 0x%04x offset %u length %u", attr->handle, offset, len); in bt_mesh_gatts_attr_read()
888 BT_DBG("gatts register, handle %d", handle); in gatts_register()
957 BT_DBG("Add primary service, uuid 0x%04x, perm %d, handle %d", in bt_mesh_gatts_service_register()
971 BT_DBG("Add secondary service, uuid 0x%04x, perm %d, handle %d", in bt_mesh_gatts_service_register()
[all …]
/hal_espressif-latest/components/bt/esp_ble_mesh/mesh_common/
Dmesh_common.c80 BT_DBG("Message is sent by a server model"); in bt_mesh_get_device_role()
103 BT_DBG("Random %s", bt_hex(buf, len)); in bt_mesh_rand()
/hal_espressif-latest/components/bt/esp_ble_mesh/btc/
Dbtc_ble_mesh_prov.c143 BT_DBG("%s, Unknown act %d", __func__, msg->act); in btc_ble_mesh_prov_arg_deep_copy()
219 BT_DBG("%s, Unknown act %d", __func__, msg->act); in btc_ble_mesh_model_arg_deep_copy()
385 BT_DBG("%s", __func__); in btc_ble_mesh_model_callback()
516 BT_DBG("%s", __func__); in btc_ble_mesh_model_publish_update()
545 BT_DBG("%s", __func__); in btc_ble_mesh_prov_callback()
566 BT_DBG("%s", __func__); in btc_ble_mesh_oob_pub_key_cb()
577 BT_DBG("%s", __func__); in btc_ble_mesh_output_number_cb()
591 BT_DBG("%s", __func__); in btc_ble_mesh_output_string_cb()
605 BT_DBG("%s", __func__); in btc_ble_mesh_input_cb()
618 BT_DBG("%s", __func__); in btc_ble_mesh_link_open_cb()
[all …]
/hal_espressif-latest/components/bt/esp_ble_mesh/mesh_core/storage/
Dsettings_nvs.c226 BT_DBG("nvs %s, key %s", val ? "set" : "erase", key); in settings_save()
233 BT_DBG("%s not exists", key); in settings_save()
308 BT_DBG("Settings %s not found", key); in settings_load()
382 BT_DBG("Empty %s", key); in settings_get_item()
473 BT_DBG("0x%04x already exists", val); in settings_add_item()
537 BT_DBG("0x%04x not exists", val); in settings_remove_item()
/hal_espressif-latest/components/bt/esp_ble_mesh/mesh_models/client/
Dclient_common.c67 BT_DBG("Unexpected status message 0x%08x", ctx->recv_op); in bt_mesh_is_client_recv_publish_msg()
86 BT_DBG("Unexpected status message 0x%08x", ctx->recv_op); in bt_mesh_is_client_recv_publish_msg()
94 BT_DBG("Unexpected status message 0x%08x", ctx->recv_op); in bt_mesh_is_client_recv_publish_msg()
102 BT_DBG("Unexpected status message 0x%08x", ctx->recv_op); in bt_mesh_is_client_recv_publish_msg()
229 BT_DBG("%s, duration %ums", __func__, duration); in msg_send_start()
/hal_espressif-latest/components/bt/esp_ble_mesh/mesh_core/nimble_host/
Dmesh_bearer_adapt.c1120 BT_DBG("handle 0x%04x offset %u length %u", attr->handle, offset, len); in bt_mesh_gatts_attr_read()
1232 BT_DBG("gatts register, handle %d", handle); in gatts_register()
1467 BT_DBG("Create conn with %s", bt_hex(addr->val, BLE_MESH_ADDR_LEN)); in bt_mesh_gattc_conn_create()
1611 BT_DBG("handle %u ref %u", conn->handle, bt_mesh_atomic_get(&conn->ref)); in bt_mesh_conn_ref()
1620 BT_DBG("handle %u ref %u", conn->handle, bt_mesh_atomic_get(&conn->ref)); in bt_mesh_conn_unref()
1632 BT_DBG("write, handle %d, len %d, data %s", attr_handle, in proxy_char_access_cb()
1789 BT_DBG("%s", __func__); in bt_mesh_adapt_init()
1839 BT_DBG("Public Key %s", bt_hex(bt_mesh_public_key, sizeof(bt_mesh_public_key))); in bt_mesh_pub_key_get()
1888 BT_DBG("private key = %s", bt_hex(bt_mesh_private_key, 32)); in bt_mesh_dh_key_gen()
1903 BT_DBG("key %s plaintext %s", bt_hex(key, 16), bt_hex(plaintext, 16)); in bt_mesh_encrypt_le()
[all …]

12