/nrf52832-nimble/rt-thread/examples/network/ |
H A D | tcpserver.c | 36 int sock, connected, bytes_received; in tcpserv() local 97 connected = accept(sock, (struct sockaddr *)&client_addr, &sin_size); in tcpserv() 99 if (connected < 0) in tcpserv() 113 FD_SET(connected, &readset_c); in tcpserv() 116 if (select(connected + 1, &readset_c, RT_NULL, RT_NULL, &timeout) == 0) in tcpserv() 120 bytes_received = recv(connected, recv_data, BUFSZ, 0); in tcpserv() 124 closesocket(connected); in tcpserv() 125 connected = -1; in tcpserv() 142 closesocket(connected); in tcpserv() 143 connected = -1; in tcpserv() [all …]
|
/nrf52832-nimble/rt-thread/examples/test/ |
H A D | net_test.c | 179 int sock = -1, connected, bytes_received; in tcpecho_socket_entry() local 219 /* accept client connected */ in tcpecho_socket_entry() 220 connected = accept(sock, (struct sockaddr *)&client_addr, &sin_size); in tcpecho_socket_entry() 221 if (connected > 0) in tcpecho_socket_entry() 227 setsockopt(connected, SOL_SOCKET, SO_RCVTIMEO, &timeout, sizeof(timeout)); in tcpecho_socket_entry() 233 bytes_received = recv(connected,recv_data, TCP_SOCKET_BUFFER_SIZE, 0); in tcpecho_socket_entry() 239 lwip_close(connected); in tcpecho_socket_entry() 244 send(connected, recv_data, bytes_received, 0); in tcpecho_socket_entry()
|
/nrf52832-nimble/rt-thread/components/net/lwip-2.1.0/src/apps/http/ |
H A D | altcp_proxyconnect.c | 155 /** Connected callback from lower connection (i.e. TCP). 165 /* upper connected is called when handshake is done */ in altcp_proxyconnect_lower_connected() 167 if (conn->connected) { in altcp_proxyconnect_lower_connected() 168 if (conn->connected(conn->arg, conn, err) == ERR_ABRT) { in altcp_proxyconnect_lower_connected() 235 if (conn->connected) { in altcp_proxyconnect_lower_recv() 236 return conn->connected(conn->arg, conn, ERR_OK); in altcp_proxyconnect_lower_recv() 457 …_connect(struct altcp_pcb *conn, const ip_addr_t *ipaddr, u16_t port, altcp_connected_fn connected) in altcp_proxyconnect_connect() argument 473 conn->connected = connected; in altcp_proxyconnect_connect()
|
/nrf52832-nimble/rt-thread/components/net/lwip-1.4.1/src/include/lwip/ |
H A D | tcp.h | 112 /** Function prototype for tcp connected callback functions. Called when a pcb 113 * is connected to the remote side after initiating a connection attempt by 117 * @param tpcb The connection pcb which is connected 141 /* Function to call when a listener has been connected. 143 * @param pcb a new tcp_pcb that now is connected 256 tcp_connected_fn connected; member 345 u16_t port, tcp_connected_fn connected);
|
H A D | err.h | 61 #define ERR_ISCONN -9 /* Already connected. */ 68 #define ERR_CONN -13 /* Not connected. */
|
/nrf52832-nimble/rt-thread/components/net/lwip-2.0.2/src/api/ |
H A D | err.c | 60 ENOTCONN, /* ERR_CONN -11 Not connected. */ 91 "Already connected.", /* ERR_ISCONN -10 */ 92 "Not connected.", /* ERR_CONN -11 */
|
/nrf52832-nimble/rt-thread/components/net/lwip-2.1.0/src/api/ |
H A D | err.c | 60 ENOTCONN, /* ERR_CONN -11 Not connected. */ 91 "Already connected.", /* ERR_ISCONN -10 */ 92 "Not connected.", /* ERR_CONN -11 */
|
/nrf52832-nimble/rt-thread/components/net/lwip-2.0.2/src/include/lwip/ |
H A D | tcp.h | 120 /** Function prototype for tcp connected callback functions. Called when a pcb 121 * is connected to the remote side after initiating a connection attempt by 125 * @param tpcb The connection pcb which is connected 188 /* Function to call when a listener has been connected. */ 299 tcp_connected_fn connected; member 395 u16_t port, tcp_connected_fn connected);
|
/nrf52832-nimble/rt-thread/components/net/lwip-2.1.0/src/core/ |
H A D | altcp_tcp.c | 94 if (conn->connected) { in altcp_tcp_connected() 95 return conn->connected(conn->arg, conn, err); in altcp_tcp_connected() 266 …_connect(struct altcp_pcb *conn, const ip_addr_t *ipaddr, u16_t port, altcp_connected_fn connected) in altcp_tcp_connect() argument 273 conn->connected = connected; in altcp_tcp_connect()
|
/nrf52832-nimble/rt-thread/components/net/uip/apps/smtp/ |
H A D | smtp.c | 193 s.connected = 0; in smtp_appcall() 197 s.connected = 0; in smtp_appcall() 242 s.connected = 1; in smtp_send() 258 s.connected = 0; in smtp_init()
|
/nrf52832-nimble/rt-thread/components/net/lwip-1.4.1/src/api/ |
H A D | err.c | 53 "Already connected.", /* ERR_ISCONN -9 */ 57 "Not connected.", /* ERR_CONN -13 */
|
/nrf52832-nimble/rt-thread/components/drivers/usb/usbdevice/class/ |
H A D | cdc_vcom.c | 73 rt_bool_t connected; member 259 data->connected = RT_FALSE; in _vcom_reset_state() 458 data->connected = (setup->wValue & 0x01) > 0?RT_TRUE:RT_FALSE; in _interface_handler() 459 RT_DEBUG_LOG(RT_DEBUG_USB, ("vcom state:%d \n", data->connected)); in _interface_handler() 718 if (data->connected) in _vcom_tx() 799 if (data->connected) in _vcom_putc() 861 if (!data->connected) in vcom_tx_thread_entry()
|
/nrf52832-nimble/rt-thread/components/net/lwip-2.1.0/src/include/lwip/ |
H A D | tcp.h | 122 /** Function prototype for tcp connected callback functions. Called when a pcb 123 * is connected to the remote side after initiating a connection attempt by 127 * @param tpcb The connection pcb which is connected 230 /* Function to call when a listener has been connected. */ 356 tcp_connected_fn connected; member 462 u16_t port, tcp_connected_fn connected);
|
H A D | altcp.h | 75 altcp_connected_fn connected; member 104 …connect(struct altcp_pcb *conn, const ip_addr_t *ipaddr, u16_t port, altcp_connected_fn connected);
|
/nrf52832-nimble/rt-thread/components/net/lwip-2.0.2/src/include/netif/ppp/ |
H A D | pppol2tp.h | 77 #define PPPOL2TP_MESSAGETYPE_SCCCN 3 /* Start Control Connection Connected */ 83 #define PPPOL2TP_MESSAGETYPE_OCCN 9 /* Outgoing Call Connected */ 86 #define PPPOL2TP_MESSAGETYPE_ICCN 12 /* Incoming Call Connected */
|
/nrf52832-nimble/rt-thread/components/net/lwip-2.1.0/src/include/netif/ppp/ |
H A D | pppol2tp.h | 81 #define PPPOL2TP_MESSAGETYPE_SCCCN 3 /* Start Control Connection Connected */ 87 #define PPPOL2TP_MESSAGETYPE_OCCN 9 /* Outgoing Call Connected */ 90 #define PPPOL2TP_MESSAGETYPE_ICCN 12 /* Incoming Call Connected */
|
/nrf52832-nimble/rt-thread/components/net/lwip-1.4.1/src/core/ |
H A D | tcp.c | 100 /** List of all TCP PCBs bound but not yet (connected || listening) */ 159 * Connection pcbs are freed if not yet connected and may not be referenced 274 * Connection pcbs are freed if not yet connected and may not be referenced 340 /* Not (yet?) connected, cannot shutdown the TX side as that would bring us in tcp_shutdown() 524 LWIP_ERROR("tcp_listen: pcb already connected", pcb->state == CLOSED, return NULL); in tcp_listen_with_backlog() 672 * Connects to another host. The function given as the "connected" 678 * @param connected callback function to call when connected (or on error) 685 tcp_connected_fn connected) in tcp_connect() argument 759 pcb->connected = connected; in tcp_connect() 761 LWIP_UNUSED_ARG(connected); in tcp_connect() [all …]
|
/nrf52832-nimble/rt-thread/components/net/lwip-2.1.0/src/apps/altcp_tls/ |
H A D | altcp_tls_mbedtls.c | 149 /** Connected callback from lower connection (i.e. TCP). 159 /* upper connected is called when handshake is done */ in altcp_mbedtls_lower_connected() 161 if (conn->connected) { in altcp_mbedtls_lower_connected() 162 return conn->connected(conn->arg, conn, err); in altcp_mbedtls_lower_connected() 287 if (conn->connected) { in altcp_mbedtls_lower_recv_process() 289 err = conn->connected(conn->arg, conn, ERR_OK); in altcp_mbedtls_lower_recv_process() 923 …_connect(struct altcp_pcb *conn, const ip_addr_t *ipaddr, u16_t port, altcp_connected_fn connected) in altcp_mbedtls_connect() argument 928 conn->connected = connected; in altcp_mbedtls_connect()
|
/nrf52832-nimble/packages/NimBLE-latest/nimble/host/src/ |
H A D | ble_gatts.c | 313 * o No peers are connected, and 1501 /*** Send notifications and indications to connected devices. */ in ble_gatts_chr_updated() 1547 /* Device isn't connected; persist the changed flag so that an in ble_gatts_chr_updated() 1552 /* Indication for a connected device; record that the in ble_gatts_chr_updated() 1557 /* Notification for a connected device; we already sent it so there in ble_gatts_chr_updated() 1580 * connected devices. The bluetooth spec does not allow more than one 1624 /* No more connected devices. */ in ble_gatts_tx_notifications_one_chr() 1667 * o Restores persisted CCCD entries for the connected peer. 1668 * o Sends all pending notifications to the connected peer. 1669 * o Sends up to one pending indication to the connected peer; schedules
|
/nrf52832-nimble/rt-thread/components/drivers/can/ |
H A D | can.c | 585 if (!can->hdr[pitem->hdr].connected) in rt_can_control() 591 can->hdr[pitem->hdr].connected = 1; in rt_can_control() 613 if (can->hdr[pitem->hdr].connected) in rt_can_control() 615 can->hdr[pitem->hdr].connected = 0; in rt_can_control() 824 if (can->hdr[hdr].connected) in rt_hw_can_isr() 838 if (can->hdr != RT_NULL && can->hdr[hdr].connected && can->hdr[hdr].filter.ind) in rt_hw_can_isr()
|
/nrf52832-nimble/nordic/nrfx/hal/ |
H A D | nrf_gpio.h | 145 …* Sense capability on the pin is disabled and input is connected to buffer so that the GPIO… 188 …* @note Sense capability on the pin is disabled and input is connected to buffer so that the GPIO… 200 * @brief Function for configuring the given GPIO pin number as a watcher. Only input is connected. 218 …* Sense capability on the pin is configurable and input is connected to buffer so that the … 292 * Note that the pin must have input connected for the value
|
/nrf52832-nimble/rt-thread/components/net/lwip-2.0.2/src/core/ |
H A D | tcp.c | 118 /** List of all TCP PCBs bound but not yet (connected || listening) */ 254 * Connection pcbs are freed if not yet connected and may not be referenced 383 * Connection pcbs are freed if not yet connected and may not be referenced 448 /* Not (yet?) connected, cannot shutdown the TX side as that would bring us in tcp_shutdown() 687 LWIP_ERROR("tcp_listen: pcb already connected", pcb->state == CLOSED, res = ERR_CLSD; goto done); in tcp_listen_with_backlog_and_err() 859 * Connects to another host. The function given as the "connected" 865 * @param connected callback function to call when connected (on error, 873 tcp_connected_fn connected) in tcp_connect() argument 952 pcb->connected = connected; in tcp_connect() 954 LWIP_UNUSED_ARG(connected); in tcp_connect() [all …]
|
/nrf52832-nimble/rt-thread/documentation/ |
H A D | coding_style_en.txt | 36 of the file name should be connected by "_". 89 connected by "_". Like:
|
/nrf52832-nimble/rt-thread/components/net/lwip-2.0.2/doc/ |
H A D | mqtt_client.txt | 59 printf("mqtt_connection_cb: Successfully connected\n"); 73 /* Its more nice to be connected, so try to reconnect */
|
/nrf52832-nimble/rt-thread/components/net/lwip-2.1.0/doc/ |
H A D | mqtt_client.txt | 59 printf("mqtt_connection_cb: Successfully connected\n"); 73 /* Its more nice to be connected, so try to reconnect */
|