mirror of
https://github.com/jialexd/sdk-ameba-v4.0c_180328.git
synced 2026-07-11 14:05:44 +00:00
first add sdk
This commit is contained in:
commit
f91efd1250
3915 changed files with 1291882 additions and 0 deletions
16
component/common/example/nonblock_connect/readme.txt
Executable file
16
component/common/example/nonblock_connect/readme.txt
Executable file
|
|
@ -0,0 +1,16 @@
|
|||
LWIP SOCKET NONBLOCKING CONNECT EXAMPLE
|
||||
|
||||
Description:
|
||||
TCP nonblocking connect with use of select() for connection timeout handling.
|
||||
|
||||
Configuration:
|
||||
Modify SERVER_IP and SERVER_PORT in example_nonblock_connect.c for server connection
|
||||
|
||||
[platform_opts.h]
|
||||
#define CONFIG_EXAMPLE_NONBLOCK_CONNECT 1
|
||||
[lwipopts.h]
|
||||
#define ERRNO
|
||||
|
||||
Execution:
|
||||
Can make automatical Wi-Fi connection when booting by using wlan fast connect example.
|
||||
A socket nonblocking connect example thread will be started automatically when booting.
|
||||
Loading…
Add table
Add a link
Reference in a new issue