by MaJerle

MaJerle / gsm-at-lib

Library for SIMCOM GSM modules to communicate with AT commands and RTOS from host device

164 Stars 90 Forks Last release: about 1 year ago (v0.6.0) MIT License 373 Commits 2 Releases

Available items

No Items, yet!

The developer of this repository has not created any items for sale yet. Need a bug fixed? Help with integration? A different license? Create a request here:

Lightweight GSM-AT parser

LwGSM is lightweight, platform independent, AT commands parser, targeting for communicion with SIMCOM based modules SIM800/SIM900 or SIM70xx. 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, but can easily work under


Read first: Documentation


  • Supports
    SIM800/SIM900 (2G)
    SIM7000/SIM7020 (NB-Iot LTE)
  • Platform independent and very easy to port
    • Development of library under Win32 platform
    • Provided examples for ARM Cortex-M or Win32 platforms
  • Written in C language (C99)
  • Allows different configurations to optimize user requirements
  • Supports implementation with operating systems with advanced inter-thread communications
    • 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 GSM device and does the job accordingly
  • Allows sequential API for connections in client and server mode
  • Includes several applications built on top of library:
    • MQTT client for MQTT connection
  • User friendly MIT license


Fresh contributions are always welcome. Simple instructions to proceed::

  1. Fork Github repository
  2. Respect C style & coding rules used by the library
  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

We use cookies. If you continue to browse the site, you agree to the use of cookies. For more information on our use of cookies please see our Privacy Policy.