Hi! > >> I have problems with incoming SMS. ofono tries to use +CNMI=1,2,2,1,0 > >>> AT+CNMI=? > >> < +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=1,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=1,2 with text mode (not > >> PDU) messages. That works well enough for me. > > > > oFono doesn't support text mode… > > 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=1,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=4 < OK ofonod[3057]: drivers/atmodem/sms.c:at_cmgl_done() > AT+CGSMS=3 < OK < +CMT: ,38