diff options
author | Wootak Jung <wootak.jung@samsung.com> | 2022-08-11 08:24:57 +0900 |
---|---|---|
committer | Wootak Jung <wootak.jung@samsung.com> | 2022-08-12 08:27:50 +0900 |
commit | 49dec8be696f93ae31692e808a96f4d225e720f2 (patch) | |
tree | b3de94869c1ea7a838f6071037e7a2bf1b95ff10 | |
parent | 0bd1dd1eaf8e37aa6da8cafb92d586069861b534 (diff) | |
download | bluetooth-accepted/tizen/unified/20220823.131815.tar.gz bluetooth-accepted/tizen/unified/20220823.131815.tar.bz2 bluetooth-accepted/tizen/unified/20220823.131815.zip |
Add device name for l2cap le advertisingsubmit/tizen/20220822.114248submit/tizen/20220816.082553accepted/tizen/unified/20220823.131815
Change-Id: Ia91934a2499f8d41e3128e23b7f6dc78e8983087
-rw-r--r-- | tests/test/bt_unit_test.c | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/tests/test/bt_unit_test.c b/tests/test/bt_unit_test.c index a276aeb..27dbe2a 100644 --- 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"); |