Modem reboots when trying to activate a ConnectionContext

2011-02-18 Thread Antoine Reversat
This is on an N900 running nitdroid gingerbread with a 2.6.35.9 kernel and ofono 0.42 When I do this : dbus-send --system --print-reply --dest=org.ofono /isimodem/context2 org.ofono.ConnectionContext.SetProperty string:Active variant:boolean:true I get back : Error org.ofono.Error.Failed:

Re: Modem reboots when trying to activate a ConnectionContext

2011-02-18 Thread Antoine Reversat
If I'm not mistaken I might have found what's wrong : it seems the subblock length are wrong. Fro example in GPDS_CONTEXT_CONFIGURE_REQ the second subblock (GPDS_APN_INFO) contains a length of 0x16 which is 22 bytes. Except the length is 19 bytes. Is this right or am I missing something ? It is

Re: Modem reboots when trying to activate a ConnectionContext

2011-02-18 Thread Antoine Reversat
I removed the finale + 3 in both send_context_authenticate and link_conf_cb in drivers/isimodem/gprs-context.c which would account for filler bytes but they don't seem to be actually put int the message. This works but I don't know if it is the right fix. On Fri, Feb 18, 2011 at 1:45 PM, Antoine