broadband-modem: enable and handle +CGEV indications
1 unresolved thread
1 unresolved thread
Compare changes
Files
4- Aleksander Morgado authored
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.
+ 157
− 0
@@ -2045,6 +2045,161 @@ test_cind_response_moto_v3m (void *f, gpointer d)
@@ -3999,6 +4154,8 @@ int main (int argc, char **argv)