Here's a reworked version of my series for getting the APN for LTE default bearer.
In this version, we use 'Get LTE Attach Parameters' to query the modem as to which APN it actually negotiated with the gateway. Furthermore, the LTE atom now queries the default context and resets it before allowing the LTE default APN to be set. This ensures that the network attach is reproducible and doesn't depend on context settings that the modem may have persisted. This patch series provides the ability for QMI modems to set up the default APN for LTE. With that, it removes the string 'automatic' that was used as an APN when we previously couldn't determine what the modem was using. With this, connman functions much better across network technology transitions. Jonas Bonn (3): qmi: add LTE atom driver gobi: add LTE atom qmimodem: get LTE default bearer APN from modem Makefile.am | 1 + drivers/qmimodem/gprs.c | 162 +++++++++++++++++++++++++-- drivers/qmimodem/lte.c | 266 ++++++++++++++++++++++++++++++++++++++++++++ drivers/qmimodem/qmimodem.c | 2 + drivers/qmimodem/qmimodem.h | 3 + plugins/gobi.c | 3 + 6 files changed, 428 insertions(+), 9 deletions(-) create mode 100644 drivers/qmimodem/lte.c -- 2.14.1 _______________________________________________ ofono mailing list firstname.lastname@example.org https://lists.ofono.org/mailman/listinfo/ofono