broadband-modem: enable and handle +CGEV indications
The +CGEV indications allow us to get notified of packet domain events like network-initiated or ME-initiated disconnections on specific connected contexts, as well as full PS detach events (all contexts disconnected). If the modem supports these indications, we will enable them with +CGEREP and will then process them when they are emitted by the modem. If a full PS detach event happens, we will explicitly disconnect all connected bearers. If a deactivation inidication is received for a single context, we will look for the associated bearer by CID and explicitly disconnect it.
parent
73df7087
No related branches found
No related tags found
Showing
- src/mm-broadband-modem.c 439 additions, 109 deletionssrc/mm-broadband-modem.c
- src/mm-modem-helpers.c 315 additions, 0 deletionssrc/mm-modem-helpers.c
- src/mm-modem-helpers.h 42 additions, 0 deletionssrc/mm-modem-helpers.h
- src/tests/test-modem-helpers.c 157 additions, 0 deletionssrc/tests/test-modem-helpers.c
Loading
Please register or sign in to comment