/Zephyr-latest/subsys/bluetooth/controller/ll_sw/ |
D | ull_scan.c | 65 uint16_t period, struct ll_scan_set **scan, 67 static uint8_t duration_period_setup(struct ll_scan_set *scan, 70 static uint8_t duration_period_update(struct ll_scan_set *scan, 86 struct ll_scan_set *scan; in ll_scan_params_set() local 89 scan = ull_scan_is_disabled_get(SCAN_HANDLE_1M); in ll_scan_params_set() 90 if (!scan) { in ll_scan_params_set() 110 scan = scan_coded; in ll_scan_params_set() 113 lll = &scan->lll; in ll_scan_params_set() 116 * scan instance. in ll_scan_params_set() 131 lll = &scan->lll; in ll_scan_params_set() [all …]
|
D | ull_scan_internal.h | 33 /* Set scan parameters */ 39 uint8_t ull_scan_enable(struct ll_scan_set *scan); 42 uint8_t ull_scan_disable(uint8_t handle, struct ll_scan_set *scan); 44 /* Helper function to handle scan done events */ 47 /* Helper function to dequeue scan timeout event */ 53 /* Return the scan set handle given the scan set instance */ 54 uint8_t ull_scan_handle_get(struct ll_scan_set *scan); 56 /* Helper function to check and return if a valid scan context */ 57 struct ll_scan_set *ull_scan_is_valid_get(struct ll_scan_set *scan); 84 /* Return the scan aux set instance given the handle */ [all …]
|
D | ull_central.c | 74 static inline void conn_release(struct ll_scan_set *scan); 92 struct ll_scan_set *scan; in ll_create_connection() local 104 scan = ull_scan_is_disabled_get(SCAN_HANDLE_1M); in ll_create_connection() 105 if (!scan) { in ll_create_connection() 134 lll = &scan->lll; in ll_create_connection() 147 scan = scan_coded; in ll_create_connection() 160 lll = &scan->lll; in ll_create_connection() 168 lll = &scan->lll; in ll_create_connection() 398 scan->own_addr_type = own_addr_type; in ll_create_connection() 403 scan->ticks_window = ull_scan_params_set(lll, 0U, scan_interval, in ll_create_connection() [all …]
|
D | ull_scan_aux.c | 147 static inline struct ll_sync_set *sync_create_get(struct ll_scan_set *scan) in sync_create_get() argument 150 return (!scan->periodic.cancelled) ? scan->periodic.sync : NULL; in sync_create_get() 184 struct ll_scan_set *scan; in ull_scan_aux_setup() local 219 scan = HDR_LLL2ULL(lll); in ull_scan_aux_setup() 220 sync = sync_create_get(scan); in ull_scan_aux_setup() 224 ull_scan_handle_get(scan); in ull_scan_aux_setup() 238 scan = HDR_LLL2ULL(lll); in ull_scan_aux_setup() 239 sync = sync_create_get(scan); in ull_scan_aux_setup() 243 ull_scan_handle_get(scan); in ull_scan_aux_setup() 253 /* Node has valid aux context so its scan was scheduled in ull_scan_aux_setup() [all …]
|
D | ll_tx_pwr.c | 73 struct ll_scan_set *scan; in ll_tx_pwr_lvl_get() local 84 scan = ull_scan_set_get(handle); in ll_tx_pwr_lvl_get() 85 if (!scan) { in ll_tx_pwr_lvl_get() 88 *tx_pwr_lvl = scan->lll.tx_pwr_lvl; in ll_tx_pwr_lvl_get() 170 struct ll_scan_set *scan; in ll_tx_pwr_lvl_set() local 181 scan = ull_scan_set_get(handle); in ll_tx_pwr_lvl_set() 182 if (!scan) { in ll_tx_pwr_lvl_set() 185 scan->lll.tx_pwr_lvl = *tx_pwr_lvl; in ll_tx_pwr_lvl_set()
|
D | ull_sync_internal.h | 12 void ull_sync_setup_addr_check(struct ll_sync_set *sync, struct ll_scan_set *scan, 14 bool ull_sync_setup_sid_match(struct ll_sync_set *sync, struct ll_scan_set *scan, uint8_t sid); 19 void ull_sync_setup(struct ll_scan_set *scan, uint8_t phy,
|
/Zephyr-latest/tests/bluetooth/controller/mock_ctrl/src/ |
D | ull_scan.c | 32 struct ll_scan_set *scan; in ll_scan_params_set() local 34 scan = ull_scan_is_disabled_get(0); in ll_scan_params_set() 35 if (!scan) { in ll_scan_params_set() 39 scan->own_addr_type = own_addr_type; in ll_scan_params_set() 55 struct ll_scan_set *scan; in ull_scan_is_enabled_get() local 57 scan = ull_scan_set_get(handle); in ull_scan_is_enabled_get() 58 if (!scan || !scan->is_enabled) { in ull_scan_is_enabled_get() 62 return scan; in ull_scan_is_enabled_get() 67 struct ll_scan_set *scan; in ull_scan_is_disabled_get() local 69 scan = ull_scan_set_get(handle); in ull_scan_is_disabled_get() [all …]
|
/Zephyr-latest/subsys/bluetooth/mesh/ |
D | rpr_srv.c | 69 } scan; member 90 .scan = { 104 for (i = 0; i < srv.scan.max_devs; ++i) { in unprov_get() 106 if ((srv.scan.devs[i].flags & BT_MESH_RPR_UNPROV_ACTIVE) && in unprov_get() 107 !memcmp(srv.scan.devs[i].uuid, uuid, 16)) { in unprov_get() 108 return &srv.scan.devs[i]; in unprov_get() 110 } else if (!(srv.scan.devs[i].flags & BT_MESH_RPR_UNPROV_ACTIVE)) { in unprov_get() 111 return &srv.scan.devs[i]; in unprov_get() 134 srv.scan.cli.addr = BT_MESH_ADDR_UNASSIGNED; in cli_scan_clear() 135 srv.scan.cli.net_idx = BT_MESH_KEY_UNUSED; in cli_scan_clear() [all …]
|
/Zephyr-latest/subsys/net/l2/wifi/ |
D | Kconfig | 5 bool "Raw scan results" 7 This option enables raw scan results. When enabled, the raw scan 15 int "Maximum length of raw scan results" 18 This option defines the maximum length of raw scan results. 21 bool "Only raw scan results" 23 This option enables only raw scan results. When enabled, the raw scan 25 The scan results are not parsed and the application is responsible 26 for parsing the scan results. Normal scan results are not provided 45 Always request a passive scan, regardless of the user supplied parameters. 47 RF transmissions. This doesn't guarantee that passive scan will be used, [all …]
|
/Zephyr-latest/drivers/kscan/ |
D | Kconfig | 1 # Keyboard scan configuration options 7 bool "Keyboard scan drivers [DEPRECATED]" 10 Include Keyboard scan drivers in system config. 21 int "Keyboard scan driver init priority" 24 Keyboard scan device driver initialization priority.
|
/Zephyr-latest/doc/connectivity/bluetooth/shell/audio/ |
D | bap_scan_delegator.rst | 1 Bluetooth: Basic Audio Profile: Scan Delegator Shell 4 This document describes how to run the Scan Delegator functionality, Note that 8 The Scan Delegator may optionally support the periodic advertisements 11 The Scan Delegator server typically resides on devices that have inputs or 16 the Scan Delegator interactively. 18 The Scan Delegator can currently only set the sync state of a receive state, but 24 bap_scan_delegator - Bluetooth BAP Scan Delegator shell commands 37 synced : Set server scan state <src_id> <bis_syncs> 68 uart:~$ bt scan on 70 uart:~$ bt scan off
|
/Zephyr-latest/include/zephyr/bluetooth/mesh/ |
D | rpr_cli.h | 43 /** Scan status response */ 45 /** Current scan status */ 47 /** Current scan state */ 48 enum bt_mesh_rpr_scan scan; member 49 /** Max number of devices to report in current scan. */ 51 /** Seconds remaining of the scan. */ 59 /** Supports active scan */ 65 /** @brief Scan report callback. 113 * @param status Scan status response buffer. 127 * Use the @c uuid parameter to scan for a specific device, or leave it as NULL [all …]
|
/Zephyr-latest/doc/connectivity/bluetooth/shell/host/ |
D | gap.rst | 19 Scan for devices 22 Start scanning by using the :code:`bt scan on` command. Depending on the environment you're in, you 23 may see a lot of lines printed on the shell. To stop the scan, run :code:`bt scan off`, the 30 uart:~$ bt scan on 31 Bluetooth active scan enabled 40 uart:~$ bt scan off 41 Scan successfully stopped 44 specific device, you can enable scan filters. There are four types of filters: by name, by RSSI, by 45 address and by periodic advertising interval. To apply a filter, use the :code:`bt scan-set-filter` 52 uart:~$ bt scan-filter-set name "test shell" [all …]
|
/Zephyr-latest/.github/workflows/ |
D | license_check.yml | 8 name: Scan code for licenses 14 - name: Scan the code 18 directory-to-scan: 'scan/'
|
/Zephyr-latest/drivers/input/ |
D | Kconfig.npcx | 1 # NPCX Keyboard scan driver configuration options 7 bool "Nuvoton NPCX embedded controller (EC) keyboard scan driver" 13 This option enables the keyboard scan driver for NPCX family of
|
/Zephyr-latest/tests/net/wifi/wifi_nm/src/ |
D | main.c | 74 .scan = wifi_scan, 122 .scan = wifi_nm_scan, 132 printk("Scan request failed\n"); in request_scan() 154 zassert_equal(ret, 0, "Scan request failed"); in ZTEST() 155 zassert_true(wifi_offload_op_called, "Scan callback not called"); in ZTEST() 171 zassert_equal(ret, 0, "Scan request failed"); in ZTEST() 172 zassert_true(wifi_offload_op_called, "Scan callback not called"); in ZTEST() 181 zassert_equal(ret, 0, "Scan request failed"); in ZTEST() 182 zassert_true(wifi_nm_op_called, "Scan callback not called"); in ZTEST()
|
/Zephyr-latest/samples/bluetooth/hci_vs_scan_req/ |
D | README.rst | 2 :name: HCI Vendor-Specific Scan Request 5 Use vendor-specific HCI commands to enable Scan Request events when using legacy advertising. 11 scan request events even using legacy advertisements, while may result in lower 23 send scan requests.
|
/Zephyr-latest/samples/net/wifi/shell/ |
D | README.rst | 12 scan, connect, and disconnect. It also enables the net_shell module 33 shell> wifi scan 34 Scan requested 42 Scan request done
|
/Zephyr-latest/dts/bindings/display/ |
D | maxim,max7219.yaml | 12 scan-limit: 26 Display digit 0 only when scan-limit is 0, digits 0 & 1 when 27 scan-limit is 1, and so on.
|
/Zephyr-latest/tests/drivers/input/kbd_matrix/dts/bindings/ |
D | test-kbd-scan.yaml | 4 description: Keyboard scan test binding 6 compatible: "test-kbd-scan"
|
/Zephyr-latest/samples/bluetooth/extended_adv/ |
D | README.rst | 76 Stopping scan 82 Starting to scan for extended adv 84 Stopping scan 90 Starting to scan for extended adv 92 Stopping scan
|
/Zephyr-latest/include/zephyr/drivers/ |
D | kscan.h | 9 * @brief Public API for Keyboard scan matrix devices. 11 * and users can later decode keys using their desired scan code tables in 30 * @defgroup kscan_interface Keyboard Scan Driver APIs 40 * @brief Keyboard scan callback called when user press/release 56 * Keyboard scan driver API definition and system call entry points. 76 * @brief Configure a Keyboard scan instance.
|
/Zephyr-latest/subsys/bluetooth/mesh/shell/ |
D | rpr.c | 115 shell_print(sh, "Scan start failed: %d", err); in cmd_scan() 120 shell_print(sh, "Scan started."); in cmd_scan() 122 shell_print(sh, "Scan start response: %d", rsp.status); in cmd_scan() 160 shell_print(sh, "Scan start failed: %d", err); in cmd_scan_ext() 164 shell_print(sh, "Extended scan started."); in cmd_scan_ext() 195 shell_print(sh, "Scan start failed: %d", err); in cmd_scan_srv() 218 shell_print(sh, "Scan capabilities get failed: %d", err); in cmd_scan_caps() 222 shell_print(sh, "Remote Provisioning scan capabilities of 0x%04x:", in cmd_scan_caps() 246 shell_print(sh, "Scan get failed: %d", err); in cmd_scan_get() 250 shell_print(sh, "Remote Provisioning scan on 0x%04x:", bt_mesh_shell_target_ctx.dst); in cmd_scan_get() [all …]
|
/Zephyr-latest/doc/connectivity/bluetooth/api/mesh/ |
D | rpr_cli.rst | 25 The scanning procedure is used to scan for unprovisioned devices located nearby the Remote 26 Provisioning Server. The Remote Provisioning Client starts a scan procedure by using the 56 The above example shows pseudo code for starting a scan procedure on the target Remote Provisioning 58 scan report will contain a maximum of three unprovisioned devices. If the UUID argument was 59 specified, the same procedure would only scan for the device with the corresponding UUID. After the 60 procedure completes, the server sends the scan report that will be handled in the client's 66 Provisioning Server will use active scanning to request a scan response from the unprovisioned
|
/Zephyr-latest/drivers/wifi/simplelink/ |
D | Kconfig.simplelink | 30 int "Number of entries in network scan table: Max: 30" 33 The number of results to request on a Wi-Fi scan operation. 37 int "Number of retries to get network scan table"
|