Issues with SMS
Hi Derek, Brett,
I have a new issue with my Hal. The SMS module which was working, suddenly stopped.
When diagnosing the issue, I see this in debug:
SMS Connector for xAP v12
Copyright (C) DBzoo, 2009
br0: address 172.16.10.100
br0: netmask 255.255.255.0
Autoconfig: xAP broadcasts on 172.16.10.255:3639
xAP uid=FF00DD00, source=dbzoo.livebox.sms
Debug level 6
Broadcast socket port 3639 in use
Assuming a hub is active
Socket port 3639 in use
Socket port 3640 in use
Discovered port 3641
Using serial device /dev/ttyUSB0
Serial Tx: AT+CREG?
Serial Rx: à æøæxøx~fxÃ
initmodem: Waiting 2 secs before retrying
Serial Tx: AT+CREG?
Serial Rx: Ã xÃ
initmodem: Waiting 2 secs before retrying
Serial Tx: AT+CREG?
Serial Rx: à æø
initmodem: Waiting 2 secs before retrying
Serial Tx: AT+CREG?
Serial Rx: æxøx
initmodem: Waiting 2 secs before retrying
Serial Tx: AT+CREG?
Serial Rx: à æøæÃ
initmodem: Waiting 2 secs before retrying
Serial Tx: AT+CREG?
Serial Rx: Ã xÃ
I've restarted HaH, restarted phone, delete all messages and reset phone to factory, still no joy.
Any ideas?
Gary
You've plugged in a current cost haven't you?
That data is what you would see from a currentcost device on /dev/ttyUSB0 your SMS device has probably bump along one /dev/ttyUSB1
Verify this and adjust the DEVICE in the SMS page. If you have both a current cost and a Phone they can't BOTH be /dev/ttyUSB0 can they!
Given your getting something back but its looks like gibberish this smacks of a baud rate mismatch.
Have you tried microcom with a baud setting (I've just made up one here) to verify your phone will talk to you.
# microcom -s 9600 /dev/ttyUSB0
Without checking the source I'm not sure what default baud rate is used from the xap-sms.