Lines Matching refs:uuid

100 static struct bt_mesh_rpr_unprov *unprov_get(const uint8_t uuid[16])  in unprov_get()
105 if (uuid) { in unprov_get()
107 !memcmp(srv.scan.devs[i].uuid, uuid, 16)) { in unprov_get()
239 net_buf_simple_add_mem(&buf, dev->uuid, 16); in scan_report_send()
269 net_buf_simple_add_mem(&buf, srv.scan.dev->uuid, 16); in scan_ext_report_send()
565 const uint8_t *uuid = NULL; in handle_scan_start() local
577 uuid = net_buf_simple_pull_mem(buf, 16); in handle_scan_start()
583 uuid ? bt_hex(uuid, 16) : ""); in handle_scan_start()
600 if (uuid) { in handle_scan_start()
604 memcpy(srv.scan.devs[0].uuid, uuid, 16); in handle_scan_start()
631 const uint8_t *uuid; in handle_extended_scan_start() local
679 net_buf_simple_add_mem(&rsp, prov->uuid, 16); in handle_extended_scan_start()
704 uuid = net_buf_simple_pull_mem(buf, 16); in handle_extended_scan_start()
708 struct bt_uuid_128 uuid_repr = { .uuid = { BT_UUID_TYPE_128 } }; in handle_extended_scan_start()
710 memcpy(uuid_repr.val, uuid, 16); in handle_extended_scan_start()
711 LOG_DBG("%s AD types: %s", bt_uuid_str(&uuid_repr.uuid), in handle_extended_scan_start()
726 if (srv.scan.dev && (memcmp(srv.scan.dev->uuid, uuid, 16) || in handle_extended_scan_start()
738 srv.scan.dev = unprov_get(uuid); in handle_extended_scan_start()
747 memcpy(srv.scan.dev->uuid, uuid, 16); in handle_extended_scan_start()
781 net_buf_simple_add_mem(&rsp, uuid, 16); in handle_extended_scan_start()
817 const uint8_t *uuid; in handle_link_open() local
857 uuid = net_buf_simple_pull_mem(buf, 16); in handle_link_open()
859 if (memcmp(uuid, srv.link.dev->uuid, 16)) { in handle_link_open()
899 uuid = net_buf_simple_pull_mem(buf, 16); in handle_link_open()
908 LOG_DBG("0x%04x: %s", cli.addr, bt_hex(uuid, 16)); in handle_link_open()
914 srv.link.dev = unprov_get(uuid); in handle_link_open()
917 memcpy(srv.link.dev->uuid, uuid, 16); in handle_link_open()
921 err = bt_mesh_pb_adv.link_open(uuid, timeout, &prov_bearer_cb, &srv); in handle_link_open()
1046 struct bt_uuid_128 uuid_repr = { .uuid = { BT_UUID_TYPE_128 } }; in adv_handle_beacon()
1048 const uint8_t *uuid; in adv_handle_beacon() local
1054 uuid = &ad->data[1]; in adv_handle_beacon()
1056 dev = unprov_get(uuid); in adv_handle_beacon()
1067 memcpy(dev->uuid, uuid, 16); in adv_handle_beacon()
1082 memcpy(uuid_repr.val, uuid, 16); in adv_handle_beacon()
1085 bt_uuid_str(&uuid_repr.uuid), dev->oob, in adv_handle_beacon()
1177 struct bt_uuid_128 uuid_repr = { .uuid = { BT_UUID_TYPE_128 } }; in adv_handle_ext_scan()
1179 memcpy(uuid_repr.val, dev->uuid, 16); in adv_handle_ext_scan()
1180 LOG_DBG("Is %s", bt_uuid_str(&uuid_repr.uuid)); in adv_handle_ext_scan()