commit | 0e7add944736e5f91cbe275fd16eeb2bb5da6eb6 | [log] [tgz] |
---|---|---|
author | Vincent Cesson <vincent.cesson@smile.fr> | Fri Apr 21 16:06:56 2017 +0200 |
committer | Denis Kenzior <denkenz@gmail.com> | Fri Apr 21 11:02:05 2017 -0500 |
tree | 87758632383935e83a170fe01ae481ddf7d82ed6 | |
parent | e52d224d9af51474a9db470ebdaddf1a74da4b94 [diff] |
atmodem: Fix SMS reception for Gemalto modems SMS reception is not working for Gemalto modems because of +CMT parsing. PDU length is the first argument of +CMT URCs in Gemalto modems. Add a switch case on vendor info to handle Gemalto case. Also handle acknowledgment, +CNMA takes only one parameter. CMT parsing is moved from at_parse_cmt() to at_cmt_notify(). This function is modified to match the style of at_cmgr_notify() and it includes a switch case for CINTERION modems.