Home
last modified time | relevance | path

Searched full:scan (Results 1 – 25 of 312) sorted by relevance

12345678910>>...13

/Zephyr-Core-3.4.0/subsys/bluetooth/controller/ll_sw/
Dull_scan.c65 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 …]
Dull_scan_internal.h33 /* 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 …]
Dull_scan_aux.c52 static inline struct ll_sync_set *sync_create_get(struct ll_scan_set *scan);
112 struct ll_scan_set *scan; in ull_scan_aux_setup() local
144 scan = HDR_LLL2ULL(lll); in ull_scan_aux_setup()
145 sync = sync_create_get(scan); in ull_scan_aux_setup()
149 ull_scan_handle_get(scan); in ull_scan_aux_setup()
162 scan = HDR_LLL2ULL(lll); in ull_scan_aux_setup()
163 sync = sync_create_get(scan); in ull_scan_aux_setup()
167 ull_scan_handle_get(scan); in ull_scan_aux_setup()
176 /* Node has valid aux context so its scan was scheduled in ull_scan_aux_setup()
194 * valid scan set was scheduled from LLL. We can in ull_scan_aux_setup()
[all …]
Dull_central.c74 static inline void conn_release(struct ll_scan_set *scan);
92 struct ll_scan_set *scan; in ll_create_connection() local
103 scan = ull_scan_is_disabled_get(SCAN_HANDLE_1M); in ll_create_connection()
104 if (!scan) { in ll_create_connection()
133 lll = &scan->lll; in ll_create_connection()
146 scan = scan_coded; in ll_create_connection()
159 lll = &scan->lll; in ll_create_connection()
167 lll = &scan->lll; in ll_create_connection()
392 scan->own_addr_type = own_addr_type; in ll_create_connection()
397 scan->ticks_window = ull_scan_params_set(lll, 0U, scan_interval, in ll_create_connection()
[all …]
Dull_sync_internal.h12 void ull_sync_setup_addr_check(struct ll_scan_set *scan, uint8_t addr_type,
14 bool ull_sync_setup_sid_match(struct ll_scan_set *scan, uint8_t sid);
15 void ull_sync_setup(struct ll_scan_set *scan, struct ll_scan_aux_set *aux,
17 void ull_sync_setup_reset(struct ll_scan_set *scan);
Dull_sync.c105 struct ll_scan_set *scan; in ll_sync_create() local
108 scan = ull_scan_set_get(SCAN_HANDLE_1M); in ll_sync_create()
109 if (!scan || scan->periodic.sync) { in ll_sync_create()
157 scan->periodic.cancelled = 0U; in ll_sync_create()
158 scan->periodic.state = LL_SYNC_STATE_IDLE; in ll_sync_create()
159 scan->periodic.filter_policy = in ll_sync_create()
165 scan->periodic.filter_policy; in ll_sync_create()
168 if (!scan->periodic.filter_policy) { in ll_sync_create()
169 scan->periodic.sid = sid; in ll_sync_create()
170 scan->periodic.adv_addr_type = adv_addr_type; in ll_sync_create()
[all …]
Dll_tx_pwr.c73 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()
/Zephyr-Core-3.4.0/tests/bluetooth/controller/mock_ctrl/src/
Dull_scan.c32 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-Core-3.4.0/subsys/net/l2/wifi/
DKconfig5 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
/Zephyr-Core-3.4.0/subsys/bluetooth/mesh/
Drpr_srv.c69 } 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-Core-3.4.0/doc/connectivity/bluetooth/api/shell/
Dbap_scan_delegator.rst1 Bluetooth: Broadcast Audio Profile Scan Delegator
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
15 the Scan Delegator interactively.
17 The Scan Delegator can currently only set the sync state of a receive state, but
23 bap_scan_delegator - Bluetooth BAP Scan Delegator shell commands
26 synced :Set server scan state <src_id> <pa_synced> <bis_syncs> <enc_state>
/Zephyr-Core-3.4.0/drivers/kscan/
DKconfig1 # Keyboard scan configuration options
7 bool "Keyboard scan drivers"
9 Include Keyboard scan drivers in system config.
27 int "Keyboard scan driver init priority"
30 Keyboard scan device driver initialization priority.
/Zephyr-Core-3.4.0/include/zephyr/bluetooth/mesh/
Drpr_cli.h43 /** 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-Core-3.4.0/.github/workflows/
Dlicense_check.yml8 name: Scan code for licenses
12 - name: Scan the code
16 directory-to-scan: 'scan/'
/Zephyr-Core-3.4.0/samples/net/wifi/
DREADME.rst11 scan, connect, and disconnect. It also enables the net_shell module
32 shell> wifi scan
33 Scan requested
41 Scan request done
/Zephyr-Core-3.4.0/dts/bindings/display/
Dmaxim,max7219.yaml12 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-Core-3.4.0/drivers/input/
DKconfig.npcx1 # NPCX Keyboard scan driver configuration options
7 bool "Nuvoton NPCX embedded controller (EC) keyboard scan driver"
12 This option enables the keyboard scan driver for NPCX family of
/Zephyr-Core-3.4.0/doc/connectivity/bluetooth/
Dbluetooth-shell.rst56 Scan for devices
59 Start scanning by using the :code:`bt scan on` command. Depending on the environment you're in, you
60 may see a lot of lines printed on the shell. To stop the scan, run :code:`bt scan off`, the
67 uart:~$ bt scan on
68 Bluetooth active scan enabled
77 uart:~$ bt scan off
78 Scan successfully stopped
81 specific device, you can enable scan filters. There are four types of filters: by name, by RSSI, by
82 address and by periodic advertising interval. To apply a filter, use the :code:`bt scan-set-filter`
89 uart:~$ bt scan-filter-set name "test shell"
[all …]
/Zephyr-Core-3.4.0/include/zephyr/drivers/
Dkscan.h9 * @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
36 * @brief Keyboard scan callback called when user press/release
51 * Keyboard scan driver API definition and system call entry points.
70 * @brief Configure a Keyboard scan instance.
/Zephyr-Core-3.4.0/subsys/bluetooth/mesh/shell/
Drpr.c98 shell_print(sh, "Scan start failed: %d", err); in cmd_scan()
103 shell_print(sh, "Scan started."); in cmd_scan()
105 shell_print(sh, "Scan start response: %d", rsp.status); in cmd_scan()
143 shell_print(sh, "Scan start failed: %d", err); in cmd_scan_ext()
147 shell_print(sh, "Extended scan started."); in cmd_scan_ext()
178 shell_print(sh, "Scan start failed: %d", err); in cmd_scan_srv()
201 shell_print(sh, "Scan capabilities get failed: %d", err); in cmd_scan_caps()
205 shell_print(sh, "Remote Provisioning scan capabilities of 0x%04x:", in cmd_scan_caps()
229 shell_print(sh, "Scan get failed: %d", err); in cmd_scan_get()
233 shell_print(sh, "Remote Provisioning scan on 0x%04x:", bt_mesh_shell_target_ctx.dst); in cmd_scan_get()
[all …]
/Zephyr-Core-3.4.0/drivers/wifi/simplelink/
DKconfig.simplelink28 int "Number of entries in network scan table: Max: 30"
31 The number of results to request on a Wi-Fi scan operation.
35 int "Number of retries to get network scan table"
/Zephyr-Core-3.4.0/doc/connectivity/bluetooth/api/mesh/
Drpr_cli.rst23 …ure is used to scan for unprovisioned devices located nearby the Remote Provisioning Server. The R…
52 The above example shows pseudo code for starting a scan procedure on the target Remote Provisioning…
53 procedure will start a ten-second, multiple-device scanning where the generated scan report will co…
55 only scan for the device with the corresponding UUID. After the procedure completes, the
56 server sends the scan report that will be handled in the client's :c:member:`bt_mesh_rpr_cli.scan_r…
61 a scan response from the unprovisioned device if it is supported by the unprovisioned device.
/Zephyr-Core-3.4.0/doc/releases/
Drelease-notes-1.9.rst260 * ``ZEP-2258`` - Coverity static scan issues seen
293 * ``ZEP-2343`` - Coverity static scan issues seen
294 * ``ZEP-2344`` - Coverity static scan issues seen
295 * ``ZEP-2345`` - Coverity static scan issues seen
298 * ``ZEP-2355`` - Coverity static scan issues seen
339 * ``ZEP-2465`` - Static code scan (coverity) issues seen
340 * ``ZEP-2467`` - Static code scan (coverity) issues seen
341 * ``ZEP-2468`` - Static code scan (coverity) issues seen
342 * ``ZEP-2469`` - Static code scan (coverity) issues seen
343 * ``ZEP-2474`` - Static code scan (coverity) issues seen
[all …]
/Zephyr-Core-3.4.0/tests/net/ieee802154/l2/src/
Dieee802154_shell_test.c48 "Scan did not receive correct PAN id."); in scan_result_cb()
50 "Scan did not receive correct co-ordinator address length."); in scan_result_cb()
53 "Scan did not receive correct link quality indicator."); in scan_result_cb()
77 ret = shell_execute_cmd(NULL, "ieee802154 scan active 11 500"); in test_scan_shell_cmd()
78 zassert_equal(0, ret, "Active scan failed: %d", ret); in test_scan_shell_cmd()
80 /* Expect the beacon to have been received and handled already by the scan command. */ in test_scan_shell_cmd()
81 zassert_equal(0, k_sem_take(&scan_lock, K_NO_WAIT), "Active scan: did not receive beacon."); in test_scan_shell_cmd()
/Zephyr-Core-3.4.0/samples/drivers/smbus/
DREADME.rst40 scan :Scan SMBus peripheral devices command
41 Usage: scan <device>
59 Scan for available SMBus devices with command::
61 uart:~$ smbus scan smbus@fb00

12345678910>>...13