Probably your handset does not support the "hardware handshake", and so setting enable-hwns to false will prevent the error message from being displayed and "hardware handshake" from being tried.
-- Oded Arbel m-Wise Inc. [EMAIL PROTECTED] (972)-67-340014 (972)-9-9581711 (ext: 116) ::.. Fashion is a form of ugliness so intolerable that we have to alter it every six months. -- Oscar Wilde > -----Original Message----- > From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]] > Sent: Wednesday, May 22, 2002 4:01 PM > To: [EMAIL PROTECTED] > Subject: Re: Tring to use a t28 as smsc > > > Closing this thread! > > I got kannel working using a ericsson T28 as SMSC, below is my > configuration. Starting up the bearbox still givs me an error: > > 2002-05-22 13:48:02 [6] DEBUG: AT2[/dev/ttyS0]: --> AT+IFC=0,0^M > 2002-05-22 13:48:02 [6] DEBUG: AT2[/dev/ttyS0]: <-- ERROR > 2002-05-22 13:48:02 [6] INFO: AT2[/dev/ttyS0]: cannot enable > hardware handshake > > I guess I have to set the 'enable-hwhs' in modems.conf. But I > can´t find > any working solution for this. > > Anyone interested? > See the T28 AT command reference for more info: > http://mobileinternet.ericsson.se/emi_manuals/T28/ATCommand/T2 > 8_R1A.pdf > > Regard Tobias. > > > <smskannel.conf> > # SMSC CONNECTIONS FOR ERICSSON T28 > group = smsc > smsc = at2 > modemtype = ericsson_t28 > device = /dev/ttyS0 > speed = 9600 > pin = 1915 > include = /home/tobiash/kannel/gateway-dev/doc/modems.conf > </smskannel.conf> > > <modems.conf> > group = modems > id = ericsson_t28 > name = "Ericsson T28" > detect-string = "T28" > init-string = "AT+CNMI=3,3" > keepalive-cmd = "AT+CBC;+CSQ" > broken = true > </modems.conf> > > > Oded Arbel wrote: > > the modems.conf file does not have an ericson_t28 setup, but it does > > have an ericson_t68 setup, which I don't think can be far > off. try to > > use that configuration and see if you can send and receive SMs. > > > > But your setup and logs look ok - it seems that your modem > is ready to > > send and receive, even if I don't like your CNMI setting - I would > > suggest you look it up in your manual again and check the > examples in > > modems.conf. > > > > To send messages you need to call the smsbox with the > sendsms interface > > in any of the supported methods (GET, POST and recently XML-RPC). to > > receive messages you'll need to setup some sort of > sms-service section > > in your configuration. > > > > -- > > Oded Arbel > > m-Wise Inc. > > [EMAIL PROTECTED] > > (972)-67-340014 > > (972)-9-9581711 (ext: 116) > > > > ::.. > > Ah yes. Technology is introduced, utilized, depended upon, obsolete, > > standardized, > > and understood, in that order. (To paraphrase someone I > can't remember.) > > > > -- Martin Fouts, [EMAIL PROTECTED] > > > > > > > >>-----Original Message----- > >>From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]] > >>Sent: Tuesday, May 21, 2002 7:08 PM > >>To: [EMAIL PROTECTED] > >>Subject: Tring to use a t28 as smsc > >> > >> > >>Hello everybody! > >> > >>I´m tring to set up a linux box running kannel(using cvs > >>version) using a > >>ericsson t28 as SMSC. So far I succeded in geting the > >>bearbox, smsbox and > >>fakesmsc running. > >> > >>Since I couldn´t find any examples of how to set up a > >>ericsson t28 as SMSC > >>I tried to find out what AT commands that are needed to get > the phone > >>up´n´running. I failed in doing this, when I´m not familiar > >>to AT commans > >>at all. > >> > >>Has someone set up a t28 as SMSC, if so, how? > >>Can someone explain to me what AT command kannel needs to > >>send to the t28 > >>phone? > >> > >>I tried use the reference below without any luck: t28 AT > >>command reference: > >>http://mobileinternet.ericsson.se/emi_manuals/T28/ATCommand/T2 > >>8_R1A.pdf > >> > >>Below is my 'trail and error' configuration. The log says > >>'cannot enable > >>hardware handshake' but still give me 'AT SMSC successfully opened'. > >>Is the phone operational? > >>Can I start to send/read SMS to/from the phone now and how is > >>this done? > >>(Link to documentation is enough, thanks) > >> > >>Thanks in advance! > >>Regards Tobias > >> > >> > >><smskannel.conf> > >>group = smsc > >>smsc = at2 > >>modemtype = ericsson_t28 > >>device = /dev/ttyS0 > >>speed = 9600 > >>pin = 1915 > >>include = /home/tobiash/kannel/gateway-dev/doc/modems.conf > >></smskannel.conf> > >> > >> > >><modems.conf> > >>group = modems > >>id = ericsson_t28 > >>name = "Ericsson T28" > >>detect-string = "T28" > >>init-string = "AT+CNMI=3,1,2,0" > >>keepalive-cmd = "AT+CBC;+CSQ" > >>broken = true > >></modems.conf> > >> > >>output: > >> > >>tobiash@anakin:~/kannel/gateway-dev > gw/bearerbox gw/smskannel.conf > >>2002-05-21 16:47:22 [0] INFO: Debug_lvl = -1, log_file = > >><none>, log_lvl = 0 > >>2002-05-21 16:47:22 [0] DEBUG: Loading include file > >>`/home/tobiash/kannel/gateway-dev/doc/modems.conf' (on line 54 of > >>file gw/smskannel.conf). > >>2002-05-21 16:47:22 [0] WARNING: DLR: using default > >>'internal' for storage > >>type. > >>2002-05-21 16:47:22 [0] DEBUG: Kannel bearerbox version `cvs- > >>2000501'. > >>System Linux, release 2.4.4-4GB, version #1 Fri May 18 > >>14:11:12 GMT 2001, > >>machine i686. > >>Hostname anakin.interia.se, IP 212.73.4.227. > >>Libxml version 20421. > >>Using checking malloc. > >> > >>2002-05-21 16:47:22 [0] INFO: > ---------------------------------------- > >>2002-05-21 16:47:22 [0] INFO: Kannel bearerbox II version > >>cvs- 2000501 starting > >>2002-05-21 16:47:22 [0] INFO: SSL not supported, no SSL > >>initialization done. > >>2002-05-21 16:47:22 [0] DEBUG: HTTP: Opening server at port 13000. > >>2002-05-21 16:47:22 [0] DEBUG: Started thread 1 > (gwlib/fdset.c:poller) > >>2002-05-21 16:47:22 [0] DEBUG: Started thread 2 > >>(gwlib/http.c:server_thread) > >>2002-05-21 16:47:22 [0] DEBUG: Started thread 3 > >>(gw/bb_http.c:httpadmin_run) > >>2002-05-21 16:47:22 [0] DEBUG: starting smsbox connection module > >>2002-05-21 16:47:22 [0] DEBUG: Started thread 4 > >>(gw/bb_boxc.c:smsboxc_run) > >>2002-05-21 16:47:22 [0] INFO: AT2[/dev/ttyS0]: configuration shows > >>modemtype <ericsson_t28> > >>2002-05-21 16:47:22 [0] DEBUG: AT2[/dev/ttyS0]: Reading modem > >>definitions > >>from <gw/smskannel.conf> > >>2002-05-21 16:47:22 [0] DEBUG: Loading include file > >>`/home/tobiash/kannel/gateway-dev/doc/modems.conf' (on line 54 of > >>file gw/smskannel.conf). > >>2002-05-21 16:47:22 [0] DEBUG: AT2[/dev/ttyS0]: Found <11> > >>modems in config > >>2002-05-21 16:47:22 [0] INFO: AT2[/dev/ttyS0]: read modem > >>definition for > >><Ericsson T28> > >>2002-05-21 16:47:22 [0] DEBUG: Started thread 5 > >>(gw/smsc_at2.c:at2_device_thread) > >>2002-05-21 16:47:22 [0] DEBUG: Started thread 6 > >>(gw/bb_smscconn.c:sms_router) > >>2002-05-21 16:47:22 [0] INFO: MAIN: Start-up done, entering mainloop > >>2002-05-21 16:47:22 [5] INFO: AT2[/dev/ttyS0]: opening device > >>2002-05-21 16:47:22 [5] DEBUG: AT2[/dev/ttyS0]: device opened > >>2002-05-21 16:47:22 [5] DEBUG: AT2[/dev/ttyS0]: device opened > >>2002-05-21 16:47:22 [5] INFO: AT2[/dev/ttyS0]: init device > >>2002-05-21 16:47:22 [5] INFO: AT2[/dev/ttyS0]: speed set to 9600 > >>2002-05-21 16:47:22 [5] DEBUG: AT2[/dev/ttyS0]: --> AT^M > >>2002-05-21 16:47:22 [0] DEBUG: AT2[/dev/ttyS0]: start called > >>2002-05-21 16:47:22 [6] DEBUG: sms_router: time to sleep > >>2002-05-21 16:47:22 [6] DEBUG: sms_router: list_len = 0 > >>2002-05-21 16:47:26 [5] DEBUG: AT2[/dev/ttyS0]: --> AT^M > >>2002-05-21 16:47:26 [5] DEBUG: AT2[/dev/ttyS0]: <-- AT > >>2002-05-21 16:47:26 [5] DEBUG: AT2[/dev/ttyS0]: <-- OK > >>2002-05-21 16:47:26 [5] DEBUG: AT2[/dev/ttyS0]: --> AT&F^M > >>2002-05-21 16:47:26 [5] DEBUG: AT2[/dev/ttyS0]: <-- AT&F > >>2002-05-21 16:47:26 [5] DEBUG: AT2[/dev/ttyS0]: <-- OK > >>2002-05-21 16:47:26 [5] DEBUG: AT2[/dev/ttyS0]: --> ATE0^M > >>2002-05-21 16:47:26 [5] DEBUG: AT2[/dev/ttyS0]: <-- ATE0 > >>2002-05-21 16:47:26 [5] DEBUG: AT2[/dev/ttyS0]: <-- OK > >>2002-05-21 16:47:26 [5] DEBUG: AT2[/dev/ttyS0]: --> AT+IFC=2,2^M > >>2002-05-21 16:47:26 [5] DEBUG: AT2[/dev/ttyS0]: <-- ERROR > >>2002-05-21 16:47:26 [5] INFO: AT2[/dev/ttyS0]: cannot enable > >>hardware handshake > >>2002-05-21 16:47:26 [5] DEBUG: AT2[/dev/ttyS0]: --> AT+CPIN?^M > >>2002-05-21 16:47:26 [5] DEBUG: AT2[/dev/ttyS0]: <-- +CPIN: READY > >>2002-05-21 16:47:26 [5] DEBUG: AT2[/dev/ttyS0]: <-- OK > >>2002-05-21 16:47:26 [5] DEBUG: AT2[/dev/ttyS0]: --> AT+CMGF=0^M > >>2002-05-21 16:47:26 [5] DEBUG: AT2[/dev/ttyS0]: <-- OK > >>2002-05-21 16:47:26 [5] DEBUG: AT2[/dev/ttyS0]: --> AT+CSMS=?^M > >>2002-05-21 16:47:27 [5] DEBUG: AT2[/dev/ttyS0]: <-- +CSMS: (0) > >>2002-05-21 16:47:27 [5] DEBUG: AT2[/dev/ttyS0]: <-- OK > >>2002-05-21 16:47:27 [5] DEBUG: AT2[/dev/ttyS0]: --> > AT+CNMI=3,1,2,0^M > >>2002-05-21 16:47:27 [5] DEBUG: AT2[/dev/ttyS0]: <-- OK > >>2002-05-21 16:47:27 [5] INFO: AT2[/dev/ttyS0]: AT SMSC > >>successfully opened. > >> > >> > >> > >> > >> > >> > >>T28 AT command reference: > >>http://mobileinternet.ericsson.se/emi_manuals/T28/ATCommand/T2 > >>8_R1A.pdf > >> > >> > >> > > > > > > > >