Using Moto V551 as GSM modem (over bluetooth) works occassionally...

Using Moto V551 as GSM modem (over bluetooth) works occassionally... SearchSearch
Author Message
Tony Lee
New member
Username: Datoner

Post Number: 1
Registered: 07-2007
Posted on Tuesday, July 24, 2007 - 09:42 pm:   

Hello,

Just started playing with NowSMS. I managed to get one SMS msg to be received and 2-way response
(the echo example) to return a msg to the sender.
However, this worked only once and a second (and subsequent) tries failed. It seems that the msg is going directly into my phone's text message queue instead of coming into the NowSMS gateway.

Upon further debugging, I see that the SMSOUT*.log contains some failure information
(the first one is a successful one, all others are failures):

2007-07-24 15:50:39,46A5108C.req,Auto-response to 1914844xxxx,1914844xxxx,OK -- Standard Modem over Bluetooth link,SubmitUser=localsystem-2way;Text="Echo echo test!
"
2007-07-24 15:53:52,SAR-1914844xxxx-89-2-1.req,Auto-response to 1914844xxxx,1914844xxxx,Retry Pending - ERROR - Error waiting for response from modem (2) -- Standard Modem over Bluetooth link,SubmitUser=localsystem-2way
2007-07-24 15:56:45,SAR-1914844xxxx-89-2-2.req,Auto-response to 1914844xxxx,1914844xxxx,Retry Pending - ERROR - Error waiting for response from modem (2) -- Standard Modem over Bluetooth link,SubmitUser=localsystem-2way
2007-07-24 16:00:40,SAR-1914844xxxx-89-2-1.req,Auto-response to 1914844xxxx,1914844xxxx,Retry Pending - ERROR - Error waiting for response from modem (2) -- Standard Modem over Bluetooth link,SubmitUser=localsystem-2way
2007-07-24 16:03:45,SAR-1914844xxxx-89-2-2.req,Auto-response to 1914844xxxx,1914844xxxx,Retry Pending - ERROR - Error waiting for response from modem (2) -- Standard Modem over Bluetooth link,SubmitUser=localsystem-2way
....

Any ideas or suggestions?

Thanks in advance for any help.

Tony
Tony Lee
New member
Username: Datoner

Post Number: 2
Registered: 07-2007
Posted on Wednesday, July 25, 2007 - 09:29 pm:   

I've made some progress today. I found that when there's an error in communicating with the GSM phone/modem, then any subsequent SMS msgs are not processed (they go to the phone itself). If I clear the outgoing queue, then I can send SMS messages again (of the echo variety). But the main problem is that the URL I was using to send info back to the gateway generates an HTML page that NowSMS interprets as binary (and somehow this binary data screws up the modem - it's a Motorola phone). Anyway, I read more on this forum and created a simple return message which contains:
Content-Type: text/plain
some message

This time, NowSMS is able to send this back out to the sender, however, the sender gets exactly
the above message, including the "Content-Type: text/plain" header. My question is: shouldn't this header be stripped so only the actual message that follows is returned to the sender?

Is there something I missed here? (some option in NowSMS?)

Thanks,
Tony