Home
last modified time | relevance | path

Searched refs:adv_type (Results 1 – 25 of 28) sorted by relevance

12

/Zephyr-latest/subsys/bluetooth/controller/ll_sw/shell/
Dll.c152 uint8_t adv_type; in cmd_advx() local
164 adv_type = 0x05; /* Adv. Ext. */ in cmd_advx()
167 adv_type = 0x01; /* Directed */ in cmd_advx()
173 adv_type = 0x04; /* Directed */ in cmd_advx()
253 err = ll_adv_params_set(handle, evt_prop, adv_interval, adv_type, in cmd_advx()
/Zephyr-latest/samples/bluetooth/scan_adv/src/
Dmain.c22 static void scan_cb(const bt_addr_le_t *addr, int8_t rssi, uint8_t adv_type, in scan_cb() argument
/Zephyr-latest/tests/bsim/bluetooth/host/adv/extended/src/
Dext_adv_scanner.c88 info->adv_type, info->adv_props); in scan_recv()
90 if (info->adv_type == BT_GAP_ADV_TYPE_EXT_ADV && in scan_recv()
/Zephyr-latest/tests/bsim/bluetooth/mesh/src/
Dtest_proxy_sol.c70 static uint8_t proxy_adv_type_get(uint8_t adv_type, struct net_buf_simple *buf) in proxy_adv_type_get() argument
75 if (adv_type != BT_GAP_ADV_TYPE_ADV_IND || len < 12) { in proxy_adv_type_get()
91 uint8_t type = proxy_adv_type_get(info->adv_type, ad); in scan_recv()
Dtest_suspend.c224 uint8_t adv_type, struct net_buf_simple *buf) in gatt_scan_cb() argument
226 if (adv_type != BT_GAP_ADV_TYPE_ADV_IND) { in gatt_scan_cb()
249 static void suspend_state_change_cb(const bt_addr_le_t *addr, int8_t rssi, uint8_t adv_type, in suspend_state_change_cb() argument
254 if (adv_type != BT_GAP_ADV_TYPE_ADV_NONCONN_IND) { in suspend_state_change_cb()
Dtest_advertiser.c172 uint8_t adv_type, struct net_buf_simple *buf) in gatt_scan_cb() argument
174 if (adv_type != BT_GAP_ADV_TYPE_ADV_IND) { in gatt_scan_cb()
194 static void xmit_scan_cb(const bt_addr_le_t *addr, int8_t rssi, uint8_t adv_type, in xmit_scan_cb() argument
199 if (adv_type != BT_GAP_ADV_TYPE_ADV_NONCONN_IND) { in xmit_scan_cb()
249 static void receive_order_scan_cb(const bt_addr_le_t *addr, int8_t rssi, uint8_t adv_type, in receive_order_scan_cb() argument
713 static void suspended_adv_scan_cb(const bt_addr_le_t *addr, int8_t rssi, uint8_t adv_type, in suspended_adv_scan_cb() argument
Dtest_beacon.c338 static void beacon_scan_cb(const bt_addr_le_t *addr, int8_t rssi, uint8_t adv_type, in beacon_scan_cb() argument
344 ASSERT_EQUAL(BT_GAP_ADV_TYPE_ADV_NONCONN_IND, adv_type); in beacon_scan_cb()
1578 static uint8_t proxy_adv_type_get(uint8_t adv_type, struct net_buf_simple *buf) in proxy_adv_type_get() argument
1583 if (adv_type != BT_GAP_ADV_TYPE_ADV_IND || len < 12) { in proxy_adv_type_get()
1636 static void priv_scan_cb(const bt_addr_le_t *addr, int8_t rssi, uint8_t adv_type, in priv_scan_cb() argument
1641 if (proxy_adv_type_get(adv_type, buf) != ctx->beacon_type) { in priv_scan_cb()
1673 static void proxy_adv_scan_all_cb(const bt_addr_le_t *addr, int8_t rssi, uint8_t adv_type, in proxy_adv_scan_all_cb() argument
1678 beac->evt_type = proxy_adv_type_get(adv_type, buf); in proxy_adv_scan_all_cb()
/Zephyr-latest/tests/bsim/bluetooth/ll/advx/src/
Dmain.c173 uint8_t adv_type; in test_advx_main() local
581 adv_type = 0x07; /* Adv. Ext. */ in test_advx_main()
584 err = ll_adv_params_set(handle, evt_prop, ADV_INTERVAL, adv_type, in test_advx_main()
872 err = ll_adv_params_set(handle, EVT_PROP_SCAN, ADV_INTERVAL, adv_type, in test_advx_main()
923 err = ll_adv_params_set(handle, evt_prop, ADV_INTERVAL, adv_type, in test_advx_main()
972 err = ll_adv_params_set(handle, evt_prop, ADV_INTERVAL, adv_type, in test_advx_main()
1022 err = ll_adv_params_set(handle, evt_prop, ADV_INTERVAL, adv_type, in test_advx_main()
1051 err = ll_adv_params_set(handle, evt_prop, ADV_INTERVAL, adv_type, in test_advx_main()
1090 static void scan_cb(const bt_addr_le_t *addr, int8_t rssi, uint8_t adv_type, in scan_cb() argument
1096 printk("%s: type = 0x%x, addr = %s\n", __func__, adv_type, le_addr); in scan_cb()
[all …]
/Zephyr-latest/tests/bluetooth/common/testlib/src/
Dscan.c43 static void bt_scan_find_name_cb(const bt_addr_le_t *addr, int8_t rssi, uint8_t adv_type, in bt_scan_find_name_cb() argument
/Zephyr-latest/samples/bluetooth/observer/src/
Dobserver.c73 le_addr, info->adv_type, info->tx_power, info->rssi, in scan_recv()
/Zephyr-latest/samples/bluetooth/extended_adv/scanner/src/
Dmain.c82 if (info->adv_type == BT_GAP_ADV_TYPE_EXT_ADV && in scan_recv()
/Zephyr-latest/subsys/bluetooth/mesh/
Dadv.c313 uint8_t adv_type, struct net_buf_simple *buf) in bt_mesh_scan_cb() argument
315 if (adv_type != BT_GAP_ADV_TYPE_ADV_NONCONN_IND) { in bt_mesh_scan_cb()
Dgatt_cli.c301 if (info->adv_type != BT_GAP_ADV_TYPE_ADV_IND) { in scan_recv()
Drpr_srv.c1244 info->adv_type == BT_GAP_ADV_TYPE_SCAN_RSP) { in adv_handle_ext_scan()
1264 info->adv_type == BT_GAP_ADV_TYPE_SCAN_RSP) { in adv_handle_ext_scan()
1282 if (info->adv_type != BT_HCI_ADV_NONCONN_IND) { in adv_handle_scan()
/Zephyr-latest/subsys/bluetooth/controller/ll_sw/
Dull_adv.c217 uint8_t adv_type, uint8_t own_addr_type, argument
232 uint8_t ll_adv_params_set(uint16_t interval, uint8_t adv_type,
260 if (adv_type == PDU_ADV_TYPE_EXT_IND) {
281 adv_type = leg_adv_type_get(evt_prop);
318 adv_type = 0x05; /* index of PDU_ADV_TYPE_EXT_IND in */
350 if (adv_type != 0x01) {
369 pdu->type = pdu_adv_type[adv_type];
374 } else if (pdu->type != pdu_adv_type[adv_type]) {
415 pdu->type = pdu_adv_type[adv_type];
419 pdu->type = pdu_adv_type[adv_type];
/Zephyr-latest/samples/bluetooth/periodic_sync/src/
Dmain.c92 le_addr, info->adv_type, info->tx_power, info->rssi, name, in scan_recv()
/Zephyr-latest/samples/bluetooth/central_past/src/
Dmain.c79 le_addr, info->adv_type, info->tx_power, info->rssi, name, in scan_recv()
/Zephyr-latest/include/zephyr/bluetooth/
Dbluetooth.h1467 uint8_t adv_type, struct net_buf_simple *buf);
2232 uint8_t adv_type; member
/Zephyr-latest/subsys/bluetooth/controller/include/
Dll.h63 uint8_t adv_type, uint8_t own_addr_type,
73 uint8_t ll_adv_params_set(uint16_t interval, uint8_t adv_type,
/Zephyr-latest/samples/bluetooth/direction_finding_connectionless_rx/src/
Dmain.c247 le_addr, info->adv_type, info->tx_power, info->rssi, name, in scan_recv()
/Zephyr-latest/samples/bluetooth/iso_receive/src/
Dmain.c108 le_addr, info->adv_type, info->tx_power, info->rssi, name, in scan_recv()
/Zephyr-latest/subsys/bluetooth/host/
Dscan.c628 LOG_DBG("%s event %u, len %u, rssi %d dBm", bt_addr_le_str(addr), info->adv_type, len, in le_adv_recv()
651 scan_dev_found_cb(&id_addr, info->rssi, info->adv_type, buf); in le_adv_recv()
764 scan_info->adv_type = get_adv_type(sys_le16_to_cpu(evt->evt_type)); in create_ext_adv_info()
1676 adv_info.adv_type = evt->evt_type; in bt_hci_le_adv_report()
/Zephyr-latest/tests/bsim/bluetooth/ll/bis/src/
Dtest_past.c345 le_addr, info->adv_type, info->tx_power, info->rssi, name, in scan_recv()
Dtest_bis.c727 le_addr, info->adv_type, info->tx_power, info->rssi, name, in scan_recv()
/Zephyr-latest/tests/bsim/bluetooth/ll/cis/src/
Dmain.c138 le_addr, info->adv_type, info->tx_power, info->rssi, name, in scan_recv()

12