Introduction to SMS service
Short message service (SMS)
Short Message Service (SMS) is a communication service standardized in the GSM mobile communication system, which moves 140 octets (8-bit bytes) of data per message - however various encoding schemes reduces this in actual practice. For example, an email-to-SMS gateway might add 20 octets of header encoding the 'From:' email header field as text, so the actual text payload size drops towards 100 octets.
Summary of Wiki pages
Understanding if your Digi product supports SMS
Digi cellular products with GSM cellular modems and firmware version 2.9.0 and above can support SMS messaging from Python.
See What is your product firmware level.
Enabling SMS support within Digi products
By default SMS is disabled, so you need to enable support for SMS.
See Sms enabling support.
Understanding the Digi SMS Python module
In Summary:
- You must enable SMS handling in the base Digi product using the web interface or other means
- Register a Python callback using the digisms.Callback()
- Use digisms.send() to send messages
See Module: digisms.
Sending SMS from your host tool
Host applications can use email to send SMS messages via standard IP connections. This wiki page presents a sample Python script using gmail.com or other ISP email services.
See SMS host sends
Sample Digi-to-Digi SMS demo
Sample Python code showing sending messages, and displaying messages received.