Skip to content
ESP8266 AT Command Set Library for ATXMega controllers (Tested on XMega256A3BU)
Branch: master
Clone or download
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Type Name Latest commit message Commit time
Failed to load latest commit information.
ADC_DMA_DAC.c
ADC_DMA_DAC.h
AT_Based_Library.c
AT_Based_Library.h
LICENSE
README.md
Serial_AT_Functions.c
Serial_AT_Functions.h
main.c

README.md

XMega_ESP8266

ESP8266 AT Command Set Library for ATXMega controllers (Tested on XMega256A3BU)


This Library contains all the functions pertaining to AT Command set for ESP-01 AND ESP-12 Firmware (per ver 1.3.0.0)
on ESP8266.

Serial Configuration is included, provided you change the Serial Port used defined in AT_USART
Uses DMA to transfer data from USART_DATA to the buffer, DMA channel can be changed by updating the AT_DMACH

Buffers str_res and AT_output are used to return result as a string, you need to include them as external variables to utilize them
# Ways to include in your file:
#include "Serial_AT_Functions.h"

extern char str_res[BUFF_LEN];
extern char AT_output[BUFF_LEN/4];

Adapting to Other AVRs

The code can be adapted to other AVRs by changing the Serial Config and sendChar functions as per your uController. (Note: this includes the controllers with no DMA, you need to add the process of copying the data within receive complete interrupt, in which case, you would have to change the buffers to volatile.

You can’t perform that action at this time.