RepositoryCATAustria
nimaltd

nimaltd/ATC-V2

STM32 AT Command LL library

52stars
7forks
0issues
4views

Featured achievements

The project's latest awards

1
TINIX TRENDING·Topic: stm32cubemx

#1 Repository of the month

1
TINIX TRENDING·Topic: at-command

#1 Repository of the month

1
TINIX TRENDING·Topic: atcommand

#1 Repository of the month

STM32 AT-Command LL Library

please use https://github.com/nimaltd/atc

This is the AT-Command STM32 LL Library

How to use this Library:

  • Select "General peripheral Initalizion as a pair of '.c/.h' file per peripheral" on project settings.
  • Enable USART and enable interrupt.
  • Enable TX DMA is optional.
  • Enable FREERTOS is optional.
  • Add atc_callback() into USART IRQ callback.
  • If Enabled TX DMA, Add atc_callback_txDMA() into DMA callback.
  • Include Header and source into your project.
  • Config "ATCConfig.h".
  • Call atc_init( .. .. .. ).
#include "atc.h"

char answerString[128];
uint8_t foundAnswer; 
int main()
{
  atc_init(ATC_Element_0, USART3, 256, 50, "WIFI", DMA1, LL_DMA_STREAM_3);
  foundAnswer = atc_sendAtCommand(ATC_Element_0, "AT\r\n", 3000, answerString, 128, 2, "OK\r\n", "ERROR\r\n");
  
  while(1)
  {
    atc_process();
  }
}

in stm32f4xx_it.c

void USART3_IRQHandler(void)
{
  atc_callback(ATC_Element_0);
}

// if use tx dma
void DMA1_Stream3_IRQHandler(void)
{
  atc_callback_txDMA(ATC_Element_0);
}


Similar Projects

Discover other similar projects and AI models.

RepositoryC
nimaltd/gsm

gsm module library for STM32 LL

51
Oct 2, 2026
RepositoryC
MaJerle/stm32-cube-cmake-vscode

STM32, VSCode and CMake detailed tutorial

727
Sep 20, 2025
RepositoryC
leech001/SIM800MQTT

STM32 HAL library for SIM800 release MQTT client over AT command

156
Oct 28, 2021
RepositoryJava
tomazas/ATCommandTester

Ported and cleaned up version of the ATCommandTester from m2msupport.net

151
Feb 26, 2023
RepositoryC#
hbjorgo/ATLib

ATLib is a C# library that makes it easy to communicate with modems.

60
Sep 24, 2025
RepositoryC
flipperdevices/flipperzero-firmware

Flipper Zero firmware source code

17.1k
Nov 27, 2026
RepositoryC
stlink-org/stlink

Open source STM32 MCU programming toolset

5.3k
Oct 9, 2026
RepositoryC
cpq/bare-metal-programming-guide

A bare metal programming guide (ARM microcontrollers)

5.1k
Jul 3, 2026
RepositoryC
Bodmer/TFT_eSPI

Arduino and PlatformIO IDE compatible TFT library optimised for the Raspberry Pi Pico (RP2040), STM32, ESP8266 and ESP32 that supports different driver chips

5.0k
Apr 3, 2026