# AT command errors

**URL:** <https://community.sparkfun.com/t/at-command-errors/62998>\
**Category:** Other\
**Created:** [January 24, 2025, 8:57pm UTC](https://community.sparkfun.com/t/at-command-errors/62998 "2025-01-24T20:57:58Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![Colibri](https://avatars.discourse-cdn.com/v4/letter/c/76d3ee/32.png) [@Colibri](https://community.sparkfun.com/u/Colibri)\
**Post date:** [January 24, 2025, 8:57pm UTC](https://community.sparkfun.com/t/at-command-errors/62998/1 "2025-01-24T20:57:58Z")

</div>

I am working with a double MicroMod board ([SparkFun MicroMod Main Board - Double - DEV-20595 - SparkFun Electronics](https://www.sparkfun.com/products/20595)), an ESP32 processor (product 16402) and a LTE+GNSS board (product 18431), with its own IoT SIM card (operator Telus).  
I am trying to set up a MQTT communication with the cloud. I am able to initialize the SARA-R5 board, for instance with the [code example #3 from the GitHub repository](https://github.com/sparkfun/SparkFun_u-blox_SARA-R5_Arduino_Library/blob/main/examples/SARA-R5_Example3_NetworkInfo/SARA-R5_Example3_NetworkInfo.ino), but I cannot set the PDP context. The serial monitor would display: “Network registration: Not registered”. However all the other settings seems to work fine, and it displays an available APN and IP, different from the one provided by my operator: m2m.telus.iot and 0.0.0.0  
If I try to break it down to manual AT commands, some of them return unexpected errors:

- AT+UMNOPROF? # checks operator  
Reponse: OK 21 (Telus)
- AT+CDGCONT=1, “IP”, “[apn from the operator]”, “[IP from the operator]”  
Response: ERROR
- AT+URAT? # checks RAT parameters  
Response: ERROR
- AT+CMEE=2 # enable verbose errors  
Response: ERROR
- AT+CEREG? # checks network registration  
Response: +CEREG 0, 3 OK # not registered, acces denied, but command is successfull

Would you have any hint about how to correct this so that the AT commands do not result in errors anymore?

Thank you!

---

<div class="post-metadata">

**Author:** ![TS-Russell](https://yyz1.discourse-cdn.com/sparkfun/user_avatar/community.sparkfun.com/ts-russell/32/6092_2.png) [@TS-Russell](https://community.sparkfun.com/u/TS-Russell)\
**Post date:** [January 24, 2025, 9:28pm UTC](https://community.sparkfun.com/t/at-command-errors/62998/2 "2025-01-24T21:28:57Z")

</div>

Ensure your network is compatible:

’ LTE NB-IoT Radio Access Technology, and the LTE FDD bands: 66, 71, 85 are not supported by this version. Refer to the [SARA-R5 datasheet](https://cdn.sparkfun.com/assets/a/9/6/1/b/SARA-R5_DataSheet__UBX-19016638_.pdf) for more information.’

Are you using [the custom AT-command set](https://cdn.sparkfun.com/assets/b/6/2/4/5/SARA-R5_ATCommands__UBX-19047455_.pdf)?

---

<div class="post-metadata">

**Author:** ![PaulZC](https://yyz1.discourse-cdn.com/sparkfun/user_avatar/community.sparkfun.com/paulzc/32/67_2.png) [@PaulZC](https://community.sparkfun.com/u/PaulZC)\
**Post date:** [January 24, 2025, 9:48pm UTC](https://community.sparkfun.com/t/at-command-errors/62998/3 "2025-01-24T21:48:15Z")

</div>

Hi @Colibri ,

This guide may help - especially the “AT Terminal” section:

[https://learn.sparkfun.com/tutorials/micromod-update-tool-hookup-guide/software-setup](https://learn.sparkfun.com/tutorials/micromod-update-tool-hookup-guide/software-setup)

I hope this helps,  
Paul
