mirror of git://git.sysmocom.de/ofono
Enable SMS support for Novatel based devices
The important part here is that the SMS atom needs to be on the second AT command port since the main port doesn't handle sending correctly. It never returns any success or error after the submission of the PDU.
This commit is contained in:
parent
23d97f2c0a
commit
9b6ec94b21
|
@ -37,6 +37,7 @@
|
|||
#include <ofono/devinfo.h>
|
||||
#include <ofono/netreg.h>
|
||||
#include <ofono/sim.h>
|
||||
#include <ofono/sms.h>
|
||||
#include <ofono/gprs.h>
|
||||
#include <ofono/gprs-context.h>
|
||||
#include <ofono/log.h>
|
||||
|
@ -293,6 +294,8 @@ static void novatel_post_sim(struct ofono_modem *modem)
|
|||
g_at_chat_send(data->gprs, "ATE0 +CMEE=1", none_prefix,
|
||||
NULL, NULL, NULL);
|
||||
|
||||
ofono_sms_create(modem, OFONO_VENDOR_NOVATEL, "atmodem", data->gprs);
|
||||
|
||||
gprs = ofono_gprs_create(modem, 0, "atmodem", data->gprs);
|
||||
gc = ofono_gprs_context_create(modem, 0, "atmodem", data->gprs);
|
||||
|
||||
|
|
Loading…
Reference in New Issue