Skip to content

Add BIP commands support

Philippe Nunes ofono 2 versions – New

Get series with b4
b4 am [email protected]

Versions newest first · linked by author and title

  1. v2 Latest11 patches 0 repliesNew
  2. v111 patches 5 repliesSuperseded

Patches in v2 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/11gprs: Add private APIs to activate/deactivate a private context for STKsrc/gprs.c src/ofono.h+246 -00 replies
2/11stk: Add support for the proactive command 'Open channel'src/stk.c+231 -00 replies
3/11stk: Add support for the proactive command 'Get channel status'src/stk.c+15 -00 replies
4/11stk: Add support for the proactive command 'Close channel'src/stk.c+73 -00 replies
5/11stk: Add 'ofono_stk_activate_cb' definitionsrc/stk.c+154 -00 replies
6/11stk: Add 'ofono_stk_deactivate_context_cb' definitionsrc/stk.c+18 -00 replies
7/11stk: Add support for the proactive command 'Receive data'src/stk.c+133 -00 replies
8/11stk: Add support for the proactive command 'Send data'src/stk.c+156 -10 replies
9/11stk: Add support of the Setup event list proactive commandsrc/stk.c+110 -100 replies
10/11stk: Add host route to route the traffic through the stk interfacesrc/stk.c+41 -00 replies
11/11gprs: Add API to set a 'detach'notification callbacksrc/gprs.c src/ofono.h+33 -00 replies

Reviews trailers per patch

No Reviewed-by, Acked-by or Tested-by trailers for v2 yet.

Read the v2 thread

Cover letter [PATCH v2 00/11] Add BIP commands support

- 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(-)