This is SlingshotSMS, a minimal SMS server which connects GSM modems to websites and applications via a simple HTTP interface.
Hi! This is the experimental branch of SlingshotSMS. Here's what's different and better:
- Minimal slingshotsms.py core: it's lost a hundred lines of code since Goliath and does things in a much more concise fashion
- Multiple messages with JSON: now fewer POSTs required when you have a lot of messages going from place to place
- Way better testing functionality: interactive mode lets you test web applications quickly
- More straightforward configuration
- Uses CherryPy's logging facilities, so logs are easily redirected and repurposed
- AT-compatible GSM modem
- Double-click on SlingshotSMS.command
- Double-click on slingshotsms.exe
python slingshotsms.py
- Install required libraries
- Drop into directory
- Edit slingshotsms.txt
- run
python slingshotsms.py
-
mock=yes
will run sms_server without trying to connect to a server, to test applications on the ability to POST and receive POST data
-
sms_poll
is the wait time between asking the modem for new messages database_file can specify what file the database will be on. Since this uses sqlObject, the database engine itself is flexible, but thread safety is a concern because the poller runs on a separate thread from the web server