Hi Denis and ofono guys, I hope you enjoy Easter celebration ! > > Actually, this is peculiar, the CRSM command is not failing and the > result is fine. Just that it is empty. Perhaps you need to quirk the > CRSM behavior in this case. Does adding your modem to the list in > at_sim_read_info() > > /* Maximum possible length */ > len += sprintf(buf + len, ",0,0,255"); > break; > > make it work properly? I added the quirk as above and Yes ! I've got values now: ------------------------------------- ofonod[11230]: Data: > AT+CRSM=178,28614,1,4,8\r ofonod[11230]: Data: < \r\n+CRSM: 144,0,"62F2100000FFFE01"\r\n\r\nOK\r\n ofonod[11230]: drivers/atmodem/sim.c:at_crsm_read_cb() crsm_read_cb: 90, 00, 8 ------------------------------------- and SMS work ! Actually, It works if GPRS isn't Active... If I enable GPRS, It fails with message CMS ERROR: 500 (Unknown error): ------------------------------------- ofonod[11230]: Data: > AT+CMGS=49\r ofonod[11230]: Data: < \r\n> ofonod[11230]: Data: > 0011000B911487584414F70000A728C8329BFD0699E5EF368858AED3C76866D84D06DDD3743468DA9C82DEF6B21C74844AA7 ofonod[11230]: Data: < \r\n ofonod[11230]: Data: < \r\n+CMS ERROR: 500\r\n ofonod[11230]: src/sms.c:tx_finished() tx_finished 0xfecf8 ofonod[11230]: src/sms.c:sms_tx_queue_remove_entry() 0xfecf8 ------------------------------------- So, I guess when I enable GPRS, my GSM module wants to send SMS over GPRS... And maybe, I can't because ofono always fails on provisioning: ------------------------------------- ofonod[7135]: src/gprs-provision.c:__ofono_gprs_provision_get_settings() Calling provisioning plugin 'Provisioning' ofonod[7135]: plugins/provision.c:provision_get_settings() Provisioning for MCC 262, MNC 01, SPN 'Telekom.de' ofonod[7135]: /usr/share/mobile-broadband-provider-info/serviceproviders.xml:1562 Duplicate context detected ofonod[7135]: Provisioning failed ------------------------------------- I read the source code which can explain the issue. I guess the problem isn't really a problem. There 2 apn tags in serviceproviders.xml for T-Mobile. This is why I've got "Duplicate context detected" message. As I understand, the provision plugin wants only 1 apn (allow_duplicates is FALSE) by MCC/MNC. Why ? There are many others operators (according to serviceproviders.xml) who have more than 1 apn. So, for these, the provisioning always fails ? Maybe I must write an another provision plugin which supports multiples apn entries ? It's tricky to implement this ? Regards, Anthony.