I also tried sending a message to USB Modem (micromax modem with a docomo SIM). I used the following python code.
- Code: Select all
ser = serial.Serial('COM4', 9600)
data = ser.read()
print "data : ", data
The baud rate and all are correct.
When I used this, I checked for the output in cmd window. the output was just blank space.
Meaning that, the message was not being read by serial COM port.
Please help. Pls suggest any code in python or any other language in order to transfer messages from my mobile to computer, or transfer messages sent to the usb modem to a notepad or wordpad or anything else.
If this is not possible, is it possible to send the messages from mobile to any webpage or email,using some android application ?