Enqueues SMS message in SMS daemon queue.
Parameters: |
|
---|---|
Return: | Error code |
Gets SMSD status via shared memory.
Parameters: |
|
---|---|
Return: | Error code |
Flags SMSD daemon to terminate itself gracefully.
Parameters: |
|
---|---|
Return: | Error code |
Reads SMSD configuration.
Parameters: |
|
---|---|
Return: | Error code |
Main SMS daemon loop. It connects to phone, scans for messages and sends messages from inbox. Can be interrupted by SMSD_Shutdown.
Parameters: |
|
---|---|
See: | |
Return: | Error code |
Creates new SMSD configuration.
Parameters: |
|
---|---|
Return: | Pointer to SMSD configuration data block. |
Frees SMSD configuration.
Parameters: |
|
---|
struct GSM_SMSDStatus
Status structure, which can be found in shared memory (if supported on platform).
Public Members
- int Version
Version of this structure (1 for now).
- char PhoneID[SMSD_TEXT_LENGTH+1]
PhoneID from configuration.
- char Client[SMSD_TEXT_LENGTH+1]
Client software name.
- GSM_BatteryCharge Charge
Current phone battery state.
- GSM_SignalQuality Network
Current network state.
- int Received
Number of received messages.
- int Sent
Number of sent messages.
- int Failed
Number of messages which failed to be send.
- char IMEI[GSM_MAX_IMEI_LENGTH+1]
Phone IMEI.
SMSD configuration data, these are not expected to be manipulated directly by application.