Simon Goldschmidt
35b011d4cf
Fix compiling lwiperf_example.c with TCP disabled
8 years ago
Simon Goldschmidt
866db8b37a
example_app/lwipopts.h: fix compiler error in init.c checks
8 years ago
Simon Goldschmidt
70ca8292cf
example_app: increase PBUF_POOL_BUFSIZE and TCP_WND (for TLS)
...
mbedTLS needs the tcp receive window big enough to buffer a maximum
sized decryption fragment.
Since this config is an example only, let's just increase the sizes
to make this work by default.
Signed-off-by: Simon Goldschmidt <goldsimon@gmx.de>
8 years ago
Dirk Ziegelmeier
dcc3d1ed2e
Add configs that test "NO TCP" and "NO UDP"
8 years ago
Simon Goldschmidt
b94e071e2a
add semi-automatic test for option permutations
...
For now, this works on some manually generated option files.
Signed-off-by: Simon Goldschmidt <goldsimon@gmx.de>
8 years ago
Simon Goldschmidt
dece1fe709
mdns_example: fix build for LWIP_MDNS_RESPONDER==0
8 years ago
Simon Goldschmidt
d4eecdc027
mdns_example: use new probing callback
8 years ago
Simon Goldschmidt
40f1684695
fs_example.c requires LWIP_HTTPD_FS_ASYNC_READ
8 years ago
Simon Goldschmidt
dd664e6363
example_app/lwipopts: don't define PBUF_LINK_HLEN to 16
...
This breaks PBUF_RAW against pbuf_add_header(PBUF_LINK_HLEN) like used
at least in icmp. Redefine ETH_PAD_SIZE instead if this is required.
Signed-off-by: Simon Goldschmidt <goldsimon@gmx.de>
8 years ago
Dirk Ziegelmeier
6e40050321
example_app: Add missing LWIP_IPV6_AUTOCONFIG compile guard
8 years ago
Dirk Ziegelmeier
fcddb3f06f
lwipcfg.h: Remove duplicate LWIP_MQTT_APP #define
8 years ago
Dirk Ziegelmeier
9e69e3aeee
Fix misleading function name that has msvc in it
...
it contains no platform specific code
8 years ago
Sylvain Rochet
3c4ce32666
PPP, PPPoS, example: condition build to PPPOS_SUPPORT instead of PPP_SUPPORT
...
Build fail if PPP_SUPPORT is enabled but PPPOS_SUPPORT is not because
we try to compile PPPoS example while PPPOS_SUPPORT is disabled.
Signed-off-by: Sylvain Rochet <gradator@gradator.net>
8 years ago
Simon Goldschmidt
d4e40e6b02
example_app/lwipopts.h: make ip4 reassembly work with PBUF_POOL
...
The old setting (10) was too low for PBUF_POOL_BUFSIZE of 128
Signed-off-by: Simon Goldschmidt <goldsimon@gmx.de>
8 years ago
Simon Goldschmidt
f895fbb3ba
example_app: guard all apps with a define
...
Signed-off-by: Simon Goldschmidt <goldsimon@gmx.de>
8 years ago
Simon Goldschmidt
7a5e5a9893
win32 port: restore graceful shutdown on keypress
...
Signed-off-by: Simon Goldschmidt <goldsimon@gmx.de>
8 years ago
Dirk Ziegelmeier
f68e2873ed
Test app: a few compile fixes
8 years ago
Dirk Ziegelmeier
f5bef4c578
Some cleanups to my last commit
8 years ago
Dirk Ziegelmeier
14f93f8233
Create unified example application shared between Unix and Win32
...
Move win32 test.c and its config files to separate example_app directory
Refactor platform specific code into new per-port files
!!! This breaks Win32 application until I can fix it at work where I have access to MSVC !!!
8 years ago
goldsimon
ef7227301e
mqtt_example: fix compiling IPv6-only
8 years ago
Dirk Ziegelmeier
959bb904bc
Fix format strings in lwiperf_example.c
8 years ago
Dirk Ziegelmeier
d076820584
Move lwiperf code from Win32 test app into example files
8 years ago
Dirk Ziegelmeier
4fbecc36a4
Use a few of the examples extracted from unix simhost in Win32 test application
8 years ago
Dirk Ziegelmeier
c09824b550
Move ethernetif.c from lwIP main rep to contrib examples directory where it has a chance to be actually found by users
8 years ago
Dirk Ziegelmeier
d48552c655
pppos_example: return instead of exiting on error
8 years ago
Dirk Ziegelmeier
25d85cc5dd
Try another way to fix build errors reported by Travis
8 years ago
Dirk Ziegelmeier
b93dc4b89a
Try to fix build errors reported by Travis
8 years ago
Dirk Ziegelmeier
e4a4398cee
Try to fix build errors reported by Travis
8 years ago
Dirk Ziegelmeier
df92a0dcad
Try to fix build errors reported by Travis
8 years ago
Dirk Ziegelmeier
fdef8b1876
Try to fix build errors reported by Travis
8 years ago
Dirk Ziegelmeier
b632291f4c
Move PPPOS code from unix simhost to separate files
8 years ago
Dirk Ziegelmeier
3d3c8cacf5
Move SNMP code from UNIX simhost to separate files
8 years ago
Dirk Ziegelmeier
db9ff436a0
Minor cleanup in mqtt_example
8 years ago
Dirk Ziegelmeier
b756f34286
Fix typo in tftp_example
8 years ago
Dirk Ziegelmeier
f05b8441aa
Move MDNS code from UNIX simhost.c to separate files
8 years ago
Dirk Ziegelmeier
24e0b29c37
Move SNTP code from UNIX simhost.c to separate files
...
Forgot to move one function
8 years ago
Dirk Ziegelmeier
4d460f0061
Move SNTP code from UNIX simhost.c to separate files
8 years ago
Dirk Ziegelmeier
fd3d2ff645
Move app initialization code in simhost.c to one place
8 years ago
Dirk Ziegelmeier
59ebc4657f
Move TFTP example code from UNIX simhost to separate files
8 years ago
Dirk Ziegelmeier
ee8611de2d
Move MQTT example code from UNIX simhost to separate files
8 years ago
goldsimon
7fd462eb00
httpd: fs_example: delayed files can be persistent too now.
8 years ago
goldsimon
f7caf5f0b3
httpd: add simple POST example
8 years ago
goldsimon
9776893035
examples httpd: addd an example for generated files
8 years ago
goldsimon
4eb90e75ef
examples/httpd: add a httpd fs tree for the examples (e.g. SSI)
8 years ago
goldsimon
9f9ead7792
httpd examples: fix a few whitespace and spelling things
8 years ago
goldsimon
f4ac194054
httpd: add example for LWIP_HTTPD_CGI
8 years ago
goldsimon
16351b5f3d
httpd: added example for LWIP_HTTPD_CGI_SSI
8 years ago
goldsimon
1386081950
httpd: fs_example: implement delayed reading of file size
...
This also adapts to the change in persistent connections to httpd:
custom files need the flag FS_FILE_FLAGS_HEADER_PERSISTENT to be
served over a persistent connection.
8 years ago
goldsimon
44d4624999
httpd/fs_example: show delayed and limited read
...
This change makes the example a bit less readable but shows (and tests)
how delayed read works (if file size is known in fs_open_custom).
8 years ago
Dirk Ziegelmeier
a6a03c3554
Fix a type in SNMP example that may lead to confusion.
...
The number in SNMP_CREATE_TREE_NODE(0, private_nodes); is not actually used, but for consistency, it should be the same as in the base OID declaration.
8 years ago