Skip to content

A simple SMS library for GSM modules with unicode support

License

Notifications You must be signed in to change notification settings

vahidtvj/TinySMS

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

8 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

TinySMS

A simple SMS library for GSM modules with unicode support

This library allows you to listen and receive SMS messages from a GSM module (e.g. from SIM800L)

Features

  • Unicode support
  • Multipart SMS
  • Alphanumeric number
  • Sending messages

Supported modules

  • SIM800L
  • SIMCOM 800 series
  • SIMCOM 900 series

* Unchecked boards will probably work. Please notify me if it works on your specific board

Installation

PlatformIO

  • Just add vahidtvj/TinySMS to your lib_deps list

Arduino

  • First Install TinyGSM and LinkedList libraries
  • Download the Latest release from github
  • Unzip and modify the Folder name to "TinySMS"
  • Move the folder to your Library folder

Usage

This library works alongside TinyGSM

Please see the examples folder for use cases

Example setup for SIM800L module:

#include <Arduino.h>
#define TINY_GSM_MODEM_SIM800
#include <TinyGsmClient.h>
#include <TinySMS.h>
TinyGsm modem(Serial);
TinySMS modemSMS(modem);

void setup()
{
    // TinyGsm config
    TinyGsmAutoBaud(Serial);
    modem.init();

    // setup modem for sms
    modemSMS.begin();
}