# Establishing the network type HL7812

**URL:** <https://forum.sierrawireless.com/t/establishing-the-network-type-hl7812/29826>\
**Category:** HL78\
**Created:** [May 23, 2023, 7:33am UTC](https://forum.sierrawireless.com/t/establishing-the-network-type-hl7812/29826 "2023-05-23T07:33:30Z")\
**Posts on this page:** 4\
**Page:** 1

<div class="post-metadata">

**Author:** ![tim.nicholson](https://avatars.discourse-cdn.com/v4/letter/t/a6a055/32.png) [@tim.nicholson](https://forum.sierrawireless.com/u/tim.nicholson)\
**Post date:** [May 23, 2023, 7:33am UTC](https://forum.sierrawireless.com/t/establishing-the-network-type-hl7812/29826/1 "2023-05-23T07:33:30Z")

</div>

Hi,

I have been asked to indicate the type of cellular network our equipment is connected to, we are using the HL7812 Module. I just need to be able to give an indication of either 2G, 3G or 4G as is common on most all mobile phones.

From my research on Google, it would seem that I should be able to get that information from the +CREG and +CEREG responses, but I am struggling to work out how to to map that information to one of the three categories above.

If my basic understanding it correct, the following mapping could reasonably be used:

GSM = 2G  
UTRAN (Any) = 3G  
E-UTRAN (Any) = 4G

But the AT Command Interface Guide seems to imply that all of the +CEREG codes that could be returned for UTRAN are ‘not applicable’ which is somewhat confusing. Unfortunately, I am in an area with blanket 4G coverage, so I cannot see if the UTRAN codes are actually returned by +CEREG in a 3G only coverage area or not.

Can anyone throw some light on this please? Am I missing something, does ‘not applicable’ mean not available on this module, and if so, is there another way to distinguish between 3G and 4G? I have also seen reference to +CGREG but that does not seem to be supported in the command set at all.

Any insight would be really useful.

---

<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:** [May 23, 2023, 8:33am UTC](https://forum.sierrawireless.com/t/establishing-the-network-type-hl7812/29826/2 "2023-05-23T08:33:35Z")

</div>

Hi @tim.nicholson,

Welcome to our community!

Based on the information in the Product Technical Specification, HL7812 only supports LTE and 2G technologies. Please refer to page 8 of the following document for more information:

> **[HL781x - Product Technical Specification](https://source.sierrawireless.com/resources/airprime/hardware_specs_user_guides/hl781x_product_technical_specification/#sthash.ZBjdvArS.dpbs)**
>
> This document describes the features and specifications of Sierra Wireless embedded modules and provides you with the information required to integrate them into your products.

Thanks,

---

<div class="post-metadata">

**Author:** ![tim.nicholson](https://avatars.discourse-cdn.com/v4/letter/t/a6a055/32.png) [@tim.nicholson](https://forum.sierrawireless.com/u/tim.nicholson)\
**Post date:** [May 23, 2023, 8:54am UTC](https://forum.sierrawireless.com/t/establishing-the-network-type-hl7812/29826/3 "2023-05-23T08:54:30Z")

</div>

Thanks Jerdung,

That would explain it, so would I be right in thinking that if only 3G was available, the module would fall back to GSM?

Regards

Tim

---

<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:** [May 31, 2023, 10:03am UTC](https://forum.sierrawireless.com/t/establishing-the-network-type-hl7812/29826/4 "2023-05-31T10:03:55Z")

</div>

Hi @tim.nicholson,

To make the module operate in 2G, you need to switch the RAT (Radio Access Technology) to GSM.  
To enable the module to automatically switch the Radio Access Technology (RAT) to GSM, you need to use the command +KSELACQ. Please refer to the following documentation for more information:

> **[HL78xx AT Commands Interface Guide](https://source.sierrawireless.com/resources/airprime/software/hl78xx_at_commands_interface_guide/#sthash.zzJANplp.dpbs)**
>
> This document describes the AT command set used with the HL78xx series of embedded modules.

> **[AirPrime - HL78xx - Automatic RAT Switching](https://source.sierrawireless.com/resources/airprime/application_notes_and_code_samples/airprime_hl78xx_automatic_rat_switching/#sthash.yBzPzZHY.dpbs)**
>
> This document describes the automatic RAT switching behavior of the HL78 module and provides examples of how to use both the recommended hands-off RAT management feature (AT+KSELACQ) and the legacy RAT switching feature (AT+KSRAT).

Thanks,
