CutieModem provides an interface to interact with a modem exported on the Ofono D-Bus service.

Properties

Methods

Detailed Description

The list of modems returned by CutieModemSettings contains objects inheriting an abstract type CutieModem.

Property Documentation

data

object, readonly

Holds a JavaScript object containing the modem properties as given by Ofono D-Bus service.

path

string, readonly

Holds the D-Bus path that is used by Ofono to describe this modem.

simData

object, readonly

Holds a JavaScript object containing the properties of the SIM card inserted into the modem as given by Ofono D-Bus service.

Method Documentation

void sendMessage(string to, string message)

Sends a SMS message using a modem represented by this object. The SMS will be sent to the recepient passed in the argument to and the SMS will have a message body as passed in the argument message.