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.