gammu.smsd – SMSD access¶
- class gammu.smsd.SMSD(Config)¶
SMSD main class, that is used for communication with phone.
You don’t need to run the SMS daemon itself to control or ask it for status, this can be also done on separately running instances. All you need to do for this is to give same configuration file as that instance is using.
Config (string) – Path to SMSD configuration file.
Runs SMS daemon main loop.
Please note that this will run until some serious error occurs or until terminated by
Returns SMSD status.
The following values are set in resulting dictionary:
Client software name.
PhoneID which can be used for multiple SMSD setup.
IMEI of currently connected phone.
Number of sent messages.
Number of received messages.
Number of failed messages.
Last battery state as reported by connected phone.
Last signal level as reported by connected phone.
Dict with status values
- Return type