/nrf52832-nimble/packages/NimBLE-latest/nimble/host/include/host/ |
H A D | ble_gap.h | 133 /** Peer's CCCD subscription state cleared due to connection termination. */ 145 /** Connection security state */ 147 /** If connection is encrypted */ 150 /** If connection is authenticated */ 153 /** If connection is bonded (security information is stored) */ 189 /** @brief Connection descriptor */ 191 /** Connection security state */ 206 /** Connection handle */ 209 /** Connection interval */ 212 /** Connection latency */ [all …]
|
H A D | ble_l2cap.h | 113 * Represents a connection attempt. Valid for the following event 118 * The status of the connection attempt; 119 * o 0: the connection was successfully established. 120 * o BLE host error code: the connection attempt failed for 125 /** Connection handle of the relevant connection */ 128 /** The L2CAP channel of the relevant L2CAP connection. */ 133 * Represents a terminated connection. Valid for the following event 138 /** Connection handle of the relevant connection */ 141 /** Information about the L2CAP connection prior to termination. */ 146 * Represents connection accept. Valid for the following event [all …]
|
/nrf52832-nimble/rt-thread/components/net/uip/uip/ |
H A D | uip.h | 260 * Periodic processing for a connection identified by its number. 265 * connection, regardless of whether they are open of closed. 297 * \param conn The number of the connection which is to be periodically polled. 311 * Perform periodic processing for a connection identified by a pointer 316 * used to force periodic processing of a specific connection. 318 * \param conn A pointer to the uip_conn struct for the connection to 327 * Reuqest that a particular connection should be polled. 332 * \param conn A pointer to the uip_conn struct for the connection to 343 * Periodic processing for a UDP connection identified by its number. 369 * \param conn The number of the UDP connection to be processed. [all …]
|
/nrf52832-nimble/packages/NimBLE-latest/nimble/controller/src/ |
H A D | ble_ll_conn.c | 50 * 1) I think if we are initiating and we already have a connection with 53 * i) When a connection create is issued, if we already are connected 54 * deny it. BLE ERROR = 0x0B (ACL connection exists). 59 * request because I am advertising? What happens to connection? Deal 66 * and master. We should just set this to the end of the connection event. 72 * connection to extend past the end of the allocated connection end 73 * time. That is not good. Need to deal with that. Need to extend connection 76 * 6) Use error code 0x3E correctly! Connection failed to establish. If you 77 * read the LE connection complete event, it says that if the connection 78 * fails to be established that the connection complete event gets sent to [all …]
|
H A D | ble_ll_conn_hci.c | 61 * Allocate an event to send a connection complete event when initiating 86 * Called to check that the connection parameters are within range 127 * Send a connection complete event 250 * (i.e. enqueued in a connection state machine). in ble_ll_conn_num_comp_pkts_event_send() 255 * If this connection has completed packets, send an event right away. in ble_ll_conn_num_comp_pkts_event_send() 282 * Only look at connections that we have sent a connection complete in ble_ll_conn_num_comp_pkts_event_send() 399 * Process the HCI command to create a connection. 415 /* If we are already creating a connection we should leave */ in ble_ll_conn_create() 451 /* Get own address type (used in connection request) */ in ble_ll_conn_create() 457 /* Check connection interval, latency and supervision timeoout */ in ble_ll_conn_create() [all …]
|
/nrf52832-nimble/rt-thread/components/net/uip/doc/ |
H A D | uip-doc.txt | 186 packets and has a fixed table for holding connection state. The global 206 the network per connection. 262 of the connection, when a new connection has been set up, or when data 267 application is able to act on incoming data and connection requests as 274 successfully delivered to the remote end of the connection. If the 310 \subsubsection connstate The Connection Pointer 313 set to point to the uip_conn structure for the connection that 314 currently is handled, and is called the "current connection". The 315 fields in the uip_conn structure for the current connection can be 317 which IP address the connection is connected. One typical use would be [all …]
|
/nrf52832-nimble/rt-thread/components/net/lwip-2.0.2/doc/ |
H A D | rawapi.txt | 108 data sent, error notifications, poll timer expiration, connection 112 function is passed the current TCP or UDP connection state as an 117 The function for setting the application connection state is: 123 connection control block, and the "arg" argument is the argument 127 --- TCP connection setup 130 the sequential API and of the BSD socket API. A new TCP connection 137 Creates a new connection identifier (PCB). If memory is not 144 can be specified as IP_ADDR_ANY in order to bind the connection to 147 If another connection is bound to the same port, the function will 153 incoming connection is accepted, the function specified with the [all …]
|
/nrf52832-nimble/rt-thread/components/net/lwip-1.4.1/doc/ |
H A D | rawapi.txt | 82 function is passed the current TCP or UDP connection state as an 87 The function for setting the application connection state is: 93 connection control block, and the "arg" argument is the argument 97 --- TCP connection setup 100 the sequential API and of the BSD socket API. A new TCP connection 107 Creates a new connection identifier (PCB). If memory is not 114 can be specified as IP_ADDR_ANY in order to bind the connection to 117 If another connection is bound to the same port, the function will 123 incoming connection is accepted, the function specified with the 127 The tcp_listen() function returns a new connection identifier, and [all …]
|
/nrf52832-nimble/packages/NimBLE-latest/nimble/controller/include/controller/ |
H A D | ble_ll_conn.h | 40 /* Connection states */ 63 * Encryption states for a connection 98 /* Connection state machine flags. */ 134 * Structure used for PHY data inside a connection. 171 /* Connection state machine */ 174 /* Connection state machine flags */ 177 /* Current connection handle, state and role */ 188 /* Connection data length management */ 209 /* Used to calculate data channel index for connection */ 231 /* connection event mgmt */ [all …]
|
/nrf52832-nimble/rt-thread/components/net/lwip-2.1.0/src/include/lwip/apps/ |
H A D | http_client.h | 79 /** Connection to server failed */ 83 /** Connection unexpectedly closed by remote server */ 85 /** Connection timed out (server didn't respond in time) */ 116 * @param connection http client connection 121 * @return if != ERR_OK is returned, the connection is aborted 123 typedef err_t (*httpc_headers_done_fn)(httpc_state_t *connection, void *arg, struct pbuf *hdr, u16_… 138 It can abort the connection by returning != ERR_OK */ 143 altcp_recv_fn recv_fn, void* callback_arg, httpc_state_t **connection); 145 altcp_recv_fn recv_fn, void* callback_arg, httpc_state_t **connection); 149 void* callback_arg, const char* local_file_name, httpc_state_t **connection); [all …]
|
H A D | httpd.h | 194 * @param connection Unique connection identifier, valid until httpd_post_end 209 err_t httpd_post_begin(void *connection, const char *uri, const char *http_request, 218 * @param connection Unique connection identifier. 223 err_t httpd_post_receive_data(void *connection, struct pbuf *p); 227 * Called when all data is received or when the connection is closed. 232 * @param connection Unique connection identifier. 236 void httpd_post_finished(void *connection, char *response_uri, u16_t response_uri_len); 239 void httpd_post_data_recved(void *connection, u16_t recved_len);
|
/nrf52832-nimble/rt-thread/components/net/lwip-2.1.0/src/apps/http/ |
H A D | http_client.c | 95 "Connection: Close\r\n" /* we don't support persistent connections, yet */ \ 104 "Connection: Close\r\n" /* we don't support persistent connections, yet */ \ 113 "Connection: Close\r\n" /* we don't support persistent connections, yet */ \ 122 "Connection: Close\r\n" /* we don't support persistent connections, yet */ \ 189 /** Close the connection: call finished callback and free the state */ 340 /* directly return here: the connection migth already be aborted from the callback! */ in httpc_tcp_recv() 504 /** Initialize the connection struct */ 506 httpc_init_connection_common(httpc_state_t **connection, const httpc_connection_t *settings, const … in httpc_init_connection_common() argument 585 *connection = req; in httpc_init_connection_common() 590 * Initialize the connection struct [all …]
|
H A D | httpd_structs.h | 26 "Connection: Close\r\n", 27 "Connection: keep-alive\r\n", 28 "Connection: keep-alive\r\nContent-Length: ", 32 …, "Connection: keep-alive\r\nContent-Length: 77\r\n\r\n<html><body><h2>404: The requested file can… 46 #define HTTP_HDR_CONN_CLOSE 9 /* Connection: Close (HTTP 1.1) */ 47 #define HTTP_HDR_CONN_KEEPALIVE 10 /* Connection: keep-alive (HTTP 1.1) */ 48 #define HTTP_HDR_KEEPALIVE_LEN 11 /* Connection: keep-alive + Content-Length: (HTTP 1.1)*/ 52 #define DEFAULT_404_HTML_PERSISTENT 14 /* default 404 body, but including Connection: keep-alive */
|
H A D | altcp_proxyconnect.c | 3 * Application layered TCP connection API that executes a proxy-connect. 94 "Proxy-Connection: keep-alive\r\n" \ 95 "Connection: keep-alive\r\n" \ 153 /* callback functions from inner/lower connection: */ 155 /** Connected callback from lower connection (i.e. TCP). 180 /** Recv callback from lower connection (i.e. TCP) 181 * This one mainly differs between connection setup (wait for proxy OK string) 194 /* no connection given as arg? should not happen, but prevent pbuf/conn leaks */ in altcp_proxyconnect_lower_recv() 220 /* handle NULL pbuf (inner connection closed) */ in altcp_proxyconnect_lower_recv() 244 /** Sent callback from lower connection (i.e. TCP) [all …]
|
/nrf52832-nimble/rt-thread/components/net/uip/apps/webclient/ |
H A D | webclient.h | 94 * HTTP connection has been connected to the web server. 103 * HTTP connection to the web server has timed out. 112 * HTTP connection to the web server has been aborted by the web 122 * HTTP connection to the web server has been closed. 137 * Open an HTTP connection to a web server and ask for a file using 140 * This function opens an HTTP connection to the specified web server 142 * connection has been connected, the webclient_connected() callback 148 * function is called if the HTTP connection is aborted by the web 151 * When the HTTP request has been completed and the HTTP connection is 168 * if a TCP connection could not be created. [all …]
|
/nrf52832-nimble/packages/NimBLE-latest/nimble/controller/ |
H A D | syscfg.yml | 113 # connection. 126 connection. If this is set to a value greater than 27, 132 # The number of slots that will be allocated to each connection 135 This is the number of "slots" allocated to a connection when scheduling 136 connections. Each slot is 1.25 msecs long. Note that a connection event may 139 to be transferred in the connection). However, you will be guaranteed that 140 a connection event will be given this much time, if needed. Consecutively 147 CONNECT_IND when creating new connection as a master. Each slot is 1.25 148 msecs long. Increasing this value will delay first connection event after 149 connection is created. However, older TI CC254x controllers cannot change [all …]
|
/nrf52832-nimble/rt-thread/components/net/uip/doc/html/ |
H A D | main.html | 56 …connection state. The global packet buffer is large enough to contain one packet of maximum size. … 66 …connection, when a new connection has been set up, or when data has to be retransmitted. The appli… 67 …he data is known to be successfully delivered to the remote end of the connection. If the data nee… 71 The Connection Pointer</a></h4> 72 …connection that currently is handled, and is called the "current connection". The fields in the <a… 74 …0af9e7cf1e03725">uip_newdata()</a> is non-zero, the remote host of the connection has sent new dat… 78 The application can send only one chunk of data at a time on a connection and it is not possible to… 80 … time the periodic timer is invoked, the retransmission timer for each connection is decremented. … 83 …connection by calling the <a class="el" href="a00147.html#g61db1dcb7c760e4dd5d60bf4e5576dca">uip_c… 84 If the connection has been closed by the remote end, the test function <a class="el" href="a00147.h… [all …]
|
H A D | a00147.html | 35 …e length of any out-of-band data (urgent data) that has arrived on the connection. <a href="#g841… 38 <tr><td class="mdescLeft"> </td><td class="mdescRight">Close the current connection. <a href=… 41 <tr><td class="mdescLeft"> </td><td class="mdescRight">Abort the current connection. <a href=… 48 <tr><td class="mdescLeft"> </td><td class="mdescRight">Find out if the current connection has … 51 <tr><td class="mdescLeft"> </td><td class="mdescRight">Restart the current connection, if is h… 54 …s="mdescLeft"> </td><td class="mdescRight">Is the current connection a UDP connection? <a hr… 63 <tr><td class="mdescLeft"> </td><td class="mdescRight">Has the connection just been connected?… 66 <tr><td class="mdescLeft"> </td><td class="mdescRight">Has the connection been closed by the o… 69 <tr><td class="mdescLeft"> </td><td class="mdescRight">Has the connection been aborted by the … 72 <tr><td class="mdescLeft"> </td><td class="mdescRight">Has the connection timed out? <a href=… [all …]
|
/nrf52832-nimble/rt-thread/examples/test/ |
H A D | net_test.c | 124 /* Create a new connection identifier. */ in tcpecho_entry() 127 /* Bind connection to well known port number 7. */ in tcpecho_entry() 130 /* Tell connection to go into listening mode. */ in tcpecho_entry() 135 /* Grab new connection. */ in tcpecho_entry() 143 /* Process the new connection. */ in tcpecho_entry() 163 /* Close connection and discard connection identifier. */ in tcpecho_entry() 232 /* receive data from this connection */ in tcpecho_socket_entry() 236 rt_kprintf("close client connection, errno: %d\n", in tcpecho_socket_entry() 238 /* connection closed. */ in tcpecho_socket_entry()
|
/nrf52832-nimble/rt-thread/components/net/lwip-2.1.0/src/apps/altcp_tls/ |
H A D | altcp_tls_mbedtls.c | 3 * Application layered TCP/TLS connection API (to be used from TCPIP thread) 51 * connection; altcp_recved() from inner connection does nothing) 99 /** Our global mbedTLS configuration (server-specific, not connection-specific) */ 108 /** Inter-connection cache for fast connection startup */ 120 /* callback functions from inner/lower connection: */ 122 /** Accept callback from lower connection (i.e. TCP) 123 * Allocate one of our structures, assign it to the new connection's 'state' and 124 * call the new connection's 'accepted' callback. If that succeeds, we wait 125 * to receive connection setup handshake bytes from the client. 149 /** Connected callback from lower connection (i.e. TCP). [all …]
|
/nrf52832-nimble/rt-thread/components/net/lwip-2.0.2/src/apps/httpd/ |
H A D | httpd_structs.h | 28 "Connection: Close\r\n", 29 "Connection: keep-alive\r\n", 30 "Connection: keep-alive\r\nContent-Length: ", 34 …,"Connection: keep-alive\r\nContent-Length: 77\r\n\r\n<html><body><h2>404: The requested file cann… 48 #define HTTP_HDR_CONN_CLOSE 9 /* Connection: Close (HTTP 1.1) */ 49 #define HTTP_HDR_CONN_KEEPALIVE 10 /* Connection: keep-alive (HTTP 1.1) */ 50 #define HTTP_HDR_KEEPALIVE_LEN 11 /* Connection: keep-alive + Content-Length: (HTTP 1.1)*/ 54 #define DEFAULT_404_HTML_PERSISTENT 14 /* default 404 body, but including Connection: keep-alive */
|
/nrf52832-nimble/packages/NimBLE-latest/nimble/host/src/ |
H A D | ble_hs_conn.c | 27 /** At least three channels required per connection (sig, att, sm). */ 345 * Retrieves the first connection in the list. 370 /* With EA enabled random address for slave connection is per advertising in ble_hs_conn_addrs() 442 * If so, break out of the loop and terminate the connection. This in ble_hs_conn_timer() 450 /* Check each connection's rx fragment timer. If too much time in ble_hs_conn_timer() 451 * passes after a partial packet is received, the connection is in ble_hs_conn_timer() 458 /* ACL reassembly has timed out. Remember the connection in ble_hs_conn_timer() 466 /* Determine if this connection is the soonest to time out. */ in ble_hs_conn_timer() 474 /* Check each connection's rx queued write timer. If too much in ble_hs_conn_timer() 480 /* ACL reassembly has timed out. Remember the connection in ble_hs_conn_timer() [all …]
|
/nrf52832-nimble/rt-thread/components/net/lwip-2.1.0/src/core/ |
H A D | tcp.c | 15 * TCP connection setup 18 * the sequential API and of the BSD socket API. A new TCP connection 50 * When a connection is idle (i.e., no data is either transmitted or 57 * again when the connection has been idle for a while. 284 * Delay accepting a connection in respect to the listen backlog: 291 * @param pcb the connection pcb which is not fully accepted yet 308 * A delayed-accept a connection is accepted (or closed/aborted): decreases 314 * @param pcb the connection pcb which is now fully accepted (or closed/aborted) 332 * Closes the TX side of a connection held by the PCB. 337 * Connection pcbs are freed if not yet connected and may not be referenced [all …]
|
/nrf52832-nimble/rt-thread/components/net/lwip-2.0.2/src/include/lwip/apps/ |
H A D | httpd.h | 183 * @param connection Unique connection identifier, valid until httpd_post_end 198 err_t httpd_post_begin(void *connection, const char *uri, const char *http_request, 205 * @param connection Unique connection identifier. 210 err_t httpd_post_receive_data(void *connection, struct pbuf *p); 212 /** Called when all data is received or when the connection is closed. 217 * @param connection Unique connection identifier. 221 void httpd_post_finished(void *connection, char *response_uri, u16_t response_uri_len); 224 void httpd_post_data_recved(void *connection, u16_t recved_len);
|
/nrf52832-nimble/rt-thread/components/net/lwip-2.1.0/src/include/netif/ppp/ |
H A D | upap.h | 40 * OUT OF OR IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE. 74 #define UPAPCS_INITIAL 0 /* Connection down */ 75 #define UPAPCS_CLOSED 1 /* Connection up, haven't requested auth */ 76 #define UPAPCS_PENDING 2 /* Connection down, have requested auth */ 84 #define UPAPSS_INITIAL 0 /* Connection down */ 85 #define UPAPSS_CLOSED 1 /* Connection up, haven't requested auth */ 86 #define UPAPSS_PENDING 2 /* Connection down, have requested auth */
|