projects
/
platform
/
core
/
api
/
bluetooth.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
0bd1dd1
)
Add device name for l2cap le advertising
72/279572/1
accepted/tizen/unified/20220823.131815
submit/tizen/20220816.082553
submit/tizen/20220822.114248
author
Wootak Jung
<wootak.jung@samsung.com>
Wed, 10 Aug 2022 23:24:57 +0000
(08:24 +0900)
committer
Wootak Jung
<wootak.jung@samsung.com>
Thu, 11 Aug 2022 23:27:50 +0000
(08:27 +0900)
Change-Id: Ia91934a2499f8d41e3128e23b7f6dc78e8983087
tests/test/bt_unit_test.c
patch
|
blob
|
history
diff --git
a/tests/test/bt_unit_test.c
b/tests/test/bt_unit_test.c
index a276aeb2c906272c72754134334f977f6a5f043d..27dbe2a758791f2a89664949eadd4fa85bac225f 100644
(file)
--- a/
tests/test/bt_unit_test.c
+++ b/
tests/test/bt_unit_test.c
@@
-5157,6
+5157,11
@@
int test_input_callback(void *data)
if (ret != BT_ERROR_NONE)
TC_PRT("add service_data [0x%04x]", ret);
+ ret = bt_adapter_le_set_advertising_device_name(advertiser,
+ BT_ADAPTER_LE_PACKET_SCAN_RESPONSE, true);
+ if (ret != BT_ERROR_NONE)
+ TC_PRT("set device name [0x%04x]", ret);
+
return 0;
default:
TC_PRT("No adv data");