Discussion in "Software" started by    bobdxcool    Mar 5, 2013.
Tue Mar 05 2013, 09:06 pm
#1
I wanted to transfer the messages that my mobile receives to a word or text file in my PC. Is it possible to do it serially through COM port ??

I also tried sending a message to USB Modem (micromax modem with a docomo SIM). I used the following python code.

Code:
import serial
import time
ser = serial.Serial('COM4', 9600)
while 1:
data = ser.read()
if (data):
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 ?
Wed Mar 06 2013, 10:34 am
#2
try with at command on modem first. If you are able to read then its possible in software else its not. Not all modems allow you to use at commands (e.g. phones).

try AT+CMGR and AT+CMGL commands to see if you can get SMS or not.

Get Social

Information

Powered by e107 Forum System

Downloads

Comments

AntoniaRoons
Fri Apr 19 2024, 09:59 pm
carpinteyrowrl
Fri Apr 19 2024, 02:51 pm
DonaldJAX
Fri Apr 19 2024, 01:08 pm
Lewisuhakeply
Thu Apr 18 2024, 06:00 pm
Darrellciz
Thu Apr 18 2024, 11:07 am
Charlessber
Thu Apr 18 2024, 09:29 am
BartonSem
Thu Apr 18 2024, 04:56 am
DonaldKnown
Thu Apr 18 2024, 12:24 am