Told you that AT+CNMI was tricky ;) Glad that it worked!
Regards, Alejandro On 9/1/07, Kenshi Arasaki <[EMAIL PROTECTED]> wrote: > Awesome - that worked! > > Thank you very much! > > Cheers, > Kenshi > > > On 9/1/07, preeteesh kakkar < [EMAIL PROTECTED]> wrote: > > Try setting AT+CNMI=1,1 in you confg file..! > > > > > > > > On 9/1/07, Kenshi Arasaki <[EMAIL PROTECTED] > wrote: > > > Sorry, I responded too hastily - I have setup the phone to correctly > connect to Kannel without requiring user prompting. However, looking at the > logs, I am seeing the > > > error below. Could it be because my configuration settings (the phone > settings you mentioned) are incorrect? If so, what is the best way to > troubleshoot this issue? > > > > > > Thanks again, > > > Kenshi > > > > > > 2007-09-01 15:18:18 [333] [6] DEBUG: AT2[/dev/tty.ey-SerialPort-1]: > device opened > > > 2007-09-01 15:18:18 [333] [6] INFO: AT2[/dev/tty.ey-SerialPort-1]: init > device > > > 2007-09-01 15:18:18 [333] [6] INFO: AT2[/dev/tty.ey-SerialPort-1]: speed > set to 115200 > > > 2007-09-01 15:18:18 [333] [6] DEBUG: AT2[/dev/tty.ey-SerialPort-1]: --> > ATZ^M > > > 2007-09-01 15:18:20 [333] [6] DEBUG: AT2[/dev/tty.ey-SerialPort-1]: <-- > OK > > > 2007-09-01 15:18:20 [333] [6] DEBUG: AT2[/dev/tty.ey-SerialPort-1]: --> > AT^M > > > 2007-09-01 15:18:20 [333] [6] DEBUG: AT2[/dev/tty.ey-SerialPort-1]: <-- > AT > > > 2007-09-01 15:18:20 [333] [6] DEBUG: AT2[/dev/tty.ey-SerialPort-1]: <-- > OK > > > 2007-09-01 15:18:20 [333] [6] DEBUG: AT2[/dev/tty.ey-SerialPort-1]: --> > AT&F^M > > > 2007-09-01 15:18:20 [333] [6] DEBUG: AT2[/dev/tty.ey-SerialPort-1]: <-- > AT&F > > > 2007-09-01 15:18:20 [333] [6] DEBUG: AT2[/dev/tty.ey-SerialPort-1]: <-- > OK > > > 2007-09-01 15:18:20 [333] [6] DEBUG: AT2[/dev/tty.ey-SerialPort-1]: --> > ATE0^M > > > 2007-09-01 15:18:20 [333] [6] DEBUG: AT2[/dev/tty.ey-SerialPort-1]: <-- > ATE0 > > > 2007-09-01 15:18:20 [333] [6] DEBUG: AT2[/dev/tty.ey-SerialPort-1]: <-- > OK > > > 2007-09-01 15:18:20 [333] [6] DEBUG: AT2[/dev/tty.ey-SerialPort-1]: --> > AT+IFC=2,2^M > > > 2007-09-01 15:18:20 [333] [6] DEBUG: AT2[/dev/tty.ey-SerialPort-1]: <-- > OK > > > 2007-09-01 15:18:20 [333] [6] DEBUG: AT2[/dev/tty.ey-SerialPort-1]: --> > AT+CPIN?^M > > > 2007-09-01 15:18:20 [333] [6] DEBUG: AT2[/dev/tty.ey-SerialPort-1]: <-- > +CPIN: READY > > > 2007-09-01 15:18:20 [333] [6] DEBUG: AT2[/dev/tty.ey-SerialPort-1]: <-- > OK > > > 2007-09-01 15:18:20 [333] [6] DEBUG: AT2[/dev/tty.ey-SerialPort-1]: --> > AT+CMGF=0^M > > > 2007-09-01 15:18:21 [333] [6] DEBUG: AT2[/dev/tty.ey-SerialPort-1]: <-- > OK > > > 2007-09-01 15:18:21 [333] [6] DEBUG: AT2[/dev/tty.ey-SerialPort-1]: --> > AT+CSMS=?^M > > > 2007-09-01 15:18:21 [333] [6] DEBUG: AT2[/dev/tty.ey-SerialPort-1]: <-- > +CSMS: (0) > > > 2007-09-01 15:18:21 [333] [6] DEBUG: AT2[/dev/tty.ey-SerialPort-1]: <-- > OK > > > 2007-09-01 15:18:21 [333] [6] DEBUG: AT2[/dev/tty.ey-SerialPort-1]: --> > AT+CNMI=1,2,0,1,0^M > > > 2007-09-01 15:18:21 [333] [6] DEBUG: AT2[/dev/tty.ey-SerialPort-1]: <-- > +CMS ERROR: 303 > > > 2007-09-01 15:18:21 [333] [6] ERROR: AT2[/dev/tty.ey-SerialPort-1]: CMS > ERROR: +CMS ERROR: 303 > > > 2007-09-01 15:18:21 [333] [6] ERROR: AT2[/dev/tty.ey-SerialPort-1]: CMS > ERROR: Operation not supported (303) > > > 2007-09-01 15:18:21 [333] [6] ERROR: AT2[/dev/tty.ey-SerialPort-1]: > Opening failed. Terminating > > > 2007-09-01 15:18:21 [333] [6] INFO: AT2[/dev/tty.ey-SerialPort-1]: > closing device > > > > > > > > > > > > > > > > > > On 9/1/07, Kenshi Arasaki <[EMAIL PROTECTED] > wrote: > > > > Hi Alejandro, > > > > > > > > Thanks for the information. I've paired my phone, tested it with zTerm > and have started kannel up to connect to it. However, it keeps pinging my > phone (my phone regularly prompts "Accept DUN connection with > [computer-name]?". If I don't accept in time, kannel (and mac os x) will > fail with a bluetooth serial error. I'm wondering if this is a configuration > issue, or something I will have to accept using BT? > > > > > > > > Cheers, > > > > Kenshi > > > > > > > > > > > > > > > > On 9/1/07, Alejandro Guerrieri < [EMAIL PROTECTED] > > wrote: > > > > > On MAC OS X, open a Terminal and type: > > > > > > > > > > ls /dev/tty* > > > > > > > > > > you'll see all the TTY devices recognized. Your BT modem should be > > > > > listed there (you'll have to pair it from Mac OS X first) > > > > > > > > > > Start trying to connect by using a terminal program (minicom and > zTerm > > > > > are available for Mac OS X). Only after you're able to connect by > this > > > > > "simple" means try connecting from Kannel. > > > > > > > > > > You should be able to send regular "AT" commands to the phone. > > > > > > > > > > You may have to tweak modems.conf to accomodate your particular > > > > > phone's subtleties, in particular init strings. For example, AT+CNMI > > > > > tends to vary a lot from phone to phone. > > > > > > > > > > Hope it helps, > > > > > > > > > > Alejandro Guerrieri > > > > > > > > > > On 9/1/07, Kenshi Arasaki < [EMAIL PROTECTED]> wrote: > > > > > > Hi guys, > > > > > > > > > > > > I've been playing around with kannel with a samsung-e890 phone > over the > > > > > > bluetooth "serial port" (I know, it's a weird setup, but I'm just > playing > > > > > > around with it). Has anyone tried to setup kannel with a similar > > > > > > configuration? Also, I'm not sure what the smsc or modem settings > should be > > > > > > with a samsung gsm modem - does anyone have any tips on where I > could find > > > > > > this information? > > > > > > > > > > > > Thanks, > > > > > > Kenshi > > > > > > > > > > > > > > > > > > > > > -- > > > > > Alejandro Guerrieri > > > > > Magicom > > > > > http://www.magicom-bcn.net/ > > > > > LinkedIn: http://www.linkedin.com/in/aguerrieri > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > -- Alejandro Guerrieri Magicom http://www.magicom-bcn.net/ LinkedIn: http://www.linkedin.com/in/aguerrieri
