I am using smsc_at with a NOKIA Premicell. Thoughth to give a try on smsc_at2. What I was getting was something like:
2002-02-20 01:20:24 [6] DEBUG: AT2[/dev/ttyS1]: <-- +CSMS: (0) 2002-02-20 01:20:24 [6] DEBUG: AT2[/dev/ttyS1]: <-- OK 2002-02-20 01:20:24 [6] INFO: AT2[/dev/ttyS1]: Phase 2+ is supported 2002-02-20 01:20:24 [6] DEBUG: AT2[/dev/ttyS1]: --> AT+CSMS=1^M 2002-02-20 01:20:24 [6] DEBUG: AT2[/dev/ttyS1]: <-- ERROR I looke my AT command reference and the code and think that I should not get Phase 2+ is supported I think that passing octstr_case_compare to list_search, makes it to search for at least one non matching list element, insteat for one matching. So I suggest changing it to octstr_item_match, since we care only for digits. the diff with todays cvs is attached, in case I am not wrong. By the way with the proposed changes my Premicell works fine.
smsc_at2.c.diff
Description: Binary data
