Re: SMSC AT and PIN and quotation marks
"Pierluigi Campidoglio" <[email protected]>
| Newsgroups | gmane.comp.mobile.kannel.devel |
|---|---|
| Message-ID | <001001c4b128$61c00980$0200a8c0@PIERLUIGI> |
Sure, ETSI standards (TS 07.07 and 27.007) say the PIN is a string, so it MUST be enclosed in quotes. Some terminals (e.g., Siemens) accept ALSO non-quoted PINs; anyhow, all terminals accept the standard quoted "enter pin" command. Regards, Pierluigi. ----- Original Message ----- From: ""Pommnitz, Jörg"" <[email protected]> To: "Kannel-Devel (E-Mail)" <[email protected]> Sent: Wednesday, October 13, 2004 12:31 PM Subject: SMSC AT and PIN and quotation marks Hello all, today I tried to use a NOKIA GSM PCCard with Kannel. Unfortunately it failed to work out of the box because the Nokia card did not accept Kannels "AT+CPIN=1234" syntax. It requires the PIN to be in quotation marks, e.g. AT+CPIN="1234". I know at least one other Mobile that requires the quotation marks as well. I think the rationale behind this is that the PIN is actually a "password string" in ETSI speak and strings are supposed to be limted by quotation marks. I know a number of mobiles that accept both versions and none that breaks with quotation marks, so I would suggest to add the quotation marks to the code. Regards Jörg