I checked the device at /dev/ttyS0 and it's accessed type changes once
the bearerbox starts, but never again.
Shouldn't I get more than AT2[gc83]: --> ^M ?
Does anyone know what AT2[gc83]: --> ^M means?
If i change from /dev/ttyS0 to /dev/ttyS1 it errors, so something must
be working with the current setup.
Could it be bad init strings? If anyone has the AT command set for the
GC83 I'm interested in researching it.
I also tried the GC83 firmware update, but had the same results.
John Lauck wrote:
I'm having trouble connecting to my smsc (sony ericsson gc83 pcmcia
card). It's mounted at /dev/ttyS0 according to dmesg, so I know it's
there.
I also know the card and sim work. It works in the sony ericsson windows
software without any problems for sending and receiving sms.
I keep tweaking the kannel.conf but haven't gotten much feedback from
the modem.
A snippet of my kannel.conf is below.
Kannel status shows:
gc83 AT2[gc83] (connecting, rcvd 0, sent 0, failed 0, queued 0 msgs)
My smsc.log shows:
2006-09-13 11:18:54 [3510] [6] DEBUG: AT2[gc83]: detecting modem speed.
2006-09-13 11:18:54 [3510] [6] INFO: AT2[gc83]: opening device
2006-09-13 11:18:54 [3510] [6] DEBUG: AT2[gc83]: device opened
2006-09-13 11:18:55 [3510] [6] DEBUG: AT2[gc83]: device opened
2006-09-13 11:18:55 [3510] [6] INFO: AT2[gc83]: speed set to 115200
2006-09-13 11:18:55 [3510] [6] DEBUG: AT2[gc83]: --> ^M
2006-09-13 11:21:40 [3566] [6] INFO: AT2[gc83]: trying to use speed
<9600> from modem definition
2006-09-13 11:21:40 [3566] [6] INFO: AT2[gc83]: opening device
2006-09-13 11:21:40 [3566] [6] DEBUG: AT2[gc83]: device opened
2006-09-13 11:21:40 [3566] [6] DEBUG: AT2[gc83]: device opened
2006-09-13 11:21:40 [3566] [6] INFO: AT2[gc83]: speed set to 9600
2006-09-13 11:21:40 [3566] [6] DEBUG: AT2[gc83]: --> ^M
2006-09-13 11:23:01 [3588] [6] INFO: AT2[gc83]: trying to use speed
<9600> from modem definition
2006-09-13 11:23:01 [3588] [6] INFO: AT2[gc83]: opening device
2006-09-13 11:23:01 [3588] [6] DEBUG: AT2[gc83]: device opened
2006-09-13 11:23:01 [3588] [6] DEBUG: AT2[gc83]: device opened
2006-09-13 11:23:01 [3588] [6] INFO: AT2[gc83]: speed set to 9600
2006-09-13 11:23:01 [3588] [6] DEBUG: AT2[gc83]: --> ^M
kannel.conf:
# SMSC CONNECTIONS
group = smsc
smsc = at
smsc-id = gc83
port = 10000
connect-allow-ip = "127.0.0.1;10.80.4.*"
modemtype = auto
device = /dev/ttyS0
#preferred-smsc-id = gc83
#allowed-smsc-id = gc83
log-file = "/var/log/kannel/smsc.log"
log-level = 0
keepalive = 5
group = modems
#broken = true
detect-string = "gc83"
#detect-string2 = "ericsson"
name = "Ericsson GC83"
id = gc83
#init-string = "abcdefghijklmnopqrstuvwxyz"
#speed = 19200
#init-string = "AT+CFUN=1+CNMI=2,2,0,1,1"
#reset-string = "AT+CFUN=1"
#need-sleep = true
#enable-mms = true
#init-string = "AT+CNMI=3,3"
#keepalive-cmd = "AT+CBC;+CSQ"
# SMSBOX SETUP
group = smsbox
bearerbox-host = localhost
sendsms-port = 13013
global-sender = 1234567890
access-log = "/var/log/kannel/access.log"
log-file = "/var/log/kannel/smsbox.log"
log-level = 0
sendsms-chars = "0123456789 "
reply-couldnotfetch = "You did something right and something wrong"
reply-emptymessage = "You shouldn't get empty messages"
http-request-retry = 0