aboutsummaryrefslogtreecommitdiff
path: root/cli/mmcli.c
diff options
context:
space:
mode:
authorSven Schwermer <sven.schwermer@disruptive-technologies.com>2022-08-05 11:20:08 +0200
committerAleksander Morgado <aleksandermj@chromium.org>2022-10-17 09:35:30 +0000
commite5bb33a46369f12ef97b766079fa61b7d4a2f9f8 (patch)
treed5c6bc2582e0fdf215771a87370cf27530679794 /cli/mmcli.c
parent04ed52a74cf9d24c5deacbb118ec985375ac4a9b (diff)
fibocom: Monitor connection status using +GTRNDIS?
In situations where the configured APN for the initial EPS bearer (cid=1) does not match the APN for the actual connection, ModemManager sets up a context (cid!=1) with the proper APN when connecting. If the APN for the initial EPS bearer was not valid, the SIM may fall back to a default one. If that default matches the APN for the proper connection, the initial EPS bearer is re-used for the actual connection. In that scenario, +CGACT? will report deactivated for the actual connection context (cid!=1). ModemManager subsequently reports the connection as disconnected. +GTRNDIS? will always reflect the correct state for the context ID we used to set up the ECM connection. Hence, it makes sense to use this command to assess the connection status. This has been tested with the MA510-GL modem module. Signed-off-by: Sven Schwermer <sven.schwermer@disruptive-technologies.com>
Diffstat (limited to 'cli/mmcli.c')
0 files changed, 0 insertions, 0 deletions