Re: GPRS Attach/Detach

2018-02-19 Thread Nikolas Sepos
Hi Denis, thank you again. All the best, Nikolas. --- Nikolas Sepos DevOps Engineer @ Endocode AG niko...@endocode.com -- Endocode AG, Brückenstraße 5A, 10179 Berlin i...@endocode.com | www.endocode.com Vorstandsvorsitzender: Mirko Boehm Vorstände: Dr. Thomas Fricke, Sebastian Sucker

Re: GPRS Attach/Detach

2018-02-19 Thread Nikolas Sepos
Hello Denis, thank you very much for the reply. > Doesn't seem to have anything to do with PPP actually. Anyway, there > should be no active contexts if we're detached. Otherwise this will > confuse ConnMan, NetworkManager, etc. Aren't ConnMan & NetworkManager get the info regarding modems

Re: GPRS Attach/Detach

2018-02-14 Thread Denis Kenzior
Hi Nikolas, I had to remove the `else if (have_active_contexts(gprs) == TRUE) { ... }` block because when attached was TRUE i still had active context and i didn't want it to be deactivated. This particular logic was added in commit: 154f4aca65b3b419239be75d0def276bd7f4dc8e As the

GPRS Attach/Detach

2018-02-14 Thread Nikolas Sepos
Hello ofono maintainers, i had an issue with a modem and the GPRS attach/detach command. It was hanging my modem for 3 seconds (modem issue not ofono). So in order to work around it i implemented attach and detach as NoOp (not sending AT+CGATT=0/1) but still had to callback to ofono that i am