Hi,
I managed to work with Mavecom Fastrack M1206 with 'speed=115200' and init-string="AT+CMGF=0" in AT2 mode.
Sincerely,
Amin
-----Original Message-----
From: [EMAIL PROTECTED] on behalf of James Coleman
Sent: Wed 9/8/2004 12:55 PM
To: Mostafa Hadian
Cc: [EMAIL PROTECTED]
Subject: Re: Wavecom and Kannel !
This seems familiar.
Looks like kannel can't talk to port so it can't talk to modem either yet.
(no responses from modem)
Search list archives and you may find some useful help?
http://www.mail-archive.com/[EMAIL PROTECTED]/msg02480.html
Check permissions of /dev/ttyS0 and also settings (using setserial and stty)
speed of port in particular I think could be it.
You can set speed of port in kannel config file.
http://www.mail-archive.com/[EMAIL PROTECTED]/msg02135.html
do the simple things first
change the speed & test
maybe use minicom to test what settings you can talk to the modem at.
http://www.mail-archive.com/cgi-bin/htsearch?method=and&format=short&config=users_kannel_org&restrict=&exclude=&words=minicom
good luck!
James.
On Wed, Sep 08, 2004 at 12:36:17PM +0330, Mostafa Hadian wrote:
>
> Hi
> Thanks for quick reply,
> =======Config 1========
> group = smsc
> smsc-id = modem
> smsc = at
> modemtype = wavecom
> device = /dev/ttyS0
> allowed-smsc-id=modem
> ========Result 1=======
> 2004-09-08 12:22:53 [0] DEBUG: Read from modem: ''
> 2004-09-08 12:22:53 [0] DEBUG: AT: Command: AT&F
> 2004-09-08 12:23:03 [0] DEBUG: Read from modem: ''
> 2004-09-08 12:23:03 [0] DEBUG: AT: Command: AT
> 2004-09-08 12:23:13 [0] DEBUG: Read from modem: ''
> 2004-09-08 12:23:13 [0] DEBUG: AT: Command: ATE0
> 2004-09-08 12:23:23 [0] DEBUG: Read from modem: ''
> 2004-09-08 12:23:23 [0] ERROR: Failed to create Smsc wrapper
> 2004-09-08 12:23:23 [0] PANIC: Cannot start with SMSC connection
> failing
> 2004-09-08 12:23:23 [0] ERROR: Error reading from fd 20:
> 2004-09-08 12:23:23 [0] ERROR: System error 104: Connection reset by
> peer
> 2004-09-08 12:23:23 [0] ERROR: Connection to bearerbox broke.
> 2004-09-08 12:23:23 [0] INFO: Received (and handled?) 0 requests in 30
> seconds (0.00 per second)
> 2004-09-08 12:23:23 [0] INFO: Kannel smsbox terminating.
> 2004-09-08 12:23:23 [7] DEBUG: Thread 7
> (gw/heartbeat.c:heartbeat_thread) terminates.
> 2004-09-08 12:23:23 [0] DEBUG: Waiting for 2
> (gwlib/http.c:server_thread) to terminate
> 2004-09-08 12:23:23 [3] DEBUG: HTTP: No clients with requests,
> quitting.
> 2004-09-08 12:23:23 [3] DEBUG: Thread 3 (gw/smsbox.c:sendsms_thread)
> terminates.
> 2004-09-08 12:23:23 [2] DEBUG: Thread 2 (gwlib/http.c:server_thread)
> terminates.
> 2004-09-08 12:23:23 [1] DEBUG: Thread 1 (gwlib/fdset.c:poller)
> terminates.
> 2004-09-08 12:23:23 [0] DEBUG: Waiting for 4
> (gw/smsbox.c:obey_request_thread) to terminate
> 2004-09-08 12:23:23 [4] DEBUG: Thread 4
> (gw/smsbox.c:obey_request_thread) terminates.
> 2004-09-08 12:23:23 [6] DEBUG: Thread 6
> (gw/smsbox.c:http_queue_thread) terminates.
> 2004-09-08 12:23:23 [0] DEBUG: Waiting for 5
> (gw/smsbox.c:url_result_thread) to terminate
> 2004-09-08 12:23:23 [5] DEBUG: Thread 5
> (gw/smsbox.c:url_result_thread) terminates.
> **************************************************
> **************************************************
> =======config 2======
> group = smsc
> smsc-id = modem
> smsc = at2
> modemtype = wavecom
> device = /dev/ttyS0
> allowed-smsc-id=modem
> =======Results======
> 2004-09-08 12:28:25 [4] DEBUG: Started thread 8
> (gw/bb_boxc.c:function)
> 2004-09-08 12:28:25 [8] INFO: Client connected from <127.0.0.1>
> 2004-09-08 12:28:25 [8] DEBUG: Started thread 9
> (gw/bb_boxc.c:boxc_sender)
> 2004-09-08 12:28:25 [0] INFO: Connected to bearerbox at localhost port
> 13001.
> 2004-09-08 12:28:25 [0] DEBUG: Started thread 7
> (gw/heartbeat.c:heartbeat_thread)
> 2004-09-08 12:28:25 [8] DEBUG: boxc_receiver: unlocking sender
> 2004-09-08 12:28:25 [9] DEBUG: boxc_sender: sender unlocked
> 2004-09-08 12:28:29 [6] INFO: AT2[modem]: closing device
> 2004-09-08 12:28:29 [6] INFO: AT2[modem]: opening device
> 2004-09-08 12:28:29 [6] DEBUG: AT2[modem]: device opened
> 2004-09-08 12:28:29 [6] INFO: AT2[modem]: speed set to 38400
> 2004-09-08 12:28:29 [6] DEBUG: AT2[modem]: --> ^M
> 2004-09-08 12:28:31 [6] DEBUG: AT2[modem]: --> AT^M
> ////// here is a line which response from modem contains special
> characters that cannt view correctly
> 2004-09-08 12:28:31 [6] DEBUG: AT2[modem]: <-- !q! <-------- end of
> this line has special char
> //////
> 2004-09-08 12:28:31 [6] DEBUG: AT2[modem]: <-- !q!?
> 2004-09-08 12:28:35
> [6] DEBUG: AT2[modem]: --> AT^M
> 2004-09-08 12:28:35 [6] DEBUG: AT2[modem]: <-- ,
> 2004-09-08 12:28:39 [6] DEBUG: AT2[modem]: --> AT^M
> 2004-09-08 12:28:39 [6] DEBUG: AT2[modem]: <-- ,
> 2004-09-08 12:28:43 [6] INFO: AT2[modem]: closing device
> 2004-09-08 12:28:43 [6] INFO: AT2[modem]: opening device
> 2004-09-08 12:28:43 [6] DEBUG: AT2[modem]: device opened
> 2004-09-08 12:28:43 [6] INFO: AT2[modem]: speed set to 19200
> 2004-09-08 12:28:43 [6] DEBUG: AT2[modem]: --> ^M
> 2004-09-08 12:28:45 [6] DEBUG: AT2[modem]: --> AT^M
> 2004-09-08 12:28:49 [6] DEBUG: AT2[modem]: --> AT^M
> 2004-09-08 12:28:53 [6] DEBUG: AT2[modem]: --> AT^M
> 2004-09-08 12:28:57 [6] INFO: AT2[modem]: closing device
> 2004-09-08 12:28:57 [6] INFO: AT2[modem]: opening device
> 2004-09-08 12:28:57 [6] DEBUG: AT2[modem]: device opened
> 2004-09-08 12:28:57 [6] INFO: AT2[modem]: speed set to 9600
> 2004-09-08 12:28:57 [6] DEBUG: AT2[modem]: --> ^M
> 2004-09-08 12:28:59 [6] DEBUG: AT2[modem]: --> AT^M
> 2004-09-08 12:29:03 [6] DEBUG: AT2[modem]: --> AT^M
> 2004-09-08 12:29:07 [6] DEBUG: AT2[modem]: --> AT^M
> 2004-09-08 12:29:11 [6] INFO: AT2[modem]: closing device
> 2004-09-08 12:29:11 [6] INFO: AT2[modem]: cannot detect speed
> 2004-09-08 12:29:11 [6] DEBUG: Thread 6
> (gw/smsc/smsc_at2.c:at2_device_thread) terminates.
> ===========
> Regards
> Mo
> -----Original Message-----
> From: [EMAIL PROTECTED] on behalf of Alexander Malysh
> Sent: Tue 9/7/2004 6:59 PM
> To: [EMAIL PROTECTED]
> Subject: Re: Wavecom and Kannel !
> Hi,
> Mostafa Hadian wrote:
> > Hi
> >
> > As mentioned in kannel user's guide, wavecom gsm modem supported by
> > kannel, but I test two wavecom gsm modem, non of them work properly.
> In
> > fact it seems that they does not have any hardware problem. I think
> modem
> > response to AT command but it seems kannel cannt handle response
> messages.
> >
> > Is there any special model of this brand which supported by kannel ?
> >
> > any hint or suggestion?
> bearerbox debug logs please...
> >
> > Modem :
> > Wavecom, FASTTRACK GSM modem
> >
> > Some technical features
> > -Dual-band 900/1800 or 900/1900 GSM Modem
> > -Remote control by AT command ( accourding to GSM 07.07 and 07.05)
> > -SMS (MT/MO/CB)
> >
> > Regards
> > Mo
> --
> Thanks,
> Alex
Title: RE: Wavecom and Kannel !
- RE: Wavecom and Kannel ! Amin abbaspour
- Re: Wavecom and Kannel ! Miguel Costa
