How to perform a APN configuration change remotely? | Thales IoT Developer Community
July 16, 2015 - 5:21pm, 9812 views
Today, to configure the APN information, we need to store it on a file (SimAndNetwork.config). If I need to change this information on a device on the field, what are the steps I need to do?
The main usecases for this is support of a new simcard (if the device has support for two simcards) or if I want to support a private AND public APNs, having the public APN as a backup.
Thanks!
I have similar challenges and think that we are looking for a similar solution.
My problem is that our modem is sold to different countries and it would need to detect correct APN autonomously. Right now the java code has a short list of known APN's (apnames [i]) and the one that in a while-loop gives "OK" for the following commands is then chosen:
atc.send("AT+CGDCONT=1,\"IP\",\"" + apnnames [i] + "\"\r")
atc.send("AT+CGACT=1,1\r")
However now I discovered, that there are operators havin APN="internet" but still requiring user/pass (such as Tmobile in Netherlands). Naturally, with the above described method, I'm then unable to detect which operator we are connected to.
What would be a really good method to obtain correct APN from the network? How complicated would it become to send desired APN information to the modem as a regular SMS and then have the modem save the information for future boot up events?
I looked into asking operator with AT+COPS but it seemed to take me towards even more complicated methods.
Hello,
@ LEOMRLIMA - Currently the remote configuration of APN is not supported. This was designed for the device with only one SIM card and in such a case when you change the SIM you also have to change the configuration file.
@JTIUSANE - I think that you are developing your own application and this is a group about SensorLogic application. So it's not the same issue here. The module itself cannot obtain this information from the network and use it. It would be possible to receive the regular SMS (if the network would send one) and save or use it but you would have to implement this in your application.
Regards,
Bartłomiej