Home
last modified time | relevance | path

Searched refs:scan (Results 1 – 25 of 156) sorted by relevance

1234567

/Zephyr-latest/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()
131 lll = &scan->lll; in ll_scan_params_set()
134 scan->own_addr_type = own_addr_type; in ll_scan_params_set()
[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()
Dull_central.c74 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 …]
Dull_scan_aux.c147 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()
306 scan = HDR_LLL2ULL(lll); in ull_scan_aux_setup()
[all …]
Dull_scan_internal.h39 uint8_t ull_scan_enable(struct ll_scan_set *scan);
42 uint8_t ull_scan_disable(uint8_t handle, struct ll_scan_set *scan);
54 uint8_t ull_scan_handle_get(struct ll_scan_set *scan);
57 struct ll_scan_set *ull_scan_is_valid_get(struct ll_scan_set *scan);
Dull_sync_internal.h12 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,
Dull_sync.c120 struct ll_scan_set *scan; in ll_sync_create() local
125 scan = ull_scan_set_get(SCAN_HANDLE_1M); in ll_sync_create()
126 if (!scan || scan->periodic.sync) { in ll_sync_create()
153 scan->periodic.cancelled = 0U; in ll_sync_create()
154 scan->periodic.state = LL_SYNC_STATE_IDLE; in ll_sync_create()
155 scan->periodic.filter_policy = in ll_sync_create()
161 scan->periodic.filter_policy; in ll_sync_create()
164 if (!scan->periodic.filter_policy) { in ll_sync_create()
182 sync->lll.filter_policy = scan->periodic.filter_policy; in ll_sync_create()
186 scan->periodic.sync = sync; in ll_sync_create()
[all …]
/Zephyr-latest/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-latest/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-latest/drivers/kscan/
DKconfig1 # 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/tests/bluetooth/df/connectionless_cte_rx/src/
Dcommon.c41 struct ll_scan_set *scan; in common_create_per_sync_set() local
58 scan = ull_scan_set_get(SCAN_HANDLE_1M); in common_create_per_sync_set()
59 sync = scan->periodic.sync; in common_create_per_sync_set()
/Zephyr-latest/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
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/input/
DKconfig.npcx1 # 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
DKconfig.it88015 bool "ITE IT8801 keyboard matrix scan controller"
12 Enable driver for ITE IT8801 I2C-based keyboard matrix scan.
/Zephyr-latest/tests/drivers/input/kbd_matrix/boards/
Dnative_sim.overlay8 test_kbd_scan: test-kbd-scan {
9 compatible = "test-kbd-scan";
/Zephyr-latest/doc/connectivity/bluetooth/shell/host/
Dgap.rst22 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
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"
58 uart:~$ bt scan-filter-set rssi -40
65 uart:~$ bt scan-filter-clear all
[all …]
/Zephyr-latest/samples/bluetooth/extended_adv/
DREADME.rst76 Stopping scan
82 Starting to scan for extended adv
84 Stopping scan
90 Starting to scan for extended adv
92 Stopping scan
/Zephyr-latest/drivers/wifi/simplelink/
DKconfig.simplelink30 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"
/Zephyr-latest/tests/drivers/input/gpio_kbd_matrix/boards/
Dnative_sim.overlay36 kbd_matrix_scan: kbd-matrix-scan {
47 idle-mode = "scan";
/Zephyr-latest/samples/drivers/w1/scanner/
DREADME.rst10 This sample demonstrates how to scan for 1-Wire devices. It runs the 1-Wire
11 scan routine once and prints the family id as well as serial number of the
/Zephyr-latest/doc/connectivity/bluetooth/api/mesh/
Drpr_cli.rst25 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/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-latest/samples/drivers/smbus/
DREADME.rst47 scan :Scan SMBus peripheral devices command
48 Usage: scan <device>
70 uart:~$ smbus scan smbus@fb00
/Zephyr-latest/samples/net/wifi/shell/
DREADME.rst12 scan, connect, and disconnect. It also enables the net_shell module
33 shell> wifi scan
/Zephyr-latest/subsys/bluetooth/mesh/shell/
Drpr.c252 shell_print(sh, "\tScan type: %u", rsp.scan); in cmd_scan_get()
412 SHELL_CMD_ARG(scan, NULL, "<Timeout(s)> [<UUID(1-16 hex)>]", cmd_scan, 2, 1),
413 SHELL_CMD_ARG(scan-ext, NULL, "<Timeout(s)> <UUID(1-16 hex)> [<ADType> ... ]",
415 SHELL_CMD_ARG(scan-srv, NULL, "[<ADType> ... ]", cmd_scan_srv, 1,
417 SHELL_CMD_ARG(scan-caps, NULL, NULL, cmd_scan_caps, 1, 0),
418 SHELL_CMD_ARG(scan-get, NULL, NULL, cmd_scan_get, 1, 0),
419 SHELL_CMD_ARG(scan-stop, NULL, NULL, cmd_scan_stop, 1, 0),

1234567