/nrf52832-nimble/rt-thread/components/net/lwip-2.0.2/src/apps/sntp/ |
H A D | sntp.c | 68 /* Handle support for more than one server via SNTP_MAX_SERVERS */ 180 /** The currently used server (initialized to 0) */ 196 /** Saves the last server address to compare with response */ 201 /** Saves the last timestamp sent (which is sent back by the server) 237 * Initialize request struct to be sent to server. 292 * try the next server or retry the current server and increase the retry 293 * timeout if only one server is available. 315 LWIP_DEBUGF(SNTP_DEBUG_STATE, ("sntp_try_next_server: Sending request to server %"U16_F"\n", in sntp_try_next_server() 317 /* new server: reset retry timeout */ in sntp_try_next_server() 319 /* instantly send a request to the next server */ in sntp_try_next_server() [all …]
|
/nrf52832-nimble/rt-thread/components/net/lwip-2.1.0/src/apps/sntp/ |
H A D | sntp.c | 67 /* Handle support for more than one server via SNTP_MAX_SERVERS */ 245 /** The currently used server (initialized to 0) */ 261 /** Saves the last server address to compare with response */ 266 /** Saves the last timestamp sent (which is sent back by the server) 333 * Initialize request struct to be sent to server. 393 * try the next server or retry the current server and increase the retry 394 * timeout if only one server is available. 416 LWIP_DEBUGF(SNTP_DEBUG_STATE, ("sntp_try_next_server: Sending request to server %"U16_F"\n", in sntp_try_next_server() 418 /* new server: reset retry timeout */ in sntp_try_next_server() 420 /* instantly send a request to the next server */ in sntp_try_next_server() [all …]
|
/nrf52832-nimble/rt-thread/components/net/at/src/ |
H A D | at_cli.c | 107 at_server_t server = at_get_server(); in server_cli_parser() local 113 /* backup server device and getchar function */ in server_cli_parser() 117 device_bak = server->device; in server_cli_parser() 118 getchar_bak = server->get_char; in server_cli_parser() 121 memcpy(endmark_back, server->end_mark, strlen(server->end_mark)); in server_cli_parser() 123 /* setup server device as console device */ in server_cli_parser() 124 server->device = rt_console_get_device(); in server_cli_parser() 125 server->get_char = console_getchar; in server_cli_parser() 127 memset(server->end_mark, 0x00, AT_END_MARK_LEN); in server_cli_parser() 128 server->end_mark[0] = '\r'; in server_cli_parser() [all …]
|
H A D | at_server.c | 45 * AT server send data to AT device 61 * AT server send data and newline to AT device 78 * AT server request arguments parse arguments 105 * AT server send command execute result to AT device 147 * AT server print all commands to AT device 355 static void server_parser(at_server_t server) in server_parser() argument 365 RT_ASSERT(server); in server_parser() 366 RT_ASSERT(server->status != AT_STATUS_UNINITIALIZED); in server_parser() 368 while (ESC_KEY != (ch = server->get_char())) in server_parser() 370 if (server->echo_mode) in server_parser() [all …]
|
/nrf52832-nimble/packages/NimBLE-latest/apps/blemesh_models_example_2/ |
H A D | README.md | 9 - Generic OnOff Server 11 - Generic Level Server 13 - Generic Power OnOff Server 14 - Generic Power OnOff Setup Server 16 - Light Lightness Server 17 - Light Lightness Setup Server 19 - Light CTL Server 20 - Light CTL Setup Server 26 - Generic OnOff Server 28 - Generic Level Server [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 113 * server. 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 147 * server could not be contacted, and the webclient_aborted() callback 149 * server. 156 * server. It is therefore up to the calling module to implement the [all …]
|
/nrf52832-nimble/rt-thread/components/net/lwip_dhcpd/ |
H A D | dhcp_server_raw.c | 3 * A simple DHCP server implementation 61 /* DHCP server option */ 71 /* the DHCP server address */ 112 * The dhcp server struct. 128 * The dhcp server struct list. 135 * @param dhcpserver The dhcp server 159 * @param dhcpserver The dhcp server 183 * @param dhcpserver The dhcp server 218 * @param dhcpserver The dhcp server 391 /* add server id */ in dhcp_server_recv() [all …]
|
H A D | dhcp_server.c | 3 * A simple DHCP server implementation 55 /* DHCP server option */ 65 /* the DHCP server address */ 229 /* our DHCP server information */ in dhcpd_thread_entry() 244 DEBUG_PRINTF("DHCP server IP: %d.%d.%d.%d client IP: %d.%d.%d.%d-%d\n", in dhcpd_thread_entry() 270 /* initialize server address */ in dhcpd_thread_entry() 276 /* bind socket to the server address */ in dhcpd_thread_entry() 281 DEBUG_PRINTF("bind server address failed, errno=%d\n", errno); in dhcpd_thread_entry() 287 DEBUG_PRINTF("DHCP server listen on port %d...\n", DHCP_SERVER_PORT); in dhcpd_thread_entry() 374 DEBUG_PRINTF("DHCP server send %d byte\n", send_byte); in dhcpd_thread_entry() [all …]
|
/nrf52832-nimble/rt-thread/examples/test/ |
H A D | net_test.c | 11 * UDP echo server 54 * UDP socket echo server 82 /* initialize server address */ in udpecho_socket_entry() 88 /* bind socket to server address */ in udpecho_socket_entry() 115 * TCP echo server 170 * TCP socket echo server 196 /* initialize server address */ in tcpecho_socket_entry() 202 /* bind to server address */ in tcpecho_socket_entry() 258 * NetIO TCP server 264 /* start UDP echo server */ in net_test()
|
/nrf52832-nimble/rt-thread/components/net/lwip-2.1.0/src/include/lwip/apps/ |
H A D | smtp.h | 21 /** Connection to server failed */ 23 /** Failed to resolve server hostname */ 25 /** Connection unexpectedly closed by remote server */ 27 /** Connection timed out (server didn't respond in time) */ 29 /** Server responded with an unknown response code */ 38 * @param srv_err if aborted by the server, this contains the error code received 108 err_t smtp_set_server_addr(const char* server);
|
H A D | sntp_opts.h | 71 * One server address/name can be defined as default if SNTP_SERVER_DNS == 1: 85 /** SNTP server port */ 94 * response comes from the server we sent the request to. 96 * sent to the server (to ensure response to older request). 102 * server whose synchronization source has expired for a very long time. 121 * between the local clock and the NTP server clock must not be larger than 198 /** Keep a reachability shift register per server
|
/nrf52832-nimble/rt-thread/components/net/at/include/ |
H A D | at.h | 30 /* the server AT commands new line sign */ 108 void (*parser_entry)(struct at_server *server); 141 /* URC(Unsolicited Result Code) object, such as: 'RING', 'READY' request by AT server */ 176 /* AT server initialize and start */ 179 /* AT server send command execute result to AT device */ 184 /* AT server request arguments parse */ 212 /* AT client send commands to AT server and waiter response */ 245 /* AT server device reset */ 248 /* AT server device factory reset */
|
/nrf52832-nimble/packages/NimBLE-latest/nimble/host/mesh/include/mesh/ |
H A D | health_srv.h | 2 * @brief Bluetooth Mesh Health Server Model APIs. 14 * @brief Mesh Bluetooth Mesh Health Server Model 56 /** Mesh Health Server Model Context */ 73 * Define a new health server model. Note that this API needs to be 75 * health server model on. Each instance also needs a unique
|
/nrf52832-nimble/rt-thread/components/net/at/ |
H A D | Kconfig | 14 bool "Enable AT commands server" 20 string "Server device name" 24 int "The maximum length of server data accepted" 30 This end mark can used for AT server determine the end of commands ,
|
/nrf52832-nimble/rt-thread/components/net/lwip-2.1.0/src/apps/http/ |
H A D | http_client.c | 69 /** Set this to 1 to keep server name and uri in request state */ 103 "Host: %s\r\n" /* server name */ \ 112 "Host: %s\r\n" /* server name */ \ 117 /* GET request with proxy (non-default server port) */ 121 "Host: %s\r\n" /* server name */ \ 414 /** Start the http request when the server IP addr is known */ 618 * HTTP client API: get a file by passing server IP address 620 * @param server_addr IP address of the server to connect 621 * @param port tcp port of the server 622 * @param uri uri to get from the server, remember leading "/"! [all …]
|
/nrf52832-nimble/packages/NimBLE-latest/apps/blemesh_models_example_1/ |
H A D | README.md | 7 Each element has a mesh onoff client and server 22 If a LED server is provided with a publish address, it will 55 bind 0 1 1000 # bind appkey 1 to LED server on element 0 (unicast 0100) 56 sub-add 0100 c000 1000 # add subscription to group address c000 to the LED server 70 configuration server model.
|
/nrf52832-nimble/rt-thread/components/net/lwip-2.1.0/src/apps/lwiperf/ |
H A D | lwiperf.c | 3 * lwIP iPerf server implementation 7 * @defgroup iperf Iperf server 10 * This is a simple performance measuring client/server to check your bandwith using 11 * iPerf2 on a PC as server/client. 12 * It is currently a minimal implementation providing a TCP client/server only. 107 /* 1=server, 0=client */ 108 u8_t server; member 123 /* 1=start server when client is closed */ 285 LWIP_ASSERT("conn invalid", (conn != NULL) && conn->base.tcp && (conn->base.server == 0)); in lwiperf_tcp_client_send_more() 583 if (!conn->base.server) { in lwiperf_tcp_poll() [all …]
|
/nrf52832-nimble/rt-thread/components/net/lwip-2.0.2/src/include/lwip/apps/ |
H A D | sntp_opts.h | 68 * One server address/name can be defined as default if SNTP_SERVER_DNS == 1: 82 /** SNTP server port */ 87 /** Set this to 1 to allow config of SNTP server(s) by DNS name */ 96 * response comes from the server we sent the request to. 98 * sent to the server (to ensure response to older request). 104 * server whose synchronization source has expired for a very long time.
|
H A D | mqtt.h | 55 /* Connection with server */ 94 * client has connected to the server after initiating a mqtt connection attempt by 95 * calling mqtt_connect() or when connection is closed by server or an error 153 * Pending request item, binds application callback to pending server requests 193 /** Pending requests to server */ 208 /** Connect to server */ 212 /** Disconnect from server */
|
/nrf52832-nimble/rt-thread/components/net/lwip-1.4.1/src/core/ |
H A D | dns.c | 86 /** DNS server IP address */ 91 /** DNS server port address */ 228 * Initialize the resolver: set up the UDP pcb and configure the default server 238 /* initialize default DNS server address */ in dns_init() 257 /* initialize default DNS primary server */ in dns_init() 269 * @param numdns the index of the DNS server to set must be < DNS_MAX_SERVERS 270 * @param dnsserver IP address of the DNS server to set 282 * Obtain one of the currently configured DNS server. 284 * @param numdns the index of the DNS server 285 * @return IP address of the indexed DNS server or "ip_addr_any" if the DNS [all …]
|
/nrf52832-nimble/rt-thread/components/net/lwip-2.0.2/src/apps/tftp/ |
H A D | tftp_port.c | 74 rt_kprintf("TFTP server start successfully.\n"); in tftp_server() 78 rt_kprintf("TFTP server start failed.\n"); in tftp_server() 81 FINSH_FUNCTION_EXPORT(tftp_server, start tftp server.); 84 MSH_CMD_EXPORT(tftp_server, start tftp server.);
|
/nrf52832-nimble/rt-thread/components/net/lwip-2.1.0/src/apps/tftp/ |
H A D | tftp_port.c | 74 rt_kprintf("TFTP server start successfully.\n"); in tftp_server() 78 rt_kprintf("TFTP server start failed.\n"); in tftp_server() 81 FINSH_FUNCTION_EXPORT(tftp_server, start tftp server.); 84 MSH_CMD_EXPORT(tftp_server, start tftp server.);
|
/nrf52832-nimble/rt-thread/components/net/lwip-2.0.2/doc/ |
H A D | mqtt_client.txt | 9 1. Initial steps, reserve memory and make connection to server: 23 1.2: Establish Connection with server 36 /* Initiate client and connect to server, if this fails immediately an error code is returned 38 to establish a connection with the server. 49 Connection to server can also be probed by calling mqtt_client_is_connected(client) 82 notifying user, retry subscribe or disconnect from server */
|
/nrf52832-nimble/rt-thread/components/net/lwip-2.1.0/doc/ |
H A D | mqtt_client.txt | 9 1. Initial steps, reserve memory and make connection to server: 23 1.2: Establish Connection with server 36 /* Initiate client and connect to server, if this fails immediately an error code is returned 38 to establish a connection with the server. 49 Connection to server can also be probed by calling mqtt_client_is_connected(client) 82 notifying user, retry subscribe or disconnect from server */
|
/nrf52832-nimble/rt-thread/components/net/uip/doc/html/ |
H A D | a00164.html | 3 <title>uIP 1.0: Web server</title> 16 <h1>Web server<br> 20 The uIP web server is a very simplistic implementation of an HTTP server. 29 <tr><td class="mdescLeft"> </td><td class="mdescRight">Web server script interface header file… 34 <tr><td class="mdescLeft"> </td><td class="mdescRight">Web server script interface. <br></td><… 39 <tr><td class="mdescLeft"> </td><td class="mdescRight">Web server. <br></td></tr> 85 <tr><td class="mdescLeft"> </td><td class="mdescRight">Initialize the web server. <a href="#g… 159 Initialize the web server. 161 This function initializes the web server and should be called at system boot-up.
|