The AT Protocol is a common method for communicating with modems for WiFi, Bluetooth, LTE, Cat.M1 via serial protocols. This solutions is the full source code for a UART connected WiFi modem AT Protocol driver, implemented in C and without any delay functions.

This solutions is designed to work with cooperative multi-tasking systems without an RTOS (mainloop systems) such as bare-metal microcontrollers.

The solution handles:
 • AT Command transmit
 • AT responses with and without payload
 • AT Error conditions
 • Unsolicited messages from device
 • Binary transfer mode

Sign Up For Full Access
Members gain full access to the Prosource library with dozens of source files for ARM Cortex, ATMega, PIC processors as well as desktop and embedded Linux systems. Solutions for bootloaders, Buildroot and Yocto targets as well as guided articles on embedded development to gain critical knowledge in new systems and speed up development.
Files size: 18.45 KB
RAM usage:21 bytes + buffers
Avg Flash:Not Set
Source #1 - Members Only
Source #2 - Members Only