from Mobile.GSM.PySerialTransport import PySerialTransport
from Mobile.GSM.MobileProxy import MobileProxy
m = MobileProxy(PySerialTransport('COM1'))
m.connect()
m.attention()
manufacturer = m.request_manufacturer_identification()
model = m.request_model_identification()
m.simple_send_message(
'+6047288693',
'I just got pyMobile working. Greetings from my %s %s!' %
(manufacturer, model))
m.disconnect()