Mongoose: A Compact and Powerful Embedded Web Solution

Mongoose: A Compact and Powerful Embedded Web Solution

What is Mongoose Imagine being able to run HTTP, WebSocket, MQTT, etc., on your microcontroller, STM32, ESP32, or even a spacecraft from Beijing to Mars, using just a <span>.c</span> + a <span>.h</span>. This is Mongoose, a C/C++ networking library that has been shining since 2004. It uses an event-driven, non-blocking API to make connecting and … Read more

Mongoose – Sharing on Embedded Web Server/Network Library Usage – 6 (Timer)

Mongoose - Sharing on Embedded Web Server/Network Library Usage - 6 (Timer)

🍁Introduction Timer event callbacks in Mongoose may be used in certain scenarios, such as: Sending heartbeat messages to connected clients Implementing reconnection logic for MQTT or WebSocket clients Regularly uploading telemetry data Regularly checking for software update versions … Its functionality and usage methods should be familiar to everyone, which essentially involves writing a callback … Read more

Mongoose – Sharing Experience with Embedded Web Server/Network Library – 0 (Introduction)

Mongoose - Sharing Experience with Embedded Web Server/Network Library - 0 (Introduction)

Today, I would like to share an embedded web server that I have been using for a long time: Mongoose. I have also used Lighttpd, Boa, Nginx and many other similar web servers. We usually select a few commonly used ones for research based on system performance and resources, in order to maximize their potential! … Read more

Exploring the Mongoose Framework in C++

Exploring the Mongoose Framework in C++

Exploring the Mongoose Framework mongoose is a lightweight, cross-platform C/C++ networking library that helps us quickly set up a web server, handle HTTP requests, and implement WebSocket communication, among other features. Its simple interface and rich functionality make it an ideal choice for beginners in C++ web programming. Before using mongoose, ensure that it has … Read more