Home | History | Annotate | Download | only in pseudomodem

Lines Matching refs:SMS

10 import sms
21 Handles all SMS operations, which includes storing received SMS messages,
22 as well as notifying the modem when a new SMS is received.
26 # TODO(armansito): Apply a character limit to SMS messages for multi-part
35 self._messages = {} # Mapping from DBus Object paths to sms.SMS.
43 on which new SMS objects will be created.
54 Sets the current bus on which SMS objects should be created.
68 """ Clears all SMS messages. """
75 has no effect if and SMS object with path |path| is unknown.
77 @param path: DBus object path of the SMS object to remove.
83 logging.info('SMS object with path "%s" not found.', path)
89 Returns a list of DBus object paths belonging to stored SMS messages.
97 Returns the SMS message with the DBus object path that matches |path|.
99 @param path: DBus object path of the requested SMS object.
100 @returns: An instance of sms.SMS or None, if an SMS object with the
112 Constructs an SMS object and stores it internally. SMS messages should
114 Once an SMS is created, it can be obtained via get_message_with_path.
118 @returns: An instance of sms.SMS.
122 raise SmsHandlerException('A bus has to be set before SMS objects '
124 sms_object = sms.SMS(self._bus, sender, text)
132 Queues up an SMS to be sent and simulates SMS delivery state updates.
144 Simulates a received SMS message.
148 @param is_status_report: If True, the SMS will be formatted as a status
155 # SMS messages travel faster than the speed of light.