Skip to content

MaJerle/lwesp

Repository files navigation

Lightweight ESP-AT parser

LwESP is lightweight ESP AT commands parser library to communicate with ESP8266 or ESP32 Wi-Fi modules using AT commands. Module is written in C99 and is system platform agnostic. Its main targets are embedded system devices like ARM Cortex-M, AVR, PIC and others, but can easily work under Windows, Linux or MAC environments too.

Espressif module runs official AT Commands (esp-at) software and communicates with host device via UART or SPI communication protocol.

Follow documentation for more information on implementation and details.

Read first: Documentation

Features

  • Supports latest ESP32, ESP32-C2, ESP32-C3, ESP32-C6 & ESP8266 AT software from Espressif system
  • Platform independent and very easy to port
  • Development of library under Win32 platform
  • Available examples for ARM Cortex-M, Win32 or POSIX (mostly Linux) platforms
  • Written in C language (C99)
  • Allows different configurations to optimize user requirements
  • Supports implementation with operating systems with advanced inter-thread communications
  • Uses 2 tasks for data handling from user and device
  • Includes several applications built on top of library
    • Netconn sequential API for client and server
    • HTTP server with dynamic files (file system) supported
    • MQTT client
  • Embeds other AT features, such as WPS management, custom DNS setup, Hostname for DHCP, Ping feature
  • User friendly MIT license

Contribute

Fresh contributions are always welcome. Simple instructions to proceed:

  1. Fork Github repository
  2. Follow C style & coding rules already used in the project
  3. Create a pull request to develop branch with new features or bug fixes

Alternatively you may:

  1. Report a bug
  2. Ask for a feature request