πΆ What is a +CMS ERROR?
A +CMS ERROR is a standardized error message used in mobile communications.
It indicates an issue related to the mobile network , the SIM card , or the cellular modem β typically in the context of SMS sending or receiving.
These errors help identify the root cause of failed actions.
π Overview of Common +CMS ERROR Codes
Error Code | Description |
---|---|
300 | ME failure β General device error |
301 | SMS service of the device is reserved |
302 | Operation not allowed |
303 | Operation not supported |
304 | Invalid PDU mode parameter |
305 | Invalid text mode parameter |
310 | SIM card not inserted |
311 | SIM PIN required |
312 | SIM PIN2 required (device-specific) |
313 | SIM card error |
314 | SIM card busy or overloaded |
315 | Incorrect or unsupported SIM |
316 | SIM PUK required |
317 | SIM PIN2 required |
318 | SIM PUK2 required |
320 | Device memory error |
321 | Invalid memory index |
322 | Memory full |
330 | SMSC address unknown or incorrect |
331 | No network available |
332 | Network timeout |
340 | No +CNMA acknowledgment expected |
500 | Unknown error |
π οΈ Troubleshooting Tips
β Example:+CMS ERROR: 500 β Unknown Error
This is a generic error with several possible causes, such as:
-
β Multi-SIM or multi-provider SIM card in use
-
π SIM card not activated or blocked
-
π΅ SIM not SMS-enabled (e.g. data-only plan)
-
π° No remaining balance (for prepaid cards)
-
π SIM PIN not removed
-
βοΈ Incorrect or missing SMSC address
π Tip: Check the SMSC Address
The SMSC (Short Message Service Center) address is critical for SMS transmission.
If it's missing or incorrect, SMS sending will fail.
β How to Check the SMSC Address:
π± On a mobile phone:
-
Look into your SMS/message settings
-
Or contact your mobile service provider
π₯οΈ On the gateway (only accessible during a remote session by brevis.one support) :
-
Must be queried directly via system console (e.g. using
minicom
orscreen
) -
Command:
AT+CSCA?
(after connecting to the modem port)
π Summary
-
+CMS ERRORs provide targeted information about mobile-related issues
-
Most errors are linked to the SIM card , network availability , or misconfiguration
-
Code 500 is non-specific β it requires a systematic check of:
-
SIM card status
-
PIN lock
-
Network availability
-
SMSC configuration
-
Comments
0 comments
Please sign in to leave a comment.