Home
last modified time | relevance | path

Searched full:connection (Results 1 – 25 of 1127) sorted by relevance

12345678910>>...46

/Zephyr-latest/doc/connectivity/bluetooth/api/
Dconnection_mgmt.rst3 Connection Management
10 :c:func:`bt_conn_get_info` API. Connection objects are reference
12 :c:func:`bt_conn_ref` API whenever storing a connection pointer for a
14 (even if the connection would get disconnected). Similarly the
16 to a connection.
18 A common mistake is to forget unreleasing a reference to a connection
22 which forces these functions return an error if the connection pointer
24 sporadic bugs caused by not releasing the connection object.
29 define callbacks for connection & disconnection events, as well as other
30 events related to a connection such as a change in the security level or
[all …]
/Zephyr-latest/tests/bluetooth/common/testlib/include/testlib/
Dconn.h13 * Synchronous: Blocks until the connection procedure completes.
18 * event and return the HCI status of the connection creation.
22 * @note The connection reference presists if the connection procedure
26 * @remark Not disposing of the connection reference in the case of
27 * connection failure is intentional. It's useful for comparing against
34 * @param[out] conn Connection reference variable.
36 * @retval 0 Connection was enstablished.
37 * @retval -errno @ref bt_conn_le_create error. No connection object
39 * @retval BT_HCI_ERR HCI reason for connection failure. A connection
68 * @attention This function does not look at the history of a connection
[all …]
/Zephyr-latest/include/zephyr/bluetooth/
Dconn.h2 * @brief Bluetooth connection handling
14 * @brief Connection management
15 * @defgroup bt_conn Connection management
34 /** Opaque type representing a connection to a remote device */
37 /** Connection parameters for LE connections */
45 /** @brief Initialize connection parameters
47 * @param int_min Minimum Connection Interval (N * 1.25 ms)
48 * @param int_max Maximum Connection Interval (N * 1.25 ms)
49 * @param lat Connection Latency
60 /** Helper to declare connection parameters inline
[all …]
/Zephyr-latest/subsys/net/ip/
Dconnection.h2 @brief Generic connection handling.
34 * @brief Function that is called by connection subsystem when a
48 * @brief Information about a connection in the system.
50 * Stores the connection information.
66 /** A pointer to the net_context corresponding to the connection.
74 /** Connection protocol */
80 /** Flags for the connection */
83 /** Is v4-mapping-to-v6 enabled for this connection */
91 * @param proto Protocol for the connection (depends on the protocol
94 * @param remote_addr Remote address of the connection end point.
[all …]
/Zephyr-latest/include/zephyr/bluetooth/classic/
Dhfp_hf.h53 * connection completes.
55 * @param conn Connection object.
61 * connection gets disconnected, including when a connection gets
64 * @param conn Connection object.
70 * SCO/eSCO connection completes.
72 * @param conn Connection object.
73 * @param sco_conn SCO/eSCO Connection object.
79 * SCO/eSCO connection gets disconnected.
81 * @param conn Connection object.
89 * @param conn Connection object.
[all …]
Davrcp.h35 /** @brief An AVRCP connection has been established.
37 * This callback notifies the application of an avrcp connection,
38 * i.e., an AVCTP L2CAP connection.
40 * @param avrcp AVRCP connection object.
43 /** @brief An AVRCP connection has been disconnected.
45 * This callback notifies the application that an avrcp connection
48 * @param avrcp AVRCP connection object.
55 * @param avrcp AVRCP connection object.
63 * @param avrcp AVRCP connection object.
73 * connection between devices.
[all …]
Drfcomm.h43 * connection completes.
52 * dlc is disconnected, including when a connection gets
117 * This callback is called whenever a new incoming connection requires
120 * @param conn The connection that is requesting authorization
132 * Register RFCOMM server for a channel, each new connection is authorized
134 * structure to be used by the new connection.
144 * Connect RFCOMM dlc by channel, once the connection is completed dlc
145 * connected() callback will be called. If the connection is rejected
148 * @param conn Connection object.
171 * Disconnect RFCOMM dlc, if the connection is pending it will be
/Zephyr-latest/subsys/mgmt/mcumgr/transport/
DKconfig.bluetooth48 bool "Request specific connection parameters for SMP packet exchange"
52 Enables support for requesting specific connection parameters when
60 int "Minimum connection interval for SMP packet exchange"
64 Minimum connection interval in 1.25ms units used during the exchange of SMP packets.
67 int "Maximum connection interval for SMP packet exchange"
71 Maximum connection interval in 1.25ms units used during the exchange of SMP packets.
78 Peripheral latency in Connection Intervals used during the exchange of SMP packets.
88 int "Connection parameters restore time in milliseconds"
93 connection parameters are restored to peripheral preferred values
97 int "Connection parameters update retry time in milliseconds"
[all …]
/Zephyr-latest/subsys/bluetooth/host/
Dconn_internal.h2 * @brief Internal APIs for Bluetooth connection handling.
18 BT_CONN_INITIATING, /* Central connection establishment */
19 /** Central scans for a device preceding establishing a connection to it.
26 * - The stack uses this connection context for automatic connection establishment
29 * scanning while automatic connection establishment in ongoing.
34 /** Central initiates a connection to a device in the filter accept list.
36 * For this type of connection establishment, the controller's initiator is started
48 /* bt_conn flags: the flags defined here represent connection parameters */
50 /** The connection context is used for automatic connection establishment
53 * This flag is set even after the connection has been established so
[all …]
DKconfig133 bool "Use a separate workqueue for connection TX notify processing [EXPERIMENTAL]"
144 int "Stack size of workqueue for connection TX notify processing"
148 int "Cooperative priority of workqueue for connection TX notify processing"
152 int "Init priority of workqueue for connection TX notify processing"
155 The connection TX notify processing workqueue is initialized during
336 bool "Accept any values for connection parameters"
338 Some controllers support additional connection parameter ranges
340 allows the application to set any value to all connection parameters.
342 connection parameters (conn interval min and max, latency and timeout).
344 min and max connection intervals in order to verify whether the
[all …]
/Zephyr-latest/dts/bindings/ethernet/
Dinfineon,xmc4xxx-ethernet.yaml22 phy-connection-type:
28 description: Receive bit 0 (rxd0) signal GPIO connection. Used for RMII and MII interfaces.
38 description: Receive bit 1 (rxd1) signal GPIO connection. Used for RMII and MII interfaces.
47 description: Receive bit 2 (rxd2) signal GPIO connection. Only used for MII interface.
54 description: Receive bit 2 (rxd2) signal GPIO connection. Only used for MII interface.
86 description: Carrier Sense (crs) signal GPIO connection. Only used for the MII interface.
96 description: Receive Error (rxer) signal GPIO connection. Used for MII and RMII interfaces.
105 description: Collision (col) signal GPIO connection. Only used for MII interface.
114 description: Transmit clock (tx-clk) GPIO connection. Only used for MII interface.
/Zephyr-latest/include/zephyr/bluetooth/audio/
Dmcc.h47 * @param conn The connection that was used to initialise the media control client
57 * @param conn The connection that was used to initialise the media control client
68 * @param conn The connection that was used to initialise the media control client
79 * @param conn The connection that was used to initialise the media control client
93 * @param conn The connection that was used to initialise the media control client
104 * @param conn The connection that was used to initialise the media control client
115 * @param conn The connection that was used to initialise the media control client
126 * @param conn The connection that was used to initialise the media control client
137 * @param conn The connection that was used to initialise the media control client
148 * @param conn The connection that was used to initialise the media control client
[all …]
/Zephyr-latest/samples/bluetooth/periodic_adv_conn/
DREADME.rst2 :name: Periodic Advertising Connection Procedure (Initiator)
5 Initiate a connection to a device using the Periodic Advertising Connection Procedure.
11 Periodic Advertising Connection Procedure.
15 responding with its address. Once the connection is established, it will
/Zephyr-latest/samples/bluetooth/periodic_sync_conn/
DREADME.rst2 :name: Periodic Advertising Connection Procedure (Responder)
5 Respond to periodic advertising and establish a connection.
11 Periodic Advertising Connection Procedure.
14 subevent data. Once the connection is established, it will disconnect and wait
15 for a new connection to be established.
/Zephyr-latest/subsys/bluetooth/host/classic/
Dsco_internal.h32 * connection completes.
41 * channel is disconnected, including when a connection gets
58 /** @brief Initiate an SCO connection to a remote device.
62 * The caller gets a new reference to the connection object which must be
68 * @return Valid connection object on success or NULL otherwise.
74 /** The ACL connection that is requesting authorization */
92 * This callback is called whenever a new incoming connection requires
106 * Register SCO server, each new connection is authorized using the accept()
108 * to be used by the new connection.
130 * @param sco SCO connection object.
[all …]
/Zephyr-latest/drivers/modem/
DKconfig.quectel-bg9x34 string "APN for establishing network connection"
37 This setting is used to set the APN name for the network connection
42 string "Username for establishing network connection"
45 This setting is used to set the User name for the network connection
50 string "Password for establishing network connection"
53 This setting is used to set the Password for the network connection
/Zephyr-latest/include/zephyr/net/
Dwebsocket.h39 #define WEBSOCKET_FLAG_CLOSE 0x00000008 /**< Closing connection */
48 WEBSOCKET_OPCODE_CLOSE = 0x08, /**< Closing connection */
55 * @brief Callback called after Websocket connection is established.
61 * @return 0 if ok, <0 if there is an error and connection should be aborted
67 * Websocket client connection request. This contains all the data that is
68 * needed when doing a Websocket connection request.
91 /** User supplied callback function to call when a connection is
104 /** User supplied buffer where HTTP connection data is stored */
113 * called after connection is established. The returned value is a new socket
123 * @param timeout Max timeout to wait for the connection. The timeout value is
[all …]
/Zephyr-latest/subsys/net/conn_mgr/
DKconfig5 bool "Network connection manager [EXPERIMENTAL]"
12 When enabled, this will start the connection manager that will
21 module-str = Log level for connection manager
22 module-help = Enables connection manager code to output debug messages.
29 Sets the stack size which will be used by the connection manager for connectivity monitoring.
/Zephyr-latest/doc/connectivity/networking/conn_mgr/
Dimplementation.rst47 :alt: A detailed view of how Connection Manager integrates with Zephyr and the application.
50 A detailed view of how Connection Manager integrates with Zephyr and the application.
181 Rather than implement all features centrally, Connection Manager relies on each connectivity implem…
183 This approach allows Connection Manager to remain lean, and allows each connectivity implementation…
212 …s should provide means for applications to pre-configure all necessary connection parameters (for …
220 …s because the application pre-configured invalid connection parameters, or did not configure conne…
222 …connectivity implementation should not give up on the connection attempt, even if valid connection
224 Instead, the connectivity implementation should asynchronously wait for valid connection parameters…
242 …* It is acceptable to gate this behind a small timeout (separate from the connection timeout) for …
284 …for the connectivity implementation to interpret this as an unexpected connection loss and immedia…
[all …]
Dmain.rst6 Connection Manager is a collection of optional Zephyr features that aim to allow applications to mo…
8 Using Connection Manager, applications can use a single abstract API to control network association…
12 Applications can also use Connection Manager to generically manage and use multiple connectivity te…
17 Connection Manager is split into the following two subsystems:
26 :alt: A simplified view of how Connection Manager integrates with Zephyr and the application.
29 A simplified view of how Connection Manager integrates with Zephyr and the application.
78Connection Manager also fires the following more specific ``CONNECTED`` / ``DISCONNECTED`` events:
114 /* Call this before Connection Manager monitoring initializes */
136 …itial connectivity events, you should register your listener(s) before Connection Manager monitori…
181 Applications can request that ifaces be ignored by Connection Manager by calling :c:func:`conn_mgr_…
[all …]
/Zephyr-latest/tests/bsim/bluetooth/host/misc/unregister_conn_cb/tests_scripts/
Dunregister_conn_cb.sh8 #Unregister connection callbacks : A central device scans for and connects to a peripheral
9 #after registered connection callbacks.When the connection state changes, few printing
11 #After unregister the connection callbacks, reconnect to peer device, then no printing
/Zephyr-latest/soc/altr/zephyr_nios2f/cpu/
Dghrd_10m50da.qsys886 <connection
894 </connection>
895 <connection
903 </connection>
904 <connection
912 </connection>
913 <connection
921 </connection>
922 <connection
930 </connection>
[all …]
/Zephyr-latest/samples/bluetooth/hci_pwr_ctrl/
DREADME.rst18 Upon successful connection, the connection RSSI strength is being monitored and
19 the Tx power of the peripheral device is modulated per connection accordingly
21 connection is. The peripheral implements a simple GATT profile exposing the
/Zephyr-latest/tests/bsim/bluetooth/host/central/src/
Dmain.c22 TEST_ASSERT(err == BT_HCI_ERR_UNKNOWN_CONN_ID, "Expected connection timeout"); in connected_cb_expect_fail()
31 TEST_ASSERT(err == BT_HCI_ERR_SUCCESS, "Expected connection establishment"); in connected_cb()
82 TEST_PRINT("Connection timeout after %d ms", time_diff_ms); in test_central_connect_timeout_with_timeout()
84 "Connection timeout not within 10%% of expected timeout. " in test_central_connect_timeout_with_timeout()
130 /* Now we have a valid connection reference */ in test_central_connect_when_connecting()
136 TEST_ASSERT(err == -EALREADY, "Expected to fail to create connection (err %d)", err); in test_central_connect_when_connecting()
177 TEST_ASSERT(err == 0, "Failed establishing connection", err); in test_central_connect_to_existing()
179 /* Now we have a valid connection reference */ in test_central_connect_to_existing()
185 TEST_ASSERT(err == -EINVAL, "Expected to fail to create a connection (err %d)", err); in test_central_connect_to_existing()
197 .test_descr = "Verifies that the default connection timeout is used correctly",
[all …]
/Zephyr-latest/samples/bluetooth/channel_sounding/src/
Dconnected_cs_initiator.c29 static struct bt_conn *connection; variable
105 __ASSERT(connection == conn, "Unexpected connected callback"); in connected_cb()
109 connection = NULL; in connected_cb()
114 err = bt_gatt_exchange_mtu(connection, &mtu_exchange_params); in connected_cb()
127 connection = NULL; in disconnected_cb()
194 if (connection) { in device_found()
216 &connection); in device_found()
267 err = bt_le_cs_set_default_settings(connection, &default_settings); in main()
272 err = bt_conn_set_security(connection, BT_SECURITY_L2); in main()
274 printk("Failed to encrypt connection (err %d)\n", err); in main()
[all …]

12345678910>>...46