Build a Micro HTTP Server for Embedded System
summary
Claims a working micro HTTP server that follows RFC 2616/HTTP 1.1, prototypes in Python prototype → C rewrite with automated unit tests (Travis CI runs 9 tests in ~0.21s), and runs on an STM32F4‑Discovery under an RTOS. Implements a minimal socket API, select() emulation, UART driver for an ESP8266 over UART Wi‑Fi module, request routing/CGI‑like dispatch, and middleware. Demo lights board LEDs via HTTP; author reports it fits tight memory (≈15.2 KB bottleneck) and successfully handles concurrent requests.
AI-written summary · about
chapters (16)
- 0:00Intro
- 0:40Motor Controlling
- 1:03Measurement of Motor
- 8:25Entity Header Fields
- 9:23Single Server Thread & Single Client
- 9:58Flow Chart of Server Socket
- 10:15Concurrency
- 11:52Steps for CGI
- 16:19Middleware - Route Flow Chart
- 18:02Directory Tree in Python Version
- 25:36Micro HTTP Server on FreeRTOS
- 25:50Principles of Implementation
- 26:17Reference Serial Drivers of Linux
- 30:53Select System Call Implementation
- 38:42Server Socket Flow Chart
- 44:51Communication Wiring
related talks
46mProgramming the Web of Things with Python and MicroPython
35mLet's build a simple HTTP server with Ruby
56mScripting the Internet of Things
31mProgram all the things - How to develop IoT devices using MicroPython
36mThe Little Server That Could
32mUsing MicroPython in the wild
35mThe little server that could
47mWebRTC: Serverless – This Time’s For Real!
