# EM7565 Auto APN

**URL:** <https://forum.sierrawireless.com/t/em7565-auto-apn/31695>\
**Category:** Uncategorized\
**Created:** [February 29, 2024, 8:12am UTC](https://forum.sierrawireless.com/t/em7565-auto-apn/31695 "2024-02-29T08:12:09Z")\
**Posts on this page:** 7\
**Page:** 1

<div class="post-metadata">

**Author:** ![pfrancisco](https://avatars.discourse-cdn.com/v4/letter/p/ac8455/32.png) [@pfrancisco](https://forum.sierrawireless.com/u/pfrancisco)\
**Post date:** [February 29, 2024, 8:12am UTC](https://forum.sierrawireless.com/t/em7565-auto-apn/31695/1 "2024-02-29T08:12:09Z")

</div>

Dear all,

When leaving blank the APN setting in a EM7565, the module will use the Auto APN. Is there a list of carriers where the module can automatically get the APN config?

Thanks!

---

<div class="post-metadata">

**Author:** ![jerdung](https://avatars.discourse-cdn.com/v4/letter/j/82dd89/32.png) [@jerdung](https://forum.sierrawireless.com/u/jerdung)\
**Post date:** [February 29, 2024, 9:46am UTC](https://forum.sierrawireless.com/t/em7565-auto-apn/31695/2 "2024-02-29T09:46:13Z")

</div>

Hi @pfrancisco,

Which network provider’s SIM are you using? What firmware is EM7565 currently running?  
Please provide me with the output:

```auto
ATI9
AT!IMPREF?
AT!IMAGE?
AT+CGDCONT?

```

For the EM7565, there will be corresponding firmware packages for each carrier. If you are using a SIM from a network provider that does not have firmware specifically for that network provider, please use GENERIC firmware instead.  
Firmware link for EM7565: [https://source.sierrawireless.com/resources/airprime/minicard/75xx/em\_mc75xx-approved-fw-packages/#sthash.D1ZjmpCU.dpbs](https://source.sierrawireless.com/resources/airprime/minicard/75xx/em_mc75xx-approved-fw-packages/#sthash.D1ZjmpCU.dpbs)

Thanks,

---

<div class="post-metadata">

**Author:** ![damendoeira](https://avatars.discourse-cdn.com/v4/letter/d/57b2e6/32.png) [@damendoeira](https://forum.sierrawireless.com/u/damendoeira)\
**Post date:** [March 8, 2024, 6:25pm UTC](https://forum.sierrawireless.com/t/em7565-auto-apn/31695/3 "2024-03-08T18:25:31Z")

</div>

Hi @jerdung

Output of asked commands. No SIM is inserted, but what’s beeing asked is if there’s a list of which APNs are ‘known’ per carrier, so that Auto APN works.  
In alternative, what are the requirements from the carrier side to make Auto APN work?

I added AT+COPS=? to provide a list of visible carriers - mind you no SIM inserted.

```auto
ATI9
Manufacturer: Sierra Wireless, Incorporated
Model: EM7565
Revision: SWI9X50C_01.14.22.00 ba8ef1 jenkins 2022/11/11 09:59:48
IMEI: 353533100827867
IMEI SV: 15
FSN: UF007391460210
+GCAP: +CGSM,+DS,+ES

OK

AT!IMPREF: 
 preferred fw version: 00.00.00.00
 preferred carrier name: AUTO-SIM
 preferred config name: AUTO-SIM_000.000_000
 preferred subpri index: 000
 current fw version: 01.14.22.00
 current carrier name: GENERIC
 current config name: GENERIC_002.057_000
 current subpri index: 000

OK

AT!IMAGE?
TYPE SLOT STATUS LRU FAILURES UNIQUE_ID BUILD_ID
FW 1 GOOD 172 0 0 ?_? 01.08.04.00_?
FW 2 GOOD 173 0 0 ?_? 01.14.22.00_?
FW 3 GOOD 1 0 0 ?_? 01.09.04.00_?
FW 4 EMPTY 0 0 0                  
Max FW images: 4
Active FW image is at slot 2

TYPE SLOT STATUS LRU FAILURES UNIQUE_ID BUILD_ID
PRI FF GOOD 0 0 0 002.008_004 01.07.02.00_ATT
PRI FF GOOD 0 0 0 002.015_000 01.09.04.00_DOCOMO
OK

AT+CGDCONT?
+CGDCONT: 1,"IPV4V6","","0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0",0,0,0,0

OK

AT+COPS=?
+COPS: (1,"NOS","NOS","26803",2),(1,"MEO","MEO","26806",7),(1,"NOS","NOS","26803",7),(1,"vodafone P","voda P","26801",7),(1,"vodafone P","voda P","26801",2),,(0,1,2,3,4),(0,1,2)

OK

```

---

<div class="post-metadata">

**Author:** ![rfbranco](https://avatars.discourse-cdn.com/v4/letter/r/9e8a1a/32.png) [@rfbranco](https://forum.sierrawireless.com/u/rfbranco)\
**Post date:** [March 12, 2024, 9:44am UTC](https://forum.sierrawireless.com/t/em7565-auto-apn/31695/4 "2024-03-12T09:44:42Z")

</div>

Hi @jerdung,

Did you had the opportunity to look at the output that @damendoeira sent? Can you provide us with the list of carriers that are supported and requires no APN configuration? Also can you please detail how this Auto APN feature works?

Thanks in advance,  
Rui Branco

---

<div class="post-metadata">

**Author:** ![jerdung](https://avatars.discourse-cdn.com/v4/letter/j/82dd89/32.png) [@jerdung](https://forum.sierrawireless.com/u/jerdung)\
**Post date:** [March 14, 2024, 11:46am UTC](https://forum.sierrawireless.com/t/em7565-auto-apn/31695/5 "2024-03-14T11:46:35Z")

</div>

Hi @pfrancisco, @damendoeira and @rfbranco,

In fact, there is no Auto APN feature. Sierra simply provides carrier firmware that has configurations for the SIM cards of the corresponding carriers.

Therefore, when you insert a SIM card from a carrier into a device running the firmware of that carrier, the module will automatically load the APN configuration.

And only the following carrier firmware is specifically listed on the source page, please refer to: [https://source.sierrawireless.com/resources/airprime/minicard/75xx/em\_mc75xx-approved-fw-packages/#sthash.ROO5QGaH.dpbs](https://source.sierrawireless.com/resources/airprime/minicard/75xx/em_mc75xx-approved-fw-packages/#sthash.ROO5QGaH.dpbs)

Thanks,

---

<div class="post-metadata">

**Author:** ![rfbranco](https://avatars.discourse-cdn.com/v4/letter/r/9e8a1a/32.png) [@rfbranco](https://forum.sierrawireless.com/u/rfbranco)\
**Post date:** [March 15, 2024, 3:30pm UTC](https://forum.sierrawireless.com/t/em7565-auto-apn/31695/6 "2024-03-15T15:30:03Z")

</div>

Hi jerdung,

Thanks for your reply. The scenario is a little more complicated because we have not one but more that 100 sites where we will use these modems spread around the globe so what we were hoping was to have a single firmware version that could be use in all of them (or a version that supports most of the carriers). We were hoping that, like the android ([https://android.googlesource.com/device/sample/+/main/etc/apns-full-conf.xml](https://android.googlesource.com/device/sample/+/main/etc/apns-full-conf.xml)) Sierra could maintain a list of APNs that allow internet access set directly in the firmware.

Thanks,  
Rui Branco

---

<div class="post-metadata">

**Author:** ![jerdung](https://avatars.discourse-cdn.com/v4/letter/j/82dd89/32.png) [@jerdung](https://forum.sierrawireless.com/u/jerdung)\
**Post date:** [March 20, 2024, 10:43am UTC](https://forum.sierrawireless.com/t/em7565-auto-apn/31695/7 "2024-03-20T10:43:50Z")

</div>

Hi @rfbranco,

You can load all carrier firmware at the link I mentioned above into the module and then insert the SIM card.  
The module recognizes the SIM card of the carrier, it will load the corresponding carrier firmware of that SIM card and automatically get the APN configuration.  
In case there is no specific firmware for a particular carrier, use the GENERIC firmware and you will need to manually set the APN.

Thanks,
