Is there a way to programmatically check if the Electron is a 2G (G350) or a 3G (U260/U270) model?

With PLATFORM_ID we are able to check if the system is a Photon or an Electron (or any other module), which is great. However, if the module is an Electron, is there any way to programmatically check if it is a 2G (G350) or a 3G (U260/U270) model?

You could use the AT+CGMM (Model identification) via Cellular.command() which should return the name like SARA-G350 or SARA-U270.

@ScruffR, OK thank you very much, I will use this AT command (I was not aware of this one). Thank you very much for the answer

1 Like