which mobil phone for receiving SMS ?
Jens Kammann <[email protected]>
| Newsgroups | gmane.comp.mobile.kannel.devel |
|---|---|
| Organization | German Aerospace Center |
| Message-ID | <[email protected]> |
Hi, I have quite a trouble finding a phone which works with kannel for receiving SMS. Sending SMS works fine, so I assume my kannel configuration is ok. I started with a Siemens S35: This phone is only routing incoming SMS to the serial port if initialized as follows: at+csms=1;+cnmi=1,2,0,0,1 So I modified the init sequence in "smsc_at.c" and it works well for the first incoming SMS. All subsequent SMSs are sent to the phone's SIM card. I checked it with a terminal program, and to my surprise was "at+cnmi?" reset back to "1,1,0,0,1". This would mean I have to send at=cnmi=1,2,0,0,1 every time a SMS has arrived. Other Siemens phones (C35, SL45i) behave the same way. Also, I had to modify the init routine of smsc_at.c: The original codes sends "ATE0" to the phone and returns with an error if it fails. It turned out that the Siemens phones most of the time respond with "ERROR" to the first command, so I added an "AT"-Command without checking the result. With this modification, 'bearerbox' runs without communication errors. Next, I tried a "Motorola Timeport 260": It does not allow +cnmi=1,2,0,0,(0-1), and I couldn't find any combination of parameters that would route incoming SMS direct to kannel. Same with a "Sony J5". The +cnmi-command is more tolerant (not responding with ERROR), but chechking back with at+cnmi? always returns "0,0,0,0,0", causing again all incoming SMS to be stored on the phone. Last I tried a "Nokia Data card 2.0" which looks fine from the terminal (at+cnmi=1,2,0,0,0 causes all incoming SMS to be displayed in the terminal in PDU format). However, I was unable to get KANNEL run under Win2000. It would open COM5, but causes a "PANIC" while sending the AT+CPIN command. So what devices are you using ? regards, Jens