Hi Anthony, > Actually, I have always troubles with T-Mobile. I think I need to fix > this provisioning issue. How can I do this ? I tried to see where this > provisioning in the source code but I was quickly lost. > plugins/provision.c > Bellow, you could see some troubles I have. > > scenario: > * enable modem power ; > * enter pin code ; > * set APN ; > * and tried to enable GPRS. > > ------------------------------------------------------------------ > [...] > ofonod[14111]: Data: > AT+CREG?\r > ofonod[14111]: Data: < \r\n+CREG: 2,1, 889D, 13EB0D\r\n\r\nOK\r\n > ofonod[14111]: src/network.c:ofono_netreg_status_notify() /simcom_1 > status 1 tech -1 > ofonod[14111]: src/cbs.c:cbs_location_changed() 1, -1, -1, -1, (null)(null) > ofonod[14111]: src/gprs.c:netreg_status_changed() 1 > ofonod[14111]: Data: > AT+CGATT=0\r > ofonod[14111]: Data: < \r\n+CGREG: 0\r\n\r\nOK\r\n > ofonod[14111]: Data: < \r\n+CGEV: ME DETACH\r\n > ofonod[14111]: src/gprs.c:ofono_gprs_status_notify() /simcom_1 status 0 > ofonod[14111]: src/gprs.c:gprs_attach_callback() /simcom_1 error = 0 > ofonod[14111]: src/gprs.c:ofono_gprs_detached_notify() /simcom_1 > ofonod[14111]: Data: > AT+COPS=3,2\r > ------------------------------------------------------------------ > Is the modem auto-attaching to GPRS by default? You might want to turn off that behavior if posible. > First, there are no answer from modem about "AT+COPS=3,2" command. Looks like a firmware bug > > And next, the "+CGEV: ME DETACH" disturb me. In the documentation of the > SIMCOM module, I see : > > "The mobile equipment has forced a Packet Domain detach. This implies > that all active contexts have been deactivated. These are not reported > separately." That is the result of AT+CGATT=0 command. > > I tried to re-attach with "Active" command but it fails : > > ------------------------------------------------------------------ > # dbus-send --system --type=method_call --print-reply --dest=org.ofono > /simcom_1/context1 org.ofono.ConnectionContext.SetProperty > string:"Active" variant:boolean:true > Error org.ofono.Error.NotAttached: GPRS is not attached > ------------------------------------------------------------------ > > In ConnectionManager, I see the "Attached" variable is "False". > Try toggling the ConnectionManager Powered property off and then on. Also a fuller log might be helpful. > Can you help me ? > > Regards, > Anthony. Regards, -Denis