LwESP Lightweight ESP-AT parser library for embedded systems
LwESP commands parser is generic, platform independent, library for communicating with ESP8266 Wi-Fi module using AT commands. Module is written in C99 and is independent from used platform. Its main targets are embedded system devices like ARM Cortex-M, AVR, PIC and others.
Features
- Supports latest ESP8266 and ESP32 RTOS-SDK AT commands firmware
- Platform independent and easy to port
- Library is developed under Win32 platform
- Provided examples for ARM Cortex-M or Win32 platforms
- Written in C language (C99)
- Allows different configurations to optimize user requirements
- Optimized for systems with operating systems (or RTOS)
- Currently only OS mode is supported
- 2 different threads handling user data and received data
- First (producer) thread (collects user commands from user threads and starts the command processing)
- Second (process) thread reads the data from ESP device and does the job accordingly
- Allows sequential API for connections in client and server mode
- Includes several applications built on top of library:
- HTTP server with dynamic files (file system) support
- MQTT client for MQTT connection
- MQTT client Cayenne API for Cayenne MQTT server
- User friendly MIT license
Read documentation & download library
Open Github