We are writing a ofono driver/plugin for a new Quectel modem based on a 
qualcomm chipset. This modem has a wwan interface that needs to be "connected" 
after the context is activated, partially to allow the host to run dhcp. It can 
be done either using QMI or with a special qualcomm command AT$QCRMCALL. We 
want to control it using AT, as we have found several issues with QMI. But we 
are having some trouble figuring out where this command should be called in the 
ofono state machine, at least in the LTE case where the context is 
automatically activated. If we activate the context manually, we could just add 
that call in the end of the context activation. But if we for the automatic 
case add this command when we receive PDN ACT 1 and the AT command fails (which 
right now happens sometimes), we end up in a state where we can't try again, 
because the context is already activated. So we can't really find the best way 
to do this...

Another issue I wanted to ask is that when we get an automatic context 
activation on 4G, we don't get the APN set from the network in the AT+CGDCONT? 
response. According to Quectel, this is just how their modem work. It will only 
show manually set APN from that response. Is this normal for any other modules? 
And how to solve the problem that ofono wants the APN when calling 
ofono_gprs_cid_activated when we get the CGEV saying the PDN is active?
_______________________________________________
ofono mailing list -- [email protected]
To unsubscribe send an email to [email protected]

Reply via email to