On 04/21/2017 09:06 AM, Vincent Cesson wrote:
SMS reception is not working for Gemalto modems because of +CMT
PDU length is the first argument of +CMT URCs in Gemalto modems.
Funny, can't believe they got this wrong.
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.
drivers/atmodem/sms.c | 66 +++++++++++++++++++++++++++++----------------------
plugins/gemalto.c | 2 +-
2 files changed, 39 insertions(+), 29 deletions(-)
I broke this up into two commits to follow our patch submission
guidelines. Applied, thanks!