Gammu SMS Daemon is a program that periodically scans GSM modem for received messages, stores them in defined storage and also sends messages enqueued in this storage.
The interactions of SMS Daemon and related components can be seen on following picture.
The SMSD operation consist of several steps.
Process command line options.
Configure backend service.
- Main loop is executed until it is signalled to be terminated.
Try to connect to phone if not connected.
Check for security code if configured (configured by
Check for received messages (frequency configured by
Check for reset of the phone if configured (frequency configured by
Check for messages to send (frequency configured by
Check phone status (frequency configured by
Sleep for defined time (
Backend service is freed.