Try speed 9600. Some modems don't autobaud up to 115200 (even though this speed can be set programmatically thru' the +IPR command: it's possible NowSMS uses this command instead of autobaud). Which modem is it?


----- Original Message ----- From: "Dulmandakh" <[EMAIL PROTECTED]>
To: <[EMAIL PROTECTED]>
Sent: Thursday, October 21, 2004 5:07 AM
Subject: Gsm modem



I got doubt. When I have such GMS modem configuration

group = smsc
smsc = at2
modemtype = auto
device = /dev/ttyS0
speed = 115200 # try to use speed from modem definition
pin =  #string

then starting my kannel with debug mode it shows

2004-10-21 05:57:31 [0] INFO: Kannel bearerbox II version 1.2.1 starting
2004-10-21 05:57:31 [0] INFO: Loading store file store.file
2004-10-21 05:57:31 [0] INFO: Store-file size 0, starting to unpack
2004-10-21 05:57:31 [0] INFO: Retrieved 0 messages, non-acknowledged
messages: 02004-10-21 05:57:31 [7] DEBUG: sms_router: time to sleep
2004-10-21 05:57:31 [0] INFO: MAIN: Start-up done, entering mainloop
2004-10-21 05:57:31 [0] DEBUG: AT2[/dev/ttyS0]: start called
2004-10-21 05:57:31 [7] DEBUG: sms_router: list_len = 0
2004-10-21 05:57:31 [6] DEBUG: AT2[/dev/ttyS0]: detecting modem type
2004-10-21 05:57:31 [6] INFO: AT2[/dev/ttyS0]: opening device
2004-10-21 05:57:31 [6] DEBUG: AT2[/dev/ttyS0]: device opened
2004-10-21 05:57:31 [6] INFO: AT2[/dev/ttyS0]: speed set to 115200
2004-10-21 05:57:31 [6] DEBUG: AT2[/dev/ttyS0]: --> ^M
2004-10-21 05:57:33 [6] DEBUG: AT2[/dev/ttyS0]: --> AT^M
2004-10-21 05:57:37 [6] DEBUG: AT2[/dev/ttyS0]: --> AT&F^M
2004-10-21 05:57:41 [6] DEBUG: Thread 6
(gw/smsc/smsc_at2.c:at2_device_thread) terminates.

what this message mean, whether I can use this gms modem or not? When I
use this configuration with speed autodetect option then it checks
speeds lower than 57600, but when I checked with NowSMS then it shows
115200bps.







Reply via email to