Sim Source interface which interacts with the modem.
#include <simSource.h>
|
| SimSource (const std::string &id, ModemManagerPrivate &modem, const std::string &modemid) |
| Constructor. More...
|
|
virtual | ~SimSource () |
| Destructor.
|
|
void | start () |
| Start Source operations.
|
|
void | stop () |
| Stop Source operations.
|
|
boost::system::error_code | sendSms (const std::string &destination, const std::string &content, std::string &smsid) |
| Sends a sms to a specified phone number. More...
|
|
boost::system::error_code | deleteSms (const std::string &smsid) |
| Delete a specific sms from the sms list. More...
|
|
| SmsSource (const std::string &id) |
| Constructor. More...
|
|
virtual | ~SmsSource () |
| Destructor.
|
|
virtual std::list< boost::shared_ptr< ISms > > | getSmsList () const |
| Retrieve sms list from the sms source. More...
|
|
virtual boost::system::error_code | getSmsInfo (const std::string &smsid, dpySms::SmsInformation &info) const |
| Retrieve sms related information. More...
|
|
- Parameters
-
id | identifier |
modem | modem object |
modemid | modem identifier |
boost::system::error_code deleteSms |
( |
const std::string & |
smsid | ) |
|
|
virtual |
- Parameters
-
- Returns
- error code
Implements SmsSource.
boost::system::error_code sendSms |
( |
const std::string & |
destination, |
|
|
const std::string & |
content, |
|
|
std::string & |
smsid |
|
) |
| |
|
virtual |
- Parameters
-
destination | is the destination number or element to send the sms to |
content | message content |
smsid | resultant sms identifier |
- Returns
- error code
Implements SmsSource.