Skip to content

Simple python program that receives sms using a GSM modem and sends to a server. An alternate of SMS Enabler.

License

Notifications You must be signed in to change notification settings

nzahasan/gsm-modem-sms-receiver

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

23 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

SMS Reciever

This python program receives sms from a gsm modem using at command and sends it to a server via post request.

Dependency

These external python library was used in this program

pip install -r requirements.txt -t ./

Usage

To use this first you need to edit config.ini. Place the right port , and baudrate. If you need to send message to a server in server section set send: true and put the address of the server.

[Device]
Port: /dev/ttyUSB0
Baud_Rate: 115200
[Server]
Send: true
Address: http://localhost/receive.php  

If you dont know what is your port use dmesg | grep tty command to find the port address of your USB serial device. Then make the program executable using sudo chmod +x receive.py. To execute the program use sudo ./receive.py

About

Simple python program that receives sms using a GSM modem and sends to a server. An alternate of SMS Enabler.

Topics

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages