From mboxrd@z Thu Jan 1 00:00:00 1970 Content-Type: multipart/mixed; boundary="===============7590651187349036745==" MIME-Version: 1.0 From: Pavel Machek Subject: Re: Incoming sms problem on Motorola Droid 4 Date: Wed, 09 May 2018 10:18:20 +0200 Message-ID: <20180509081820.GC10423@amd> In-Reply-To: <01DCB5CE-E309-4864-A722-5E5D8723162E@holtmann.org> List-Id: To: ofono@ofono.org --===============7590651187349036745== Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: quoted-printable Hi! > >> I have problems with incoming SMS. ofono tries to use +CNMI=3D1,2,2,1,0 > >>> AT+CNMI=3D? > >> < +CNMI: (0,1,2),(0,1,2,3),(0,2),(0,1,2),(0,1) > >> < OK > >> ofonod[3070]: drivers/atmodem/sms.c:build_cnmi_string() > >> ofonod[3070]: drivers/atmodem/sms.c:construct_ack_pdu() > >>> AT+CNMI=3D1,2,2,1,0 > >> < OK > >> ofonod[3070]: src/network.c:__ofono_netreg_add_status_watch() 0x5bbbf0 > >> ... unfortunately, with that configuration no messages are comming to > >> ofono and the other phone sees them as "delievery failed". > > = > > So you're saying the modem firmware is lying about supporting all these= modes :) > > = > >> I had some luck with unicsy_demo using AT+CNMI=3D1,2 with text mode (n= ot > >> PDU) messages. That works well enough for me. > > = > > oFono doesn't support text mode=E2=80=A6 > = > and it is impossible to support in a sane and complete manner. Ok, so after some more experiments: ofonod[3057]: drivers/atmodem/sms.c:construct_ack_pdu() > AT+CNMI=3D1,2,2,1,0 < OK ofonod[3057]: src/network.c:__ofono_netreg_add_status_watch() 0x538bf0 ofonod[3057]: src/sms.c:sms_restore_tx_queue() ofonod[3057]: plugins/push-notification.c:sms_watch() registered ofonod[3057]: plugins/smart-messaging.c:sms_watch() registered > AT+CMGL=3D4 < OK ofonod[3057]: drivers/atmodem/sms.c:at_cmgl_done() > AT+CGSMS=3D3 < OK < +CMT: ,38