How to Configure APN Setting for diiferent sim?

How Auto APNs work in mobile phones. can we use a similar approach in Arduino and GSM modules? We need different APNs for different SIM networks so each time modifying the code not possible. Thanx : )

there won't be any magic, you need to hardcode that into the device.

  • detect the SIM card and infer the associated APN info.
  • use your GSM module's AT command (something like AT+CGDCONT) to configure the APN
1 Like

Thanx.
Get Some solutions like

  1. Use web-based provisioning to input the APN.
  2. Storing APN in memory.
  3. No need for an APN to be specified in the code, As SIM cards have some memory to hold data. so whenever the SIM is activated by a mobile phone or something it stores that into that. So just keep that field empty and put it in the module.

This topic was automatically closed 180 days after the last reply. New replies are no longer allowed.