mongoose/examples
2023-07-25 13:07:28 +01:00
..
arduino no Docker, in-place build for tests 2023-07-21 16:45:14 -03:00
captive-dns-server
device-dashboard TLS API refactor 2023-07-25 13:07:28 +01:00
embedded-filesystem TLS API refactor 2023-07-25 13:07:28 +01:00
esp32
esp8266/http-client-server
file-upload-html-form
file-upload-multiple-posts
file-upload-single-post
http-client
http-proxy-client
http-restful-server
http-reverse-proxy
http-server
http-streaming-client TLS API refactor 2023-07-25 13:07:28 +01:00
huge-response
infineon/infineon-xmc4700_4800-lwip-rtx-rtos
json-rpc-over-websocket
live-log
mip-pcap
mip-tap
mqtt-client TLS API refactor 2023-07-25 13:07:28 +01:00
mqtt-client-aws-iot
mqtt-over-ws-client
mqtt-server
multi-threaded
nxp
rp2040 static clue 2023-07-18 17:10:05 -03:00
smtp-client TLS API refactor 2023-07-25 13:07:28 +01:00
sntp-time-sync
socks5-server
stm32 TLS API refactor 2023-07-25 13:07:28 +01:00
tcp TLS API refactor 2023-07-25 13:07:28 +01:00
ti static clue 2023-07-18 17:10:05 -03:00
timers
uart-bridge
udp-ssdp-search
video-stream
websocket-client
websocket-server
webui-login
webui-plain
webui-preact
webui-push-rest
webui-push-ws
webui-rest
wifi-router-dashboard
zephyr
README.md

Mongoose Network Library Examples

In order to build and run any of the existing examples, please follow: https://mongoose.ws/documentation/#how-to-build-and-run-examples

Contributing

Rules for creating a new example:

  • Makefile golden reference for desktop/server example: http-server
  • Makefile golden reference for the embedded example: stm32/nucleo-f746zg-baremetal
  • An example must build on Windows, Mac and Ubuntu Linux systems
  • Assume that user installed tools according to https://mongoose.ws/tutorials/tools/
  • Makefile must not include any other make files
  • Use CFLAGS for system-specific compilation options
  • Use CFLAGS_MONGOOSE for mongoose-specific compilation options
  • Use $(CFLAGS) $(CFLAGS_MONGOOSE) $(CFLAGS_EXTRA) to compile
  • If external repository is required, download it on demand using git shallow clone. See embedded example golden reference
  • Keep Makefile as short as possible, but verbose to understand it easily
  • Symlink files when required, like mongoose.c, ca.pem, etc. Make no copies
  • Example's README.md should contain only the title and the link to mongoose.ws tutorial page