Christophe Ronco
2018-10-24 15:09:13 UTC
I made a patch that fix the problem I see.
The idea is to force a detach only if:
- we are attached and powered == False
- we are roaming and RoamingAllowed = False
I have tested my use case (loosing network when switching from WCDMA to LTE)
and it is fixed.
I have tested to set RoamingAllowed to false and back to true while roaming.
Detach is forced (AT+CGATT=0) when RoamingAllowed is set to false and
AT+CGATT=1 is sent when RoamingAllowed is set back to true.
Christophe Ronco (1):
gprs: detach from network only if needed
src/gprs.c | 26 ++++++++++++++++----------
1 file changed, 16 insertions(+), 10 deletions(-)
The idea is to force a detach only if:
- we are attached and powered == False
- we are roaming and RoamingAllowed = False
I have tested my use case (loosing network when switching from WCDMA to LTE)
and it is fixed.
I have tested to set RoamingAllowed to false and back to true while roaming.
Detach is forced (AT+CGATT=0) when RoamingAllowed is set to false and
AT+CGATT=1 is sent when RoamingAllowed is set back to true.
Christophe Ronco (1):
gprs: detach from network only if needed
src/gprs.c | 26 ++++++++++++++++----------
1 file changed, 16 insertions(+), 10 deletions(-)
--
2.7.4
2.7.4