Searched refs:ext_ad (Results 1 – 8 of 8) sorted by relevance
/Zephyr-latest/samples/bluetooth/pbp_public_broadcast_source/src/ |
D | main.c | 187 struct bt_data ext_ad[4]; in setup_extended_adv_data() local 203 ext_ad[0].type = BT_DATA_GAP_APPEARANCE; in setup_extended_adv_data() 204 ext_ad[0].data_len = 2; in setup_extended_adv_data() 205 ext_ad[0].data = appearance_addata; in setup_extended_adv_data() 207 ext_ad[1].type = BT_DATA_BROADCAST_NAME; in setup_extended_adv_data() 208 ext_ad[1].data_len = ARRAY_SIZE(broadcast_name); in setup_extended_adv_data() 209 ext_ad[1].data = broadcast_name; in setup_extended_adv_data() 213 ext_ad[2].type = BT_DATA_SVC_DATA16; in setup_extended_adv_data() 214 ext_ad[2].data_len = ad_buf.len; in setup_extended_adv_data() 215 ext_ad[2].data = ad_buf.data; in setup_extended_adv_data() [all …]
|
/Zephyr-latest/samples/bluetooth/tmap_bms/src/ |
D | cap_initiator.c | 170 struct bt_data ext_ad[2]; in setup_extended_adv_data() local 182 ext_ad[0].type = BT_DATA_SVC_DATA16; in setup_extended_adv_data() 183 ext_ad[0].data_len = ARRAY_SIZE(tmap_addata); in setup_extended_adv_data() 184 ext_ad[0].data = tmap_addata; in setup_extended_adv_data() 188 ext_ad[1].type = BT_DATA_SVC_DATA16; in setup_extended_adv_data() 189 ext_ad[1].data_len = ad_buf.len + sizeof(ext_ad[1].type); in setup_extended_adv_data() 190 ext_ad[1].data = ad_buf.data; in setup_extended_adv_data() 192 err = bt_le_ext_adv_set_data(adv, ext_ad, ARRAY_SIZE(ext_ad), NULL, 0); in setup_extended_adv_data()
|
/Zephyr-latest/tests/bsim/bluetooth/audio/src/ |
D | pbp_public_broadcast_source_test.c | 106 struct bt_data ext_ad[2]; in setup_extended_adv_data() local 120 ext_ad[0].type = BT_DATA_SVC_DATA16; in setup_extended_adv_data() 121 ext_ad[0].data_len = ad_buf.len; in setup_extended_adv_data() 122 ext_ad[0].data = ad_buf.data; in setup_extended_adv_data() 145 ext_ad[1].type = BT_DATA_SVC_DATA16; in setup_extended_adv_data() 146 ext_ad[1].data_len = pbp_ad_buf.len; in setup_extended_adv_data() 147 ext_ad[1].data = pbp_ad_buf.data; in setup_extended_adv_data() 149 err = bt_le_ext_adv_set_data(adv, ext_ad, ARRAY_SIZE(ext_ad), NULL, 0); in setup_extended_adv_data()
|
D | bap_broadcast_source_test.c | 335 struct bt_data ext_ad; in setup_extended_adv() local 364 ext_ad.type = BT_DATA_SVC_DATA16; in setup_extended_adv() 365 ext_ad.data_len = ad_buf.len; in setup_extended_adv() 366 ext_ad.data = ad_buf.data; in setup_extended_adv() 367 err = bt_le_ext_adv_set_data(*adv, &ext_ad, 1, NULL, 0); in setup_extended_adv()
|
D | cap_initiator_broadcast_test.c | 242 struct bt_data ext_ad; in setup_extended_adv_data() local 256 ext_ad.type = BT_DATA_SVC_DATA16; in setup_extended_adv_data() 257 ext_ad.data_len = ad_buf.len; in setup_extended_adv_data() 258 ext_ad.data = ad_buf.data; in setup_extended_adv_data() 259 err = bt_le_ext_adv_set_data(adv, &ext_ad, 1, NULL, 0); in setup_extended_adv_data()
|
D | gmap_ugg_test.c | 1021 struct bt_data ext_ad; in setup_extended_adv_data() local 1035 ext_ad.type = BT_DATA_SVC_DATA16; in setup_extended_adv_data() 1036 ext_ad.data_len = ad_buf.len; in setup_extended_adv_data() 1037 ext_ad.data = ad_buf.data; in setup_extended_adv_data() 1038 err = bt_le_ext_adv_set_data(adv, &ext_ad, 1, NULL, 0); in setup_extended_adv_data()
|
/Zephyr-latest/samples/bluetooth/cap_initiator/src/ |
D | cap_initiator_broadcast.c | 131 struct bt_data ext_ad; in setup_extended_adv_data() local 149 ext_ad.type = BT_DATA_SVC_DATA16; in setup_extended_adv_data() 150 ext_ad.data_len = ad_buf.len; in setup_extended_adv_data() 151 ext_ad.data = ad_buf.data; in setup_extended_adv_data() 152 err = bt_le_ext_adv_set_data(adv, &ext_ad, 1, NULL, 0); in setup_extended_adv_data()
|
/Zephyr-latest/samples/bluetooth/bap_broadcast_source/src/ |
D | main.c | 515 struct bt_data ext_ad[2]; in main() local 553 ext_ad[0].type = BT_DATA_SVC_DATA16; in main() 554 ext_ad[0].data_len = ad_buf.len; in main() 555 ext_ad[0].data = ad_buf.data; in main() 556 ext_ad[1] = (struct bt_data)BT_DATA(BT_DATA_NAME_COMPLETE, CONFIG_BT_DEVICE_NAME, in main() 558 err = bt_le_ext_adv_set_data(adv, ext_ad, 2, NULL, 0); in main()
|