Home
last modified time | relevance | path

Searched refs:sd_len (Results 1 – 9 of 9) sorted by relevance

/Zephyr-latest/tests/bluetooth/tester/src/
Dbtp_gap.c619 const struct bt_data *sd, size_t sd_len, in tester_gap_create_adv_instance() argument
684 err = bt_le_ext_adv_set_data(ext_adv, ad, ad_len, sd_len ? sd : NULL, sd_len); in tester_gap_create_adv_instance()
700 uint8_t sd_len; local
731 for (sd_len = 0U; i < cp->adv_data_len + cp->scan_rsp_len; sd_len++) {
732 if (sd_len >= ARRAY_SIZE(sd)) {
737 sd[sd_len].type = cp->adv_sr_data[i++];
738 sd[sd_len].data_len = cp->adv_sr_data[i++];
739 sd[sd_len].data = &cp->adv_sr_data[i];
740 i += sd[sd_len].data_len;
743 err = tester_gap_create_adv_instance(&param, own_addr_type, ad, adv_len, sd, sd_len, NULL);
[all …]
/Zephyr-latest/subsys/bluetooth/host/
Dadv.c697 size_t sd_len) in set_sd() argument
702 sd, sd_len); in set_sd()
705 return hci_set_ad(BT_HCI_OP_LE_SET_SCAN_RSP_DATA, sd, sd_len); in set_sd()
794 const struct bt_data *sd, size_t sd_len, in le_adv_update() argument
807 (sd && ad_has_name(sd, sd_len))) { in le_adv_update()
837 d[0].len = sd_len; in le_adv_update()
856 const struct bt_data *sd, size_t sd_len) in bt_le_adv_update_data() argument
871 return le_adv_update(adv, ad, ad_len, sd, sd_len, false, scannable, in bt_le_adv_update_data()
973 const struct bt_data *sd, size_t sd_len) in bt_le_adv_start_legacy() argument
1059 err = le_adv_update(adv, ad, ad_len, sd, sd_len, false, in bt_le_adv_start_legacy()
[all …]
/Zephyr-latest/subsys/bluetooth/mesh/
Dadv_legacy.c275 const struct bt_data *sd, size_t sd_len) in bt_mesh_adv_gatt_start() argument
278 return bt_le_adv_start(param, ad, ad_len, sd, sd_len); in bt_mesh_adv_gatt_start()
Dadv_ext.c160 const struct bt_data *sd, size_t sd_len) in adv_start() argument
186 err = bt_le_ext_adv_set_data(ext_adv->instance, ad, ad_len, sd, sd_len); in adv_start()
569 const struct bt_data *sd, size_t sd_len) in bt_mesh_adv_gatt_start() argument
581 return adv_start(ext_adv, param, &start, ad, ad_len, sd, sd_len); in bt_mesh_adv_gatt_start()
Dadv.h117 const struct bt_data *sd, size_t sd_len);
/Zephyr-latest/tests/bsim/bluetooth/host/privacy/device/src/
Dtest_undirected_peripheral.c237 size_t sd_len = 1; in update_adv_params() local
239 err = bt_le_ext_adv_set_data(adv, NULL, 0, &sd, sd_len); in update_adv_params()
/Zephyr-latest/include/zephyr/bluetooth/
Dbluetooth.h1254 const struct bt_data *sd, size_t sd_len);
1269 const struct bt_data *sd, size_t sd_len);
1386 const struct bt_data *sd, size_t sd_len);
/Zephyr-latest/tests/bluetooth/tester/src/btp/
Dbtp_gap.h455 const struct bt_data *sd, size_t sd_len, uint32_t *settings);
/Zephyr-latest/subsys/bluetooth/host/shell/
Dbt.c1983 ssize_t sd_len = 0; in cmd_advertise() local
2053 sd_len++; in cmd_advertise()
2068 err = bt_le_adv_start(&param, ad_len > 0 ? ad : NULL, ad_len, sd_len > 0 ? sd : NULL, in cmd_advertise()
2069 sd_len); in cmd_advertise()
2281 size_t sd_len = 0; in cmd_adv_data() local
2344 data_len = &sd_len; in cmd_adv_data()
2400 sd_len += len; in cmd_adv_data()
2404 sd_len > 0 ? sd : NULL, sd_len); in cmd_adv_data()