- Remove the list of private context as we don't expect to activate multiple
contexts from STK or to activate a context outside of STK.
- Replace the context id argument in the GPRS private APIs by the GPRS atom
data. This way, the global variable used to store the STK private context is
checked against the solicited GPRS atom.
It prevents concurrent access if we have multiple STK enabled modems in the
system.
- Introduce an anonymous structure in ofono_stk structure to group all the BIP
parameters
- Release the STK context when the associated GPRS context is unregistered or
when the STK context is deactivated after a network forced detach.
Philippe Nunes (11):
gprs: Add private APIs to activate/deactivate a private context for
STK
stk: Add support for the proactive command 'Open channel'
stk: Add support for the proactive command 'Get channel status'
stk: Add support for the proactive command 'Close channel'
stk: Add 'ofono_stk_activate_cb' definition
stk: Add 'ofono_stk_deactivate_context_cb' definition
stk: Add support for the proactive command 'Receive data'
stk: Add support for the proactive command 'Send data'
stk: Add support of the Setup event list proactive command
stk: Add host route to route the traffic through the stk interface
gprs: Add API to set a 'detach'notification callback
src/gprs.c | 256 +++++++++++++++++
src/ofono.h | 23 ++
src/stk.c | 920 +++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
3 files changed, 1199 insertions(+), 0 deletions(-)
_______________________________________________
ofono mailing list
[email protected]
http://lists.ofono.org/listinfo/ofono