/AliOS-Things-master/components/ble_mesh/bt_mesh/core/src/ |
A D | crypto.c | 68 BT_DBG("n %s", bt_hex(n, 16)); in bt_mesh_k2() 69 BT_DBG("p %s", bt_hex(p, p_len)); in bt_mesh_k2() 359 BT_DBG("key %s", bt_hex(key, 16)); in bt_mesh_ccm_encrypt() 360 BT_DBG("nonce %s", bt_hex(nonce, 13)); in bt_mesh_ccm_encrypt() 619 BT_DBG("Nonce %s", bt_hex(nonce, 13)); in bt_mesh_net_encrypt() 654 BT_DBG("Nonce %s", bt_hex(nonce, 13)); in bt_mesh_net_decrypt() 687 BT_DBG("AppKey %s", bt_hex(key, 16)); in bt_mesh_app_encrypt() 694 BT_DBG("Nonce %s", bt_hex(nonce, 13)); in bt_mesh_app_encrypt() 718 BT_DBG("AppKey %s", bt_hex(key, 16)); in bt_mesh_app_decrypt() 719 BT_DBG("Nonce %s", bt_hex(nonce, 13)); in bt_mesh_app_decrypt() [all …]
|
A D | prov.c | 865 BT_DBG("LocalRandom: %s", bt_hex(plink.rand, 16)); in send_confirm() 960 BT_DBG("DHkey: %s", bt_hex(plink.dhkey, 32)); in prov_dh_key_cb() 985 BT_DBG("Local Public Key: %s", bt_hex(key, 64)); in send_pub_key() 1015 BT_DBG("Remote Public Key: %s", bt_hex(data, 64)); in prov_pub_key() 1054 BT_DBG("Remote Confirm: %s", bt_hex(data, 16)); in prov_confirm() 1075 BT_DBG("Remote Random: %s", bt_hex(data, 16)); in prov_random() 1091 BT_DBG("Received: %s", bt_hex(plink.conf, 16)); in prov_random() 1092 BT_DBG("Calculated: %s", bt_hex(conf_verify, 16)); in prov_random() 1150 BT_DBG("SessionKey: %s", bt_hex(session_key, 16)); in prov_data() 1159 BT_DBG("Nonce: %s", bt_hex(nonce, 13)); in prov_data() [all …]
|
A D | net.c | 207 BT_DBG("NID 0x%02x EncKey %s", keys->nid, bt_hex(keys->enc, 16)); in bt_mesh_net_keys_create() 208 BT_DBG("PrivacyKey %s", bt_hex(keys->privacy, 16)); in bt_mesh_net_keys_create() 216 BT_DBG("NetID %s", bt_hex(keys->net_id, 8)); in bt_mesh_net_keys_create() 225 BT_DBG("IdentityKey %s", bt_hex(keys->identity, 16)); in bt_mesh_net_keys_create() 234 BT_DBG("BeaconKey %s", bt_hex(keys->beacon, 16)); in bt_mesh_net_keys_create() 275 BT_DBG("Friend PrivacyKey %s", bt_hex(cred->cred[idx].privacy, 16)); in friend_cred_set() 463 BT_DBG("NetKey %s", bt_hex(key, 16)); in bt_mesh_net_create() 804 BT_DBG("len %u: %s", buf->len, bt_hex(buf->data, buf->len)); in bt_mesh_net_local() 962 BT_WARN("Authentication Value %s != %s", bt_hex(auth, 8), bt_hex(net_auth, 8)); in auth_match() 1259 BT_WARN("%s", bt_hex(data->data, data->len)); in bt_mesh_net_decode() [all …]
|
A D | beacon.c | 115 BT_DBG("net_idx 0x%04x flags 0x%02x NetID %s", sub->net_idx, flags, bt_hex(keys->net_id, 8)); in bt_mesh_beacon_create() 116 BT_DBG("IV Index 0x%08x Auth %s", bt_mesh.iv_index, bt_hex(sub->auth, 8)); in bt_mesh_beacon_create() 309 BT_DBG("flags 0x%02x id %s iv_index 0x%08x", flags, bt_hex(net_id, 8), iv_index); in secure_beacon_recv() 388 BT_DBG("%u bytes: %s", buf->len, bt_hex(buf->data, buf->len)); in bt_mesh_beacon_recv()
|
A D | provisioner_beacon.c | 55 BT_DBG("%u bytes: %s", buf->len, bt_hex(buf->data, buf->len)); in provisioner_beacon_recv()
|
A D | provisioner_main.c | 162 BT_DBG("dev_uuid: %s", bt_hex(uuid, 16)); in provisioner_node_provision() 163 BT_DBG("dev_key: %s", bt_hex(dev_key, 16)); in provisioner_node_provision() 346 BT_DBG("netkey: %s, nid: 0x%x", bt_hex(sub->keys[0].net, 16), sub->keys[0].nid); in provisioner_upper_init() 347 BT_DBG("enckey: %s", bt_hex(sub->keys[0].enc, 16)); in provisioner_upper_init() 348 BT_DBG("network id: %s", bt_hex(sub->keys[0].net_id, 8)); in provisioner_upper_init() 350 BT_DBG("identity: %s", bt_hex(sub->keys[0].identity, 16)); in provisioner_upper_init() 352 BT_DBG("privacy: %s", bt_hex(sub->keys[0].privacy, 16)); in provisioner_upper_init() 353 BT_DBG("beacon: %s", bt_hex(sub->keys[0].beacon, 16)); in provisioner_upper_init() 1383 BT_WARN("* UUID : %s", bt_hex(node->dev_uuid, 16)); in bt_mesh_provisioner_print_node_info() 1388 BT_WARN("* Device key: %s", bt_hex(node->dev_key, 16)); in bt_mesh_provisioner_print_node_info()
|
A D | health_cli.c | 52 bt_hex(buf->data, buf->len)); in health_fault_status() 102 bt_hex(buf->data, buf->len)); in health_current_status() 130 bt_hex(buf->data, buf->len)); in health_period_status() 161 bt_hex(buf->data, buf->len)); in health_attention_status()
|
A D | provisioner_prov.c | 1522 bt_hex(msg->data, seg_len)); in prov_send_adv() 2010 BT_DBG("LocalRandom: %s", bt_hex(link[i].rand, 16)); in send_confirm() 2123 BT_DBG("DHkey: %s", bt_hex(link[i].dhkey, 32)); in prov_dh_key_cb() 2184 BT_DBG("Local Public Key: %s", bt_hex(key, 64)); in send_pub_key() 2238 BT_DBG("Remote Public Key: %s", bt_hex(data, 64)); in prov_pub_key() 2284 BT_DBG("Remote Confirm: %s", bt_hex(data, 16)); in prov_confirm() 2344 BT_DBG("SessionKey: %s", bt_hex(session_key, 16)); in send_prov_data() 2353 BT_DBG("Nonce: %s", bt_hex(nonce, 13)); in send_prov_data() 2500 BT_DBG("Remote Random: %s", bt_hex(data, 16)); in prov_random() 2509 BT_DBG("Received: %s", bt_hex(link[i].conf, 16)); in prov_random() [all …]
|
A D | cfg_cli.c | 52 bt_hex(buf->data, buf->len)); in comp_data_status() 88 bt_hex(buf->data, buf->len)); in state_status_u8() 172 bt_hex(buf->data, buf->len)); in relay_status() 214 bt_hex(buf->data, buf->len)); in net_key_status() 262 bt_hex(buf->data, buf->len)); in net_krp_status() 314 bt_hex(buf->data, buf->len)); in app_key_status() 364 bt_hex(buf->data, buf->len)); in mod_app_status() 423 bt_hex(buf->data, buf->len)); in mod_pub_status() 509 bt_hex(buf->data, buf->len)); in mod_sub_status() 566 bt_hex(buf->data, buf->len)); in mod_sub_list_status() [all …]
|
A D | provisioner_proxy.c | 152 BT_DBG("%u bytes: %s", buf->len, bt_hex(buf->data, buf->len)); in proxy_cfg() 588 BT_DBG("%u bytes: %s", len, bt_hex(data, len)); in proxy_send() 604 BT_DBG("conn %p type 0x%02x len %u: %s", conn, type, msg->len, bt_hex(msg->data, msg->len)); in proxy_prov_segment_and_send() 748 BT_DBG("%u bytes: %s", buf->len, bt_hex(buf->data, buf->len)); in send_my_proxy_config()
|
A D | cfg_srv.c | 212 bt_hex(buf->data, buf->len)); in dev_comp_data_get() 761 bt_hex(buf->data, buf->len)); in beacon_get() 778 bt_hex(buf->data, buf->len)); in beacon_set() 815 bt_hex(buf->data, buf->len)); in default_ttl_get() 832 bt_hex(buf->data, buf->len)); in default_ttl_set() 873 bt_hex(buf->data, buf->len)); in gatt_proxy_get() 884 bt_hex(buf->data, buf->len)); in gatt_proxy_set() 951 bt_hex(buf->data, buf->len)); in net_transmit_get() 968 bt_hex(buf->data, buf->len)); in net_transmit_set() 997 bt_hex(buf->data, buf->len)); in relay_get() [all …]
|
A D | proxy.c | 251 BT_DBG("%u bytes: %s", buf->len, bt_hex(buf->data, buf->len)); in send_filter_status() 287 BT_DBG("%u bytes: %s", buf.len, bt_hex(buf.data, buf.len)); in proxy_cfg() 663 BT_DBG("len %u: %s", len, bt_hex(buf, len)); in prov_ccc_write() 782 BT_DBG("len %u: %s", len, bt_hex(buf, len)); in proxy_ccc_write() 975 BT_DBG("%u bytes: %s", len, bt_hex(data, len)); in proxy_send() 996 BT_DBG("conn %p type 0x%02x len %u: %s", conn, type, msg->len, bt_hex(msg->data, msg->len)); in proxy_segment_and_send() 1147 BT_DBG("Advertising with NetId %s", bt_hex(sub->keys[sub->kr_flag].net_id, 8)); in net_id_adv()
|
/AliOS-Things-master/components/genie_service/core/src/ |
A D | genie_provision.c | 108 BT_INFO("uuid: %s", bt_hex(genie_uuid, GENIE_PROVISON_UUID_LEN)); in genie_provision_get_uuid() 162 BT_DBG("cfm: %s", bt_hex(cfm, 16)); in ultra_prov_get_auth() 184 BT_DBG("send %s", bt_hex(buf->data, buf->len)); in _ultra_prov_send() 246 BT_DBG("cfmKey: %s", bt_hex(cfm_key, 16)); in genie_provision_ultra_prov_recv_random() 276 BT_DBG("provKkey: %s", bt_hex(p_prov_data_key, 22)); in genie_provision_ultra_prov_recv_random() 301 BT_INFO("dk %s", bt_hex(p_ultra_prov_devkey, 16)); in genie_provision_ultra_prov_recv_random() 334 BT_DBG("%s", bt_hex(buf, 22)); in genie_provision_ultra_prov_recv_data() 351 BT_INFO("nk %s", bt_hex(buf + 1, 16)); in genie_provision_ultra_prov_recv_data()
|
A D | genie_ais.c | 29 printf("ais decrypt:%s fail\r\n", bt_hex(payload, len)); in _ais_decrypt() 81 BT_DBG("len %d: %s", len + 4, bt_hex(&msg, len + 4)); in _ais_server_indicate() 92 …gid:%d cmd:%02x p_ind:%p len:%d data:%s\r\n", msg_id, cmd, p_indicate, len, bt_hex(&msg, len + 4)); in _ais_server_indicate() 133 BT_DBG("len %d: %s", len + 4, bt_hex(&msg, len + 4)); in genie_ais_notify() 138 …printf("ais notify msgid:%d cmd:%02x len:%d data:%s\r\n", msg_id, cmd, len, bt_hex(&msg, len + 4)); in genie_ais_notify() 344 BT_ERR("fail %s", bt_hex(p_msg_header, sizeof(ais_header_t))); in _ais_msg_check_header() 362 …02x state:%d len:%d data:%s\r\n", p_msg->header.cmd, genie_ais_ctx.state, len, bt_hex(p_msg, len)); in _ais_server_msg_handle() 486 BT_DBG("len %d: %s", len, bt_hex(buf, len)); in _ais_server_read()
|
A D | genie_crypto.c | 68 BT_DBG("auth: %s", bt_hex((char *)g_auth, 16)); in genie_crypto_get_auth() 145 BT_DBG("auth: %s", bt_hex((char *)g_ble_key, 16)); in genie_ais_get_cipher() 149 BT_DBG("cipher: %s", bt_hex((char *)cipher, 16)); in genie_ais_get_cipher()
|
A D | genie_storage.c | 31 BT_DBG("data: %s", bt_hex(data_temp, 16)); in _genie_storage_encrypt() 50 BT_DBG("dec: %s", bt_hex(dec_temp, 16)); in _genie_storage_decrypt() 61 BT_DBG("project key: %s", bt_hex(project_key, 16)); in _ginie_flash_get_enc_key() 64 BT_DBG("enc key: %s", bt_hex(g_enc_key, 16)); in _ginie_flash_get_enc_key()
|
A D | genie_vendor_model.c | 48 BT_INFO("payload: %s", bt_hex(p_data, p_msg->len)); in genie_model_handle_mesg() 108 BT_DBG("payload:%s", bt_hex(msg.data, msg.len)); in genie_model_analyze() 275 BT_DBG("payload:%s", bt_hex(msg.data, msg.len)); in genie_model_confirm_tg()
|
A D | genie_transport.c | 62 …BT_DBG("p_model_msg->data:%p, %s", p_model_msg->data, bt_hex(p_model_msg->data, p_model_msg->len)); in genie_transport_msg_node_generate() 63 BT_DBG("p_node->msg.data:%p, %s", p_node->msg.data, bt_hex(p_node->msg.data, p_node->msg.len)); in genie_transport_msg_node_generate() 139 …BT_DBG("p_model_msg->data:%p, %d, %s", p_model_msg, p_model_msg->len, bt_hex(p_model_msg->data, p_… in genie_transport_model_send() 337 BT_DBG("payload:%s", p_model_msg->len ? bt_hex(p_model_msg->data, p_model_msg->len) : "empty"); in genie_transport_send_model()
|
/AliOS-Things-master/components/ble_host/bt_crypto/ |
A D | bt_crypto.c | 134 BT_DBG("key %s plaintext %s", bt_hex(key, 16), bt_hex(plaintext, 16)); in bt_crypto_encrypt_le() 150 BT_DBG("enc_data %s", bt_hex(enc_data, 16)); in bt_crypto_encrypt_le() 160 BT_DBG("key %s plaintext %s", bt_hex(key, 16), bt_hex(plaintext, 16)); in bt_crypto_encrypt_be() 170 BT_DBG("enc_data %s", bt_hex(enc_data, 16)); in bt_crypto_encrypt_be() 188 BT_DBG("dec_data %s", bt_hex(dec_data, 16)); in bt_crypto_decrypt_be()
|
/AliOS-Things-master/components/ble_host/bt_host/common/ |
A D | rpa.c | 65 BT_DBG("irk %s", bt_hex(irk, 16)); in ah() 66 BT_DBG("r %s", bt_hex(r, 3)); in ah() 94 BT_DBG("IRK %s bdaddr %s", bt_hex(irk, 16), bt_addr_str(addr)); in bt_rpa_irk_matches()
|
/AliOS-Things-master/components/ble_host/bt_host/host/ |
A D | smp.c | 552 BT_DBG("u %s", bt_hex(u, 32)); in smp_f4() 553 BT_DBG("v %s", bt_hex(v, 32)); in smp_f4() 602 BT_DBG("w %s", bt_hex(w, 32)); in smp_f5() 613 BT_DBG("t %s", bt_hex(t, 16)); in smp_f5() 654 BT_DBG("w %s", bt_hex(w, 16)); in smp_f6() 657 BT_DBG("r %s", bt_hex(r, 16)); in smp_f6() 695 BT_DBG("u %s", bt_hex(u, 32)); in smp_g2() 696 BT_DBG("v %s", bt_hex(v, 32)); in smp_g2() 697 BT_DBG("x %s", bt_hex(x, 16)); in smp_g2() 698 BT_DBG("y %s", bt_hex(y, 16)); in smp_g2() [all …]
|
A D | aes_ccm.c | 216 BT_DBG("key %s", bt_hex(key, 16)); in bt_ccm_encrypt() 217 BT_DBG("nonce %s", bt_hex(nonce, 13)); in bt_ccm_encrypt() 218 BT_DBG("msg (len %zu) %s", msg_len, bt_hex(msg, msg_len)); in bt_ccm_encrypt()
|
/AliOS-Things-master/components/ble_mesh/bt_mesh/mesh_models/vendor_model/ |
A D | vendor_model_srv.c | 123 …LOGD(TAG, "p_model_msg->data:%p, %s", p_model_msg->data, bt_hex(p_model_msg->data, p_model_msg->le… in _vendor_model_msg_node_generate() 124 … LOGD(TAG, "p_node->msg.data:%p, %s", p_node->msg.data, bt_hex(p_node->msg.data, p_node->msg.len)); in _vendor_model_msg_node_generate() 285 …LOGD(TAG, "p_model_msg->data:%p, %d, %s", model_msg, model_msg->len, bt_hex(model_msg->data, model… in ble_mesh_vendor_srv_model_msg_send() 348 LOGI(TAG, "payload:%s", bt_hex(msg.data, msg.len)); in _vendor_model_analyze()
|
/AliOS-Things-master/components/ble_host/bt_host/hci_driver/ |
A D | h5_driver.c | 54 BT_DBG("buf %p type %u len %u:%s", buf, type, buf->len, bt_hex(buf->data, buf->len)); in h5_send() 145 BT_DBG("event %s", bt_hex(buf->data, buf->len)); in hci_h5_event_recv()
|
/AliOS-Things-master/hardware/chip/haas1000/drivers/thirdparty/bluetooth/bt_host/bt_common/include/common/ |
A D | log.h | 92 const char *bt_hex(const void *buf, size_t len);
|