Home
last modified time | relevance | path

Searched full:central (Results 1 – 25 of 317) sorted by relevance

12345678910>>...13

/Zephyr-latest/tests/bsim/bluetooth/host/security/bond_overwrite_allowed/src/
Dperipheral.c22 bt_addr_le_t central; in peripheral() local
33 /* Central should bond here, and trigger a disconnect. */ in peripheral()
35 central = *bt_conn_get_dst(g_conn); in peripheral()
41 /* Central should bond here. */ in peripheral()
45 ASSERT(bt_addr_le_eq(bt_conn_get_dst(g_conn), &central), in peripheral()
46 "Test requires that central uses the same identity in both bonds."); in peripheral()
47 /* Central should disconnect here. */ in peripheral()
52 advertise_connectable(id_b, &central); in peripheral()
54 /* Central should verify that its bond with id_b works as expected. */ in peripheral()
Dmain.c10 void central(void);
15 .test_id = "central",
18 .test_main_f = central,
/Zephyr-latest/samples/bluetooth/direction_finding_central/
Dsample.yaml2 name: Direction Finding Central
3 description: Sample application showing central role of Direction Finding in connected
6 sample.bluetooth.direction_finding.central:
17 sample.bluetooth.direction_finding.central.aod:
/Zephyr-latest/tests/bsim/bluetooth/ll/cis/
DKconfig22 Skip central and/or peripheral subevent reception to test flush
39 bool "Skip central role subevents to test Flush Timeout"
42 Skip central role subevent reception to test flush timeout
46 int "Skip central ISO events count, all subevents in them"
49 Skip central ISO events count where all subevents are skipped.
/Zephyr-latest/samples/bluetooth/central/
DREADME.rst2 :name: Central
5 Implement basic Bluetooth LE Central role functionality (scanning and connecting).
10 Application demonstrating very basic Bluetooth LE Central role functionality by scanning
22 This sample can be found under :zephyr_file:`samples/bluetooth/central` in the
Dsample.yaml2 name: Bluetooth Central
4 sample.bluetooth.central:
12 sample.bluetooth.central.no_blobs:
/Zephyr-latest/tests/bsim/bluetooth/hci_uart/tests_scripts/
Dbasic_conn_split_hci_uart.sh7 # Basic connection test: a central connects to a peripheral and expects a
9 # Both central and peripheral hosts have their controllers in a separate device
18 UART_CEN=${UART_DIR}/central
32 # Central app + host
35 -testid=central -rs=6 -uart1_fifob_rxfile=${UART_CEN}.rx -uart1_fifob_txfile=${UART_CEN}.tx
37 # Central controller:
Dbasic_conn_split_hci_uart_psa.sh7 # Basic connection test: a central connects to a peripheral and expects a
9 # Both central and peripheral hosts have their controllers in a separate device
18 UART_CEN=${UART_DIR}/central
32 # Central app + host
35 -testid=central -rs=6 -uart1_fifob_rxfile=${UART_CEN}.rx -uart1_fifob_txfile=${UART_CEN}.tx
37 # Central controller:
Dbasic_conn_split_hci_uart_async.sh7 # Basic connection test: a central connects to a peripheral and expects a
9 # Both central and peripheral hosts have their controllers in a separate device
18 UART_CEN=${UART_DIR}/central
32 # Central app + host
35 -testid=central -rs=6 -uart1_fifob_rxfile=${UART_CEN}.rx -uart1_fifob_txfile=${UART_CEN}.tx
37 # Central controller:
/Zephyr-latest/subsys/bluetooth/controller/ll_sw/
Dull_conn_iso_types.h12 #define CIG_STATE_CONFIGURABLE 1 /* Central only */
13 #define CIG_STATE_INITIATING 2 /* Central only */
38 } central; member
79 uint8_t state:3; /* CIG_STATE_NO_CIG, CIG_STATE_CONFIGURABLE (central only),
80 * CIG_STATE_INITIATING (central only), CIG_STATE_ACTIVE or
91 } central; member
/Zephyr-latest/tests/bsim/bluetooth/ll/multiple_id/src/
Dmain.c59 PASS("Central tests passed\n"); in test_central_main()
65 FAIL("Central tests failed (%d)\n", err); in test_central_main()
101 PASS("Central tests passed\n"); in test_central_multiple_main()
107 FAIL("Central tests failed (%d)\n", err); in test_central_multiple_main()
138 PASS("Central tests passed\n"); in test_central_single_main()
143 FAIL("Central tests failed (%d)\n", err); in test_central_single_main()
182 .test_id = "central",
183 .test_descr = "Central Multilink",
197 .test_descr = "Single Central Multilink device",
211 .test_descr = "Single Central device",
/Zephyr-latest/tests/bsim/bluetooth/host/att/timeout/
Dmain.c156 * Central:
169 * 2. Make the read callback sleep for more than ATT Timeout when the central tries to read.
172 * 5. Make the read callback respond with the characteristic value when the central tries to read.
174 * 7. Expect the central to disconnect.
178 bool central = (get_device_nbr() == CENTRAL_DEVICE_NBR); in test_timeout() local
188 if (central) { in test_timeout()
194 if (central) { in test_timeout()
199 /* Here disconnect is triggered by the Central host due to ATT timeout. */ in test_timeout()
208 if (central) { in test_timeout()
214 if (central) { in test_timeout()
[all …]
/Zephyr-latest/tests/bsim/bluetooth/host/security/bond_overwrite_denied/src/
Dperipheral.c22 bt_addr_le_t central; in peripheral() local
33 /* Central should bond here, and trigger a disconnect. */ in peripheral()
35 central = *bt_conn_get_dst(g_conn); in peripheral()
41 /* Central should bond here. */ in peripheral()
Dmain.c10 void central(void);
15 .test_id = "central",
18 .test_main_f = central,
/Zephyr-latest/samples/bluetooth/peripheral_accept_list/
DREADME.rst13 accepted if the central device is on the accept list. Additionally, scan response
15 BLE central devices (such as Android smartphones) might not display the device
16 in the scan results if the central device is not on the accept list.
26 * Second Bluetooth LE device acting as a central. For example another Zephyr board or smartphone
/Zephyr-latest/tests/bsim/bluetooth/host/security/bond_per_connection/src/
Dmain.c10 void central(void);
15 .test_id = "central",
18 .test_main_f = central,
/Zephyr-latest/tests/bsim/bluetooth/host/privacy/central/src/
Dmain.c18 .test_id = "central",
19 .test_descr = "Central performs active scanning using RPA",
26 .test_descr = "Central connects to a peripheral using a short RPA timeout",
33 .test_descr = "Central connects to a peripheral using a short RPA timeout"
/Zephyr-latest/tests/bsim/bluetooth/host/privacy/peripheral/test_scripts/
Drun_test_rpa_sharing.sh19 -v=${verbosity_level} -s=${simulation_id} -d=0 -testid=central -RealEncryption=1 \
20 -flash="${simulation_id}.central.log.bin"
32 -v=${verbosity_level} -s=${simulation_id}_2 -d=0 -testid=central -RealEncryption=1 \
33 -flash="${simulation_id}.central.log.bin" -flash_rm
Drun_test.sh18 -v=${verbosity_level} -s=${simulation_id} -d=0 -testid=central -RealEncryption=1 \
19 -flash="${simulation_id}.central.log.bin" -flash_erase
31 -v=${verbosity_level} -s=${simulation_id}.2 -d=0 -testid=central -RealEncryption=1 \
32 -flash="${simulation_id}.central.log.bin" -flash_rm
/Zephyr-latest/tests/bsim/bluetooth/ll/cis/tests_scripts/
Dconnected_iso_acl_first_ft_cen_skip_2_se.sh7 # Basic Connected ISO test: a Central connects to 1 Peripheral and tests RTN=2,
8 # FT=2, skips 2 subevents in the central
17 -v=${verbosity_level} -s=${simulation_id} -d=0 -testid=central
Dconnected_iso_acl_first_ft_cen_skip_4_se.sh7 # Basic Connected ISO test: a Central connects to 1 Peripheral and tests RTN=2,
8 # FT=2, skips 4 subevents in the central
17 -v=${verbosity_level} -s=${simulation_id} -d=0 -testid=central
/Zephyr-latest/tests/bsim/bluetooth/host/security/security_changed_callback/src/
Dmain.c10 void central(void);
16 .test_id = "central",
19 .test_main_f = central,
/Zephyr-latest/samples/bluetooth/iso_connected_benchmark/
DREADME.rst13 The sample transmits data between the *central* and the *peripheral*
16 The application can be used as both a central and a peripheral, and the mode
48 connected board in the central role.
51 #. Optionally modify the central ISO settings using the console.
52 #. Observe that the central and the peripheral connects.
65 Choose device role - type c (central role) or p (peripheral role), or q to quit: p
86 The central will ask if any changes to the current settings are wanted.
88 otherwise continue with the current settings. The central will then start
90 role. Once connected, the central will output overall data (since boot),
97 Choose device role - type c (central role) or p (peripheral role), or q to quit: c
[all …]
/Zephyr-latest/tests/bsim/bluetooth/host/att/eatt/src/
Dmain_collision.c34 /* Do not disconnect until the central also has connected all channels */ in test_peripheral_main()
64 PASS("EATT Central tests Passed\n"); in test_central_main()
76 .test_id = "central",
77 .test_descr = "Central Collision",
/Zephyr-latest/samples/bluetooth/central_multilink/
Dsample.yaml2 name: Bluetooth Central Multilink
4 sample.bluetooth.central.multilink:

12345678910>>...13