BC950K-GL Send and receive an sms message

We need to send and receive SMS messages with the BC950K-GL module. Is there an example of this?

After the reboot of the module, we got the following output:

RDY                                                                                                                                                          
+CFUN: 1                                                                        
+CPIN: READY                                                                    
+CEREG: 2                                                                       
+CSCON: 1                                                                       
+IP: 10.90.245.13                                                               
+CEREG: 5,"A783","03260265",9                                                   
+CSCON: 0

Some infos over the sms configuration:

at+cmgf?                                                                        
+CMGF: 1
at+csca?                                                                        
+CSCA: "+35677794022",145

If I try to send an sms with the AT+CMGS command, I got only the result “ERROR” after I pressed Ctrl+Z.

Best regards,
Martin

Some additional info to the module:

ati
Quectel_Ltd
Quectel_BC950K-GL
Revision: BC950KGLAAR01A01

No +CME ERROR: with an error number returned as well?

I get the error code 332 (Network timeout).

What I have done:

I checked the message format. (text mode)

at+cmgf?
+CMGF: 1
at+cmgs="+49xxxxxxxxxxx"
> Test
+CMS ERROR: 332

I think the problem is that the module is not online (the module is the idle mode)

at+cscon?
+CSCON: 1,0

But how can I tell the module to wake up for the process of the sms sending?

Best regards,
Martin

SMS should work fine in idle mode. Any connection made for SMS is independent of any normal data connection.

Unfortunately, 3GPP 27.007 doesn’t give a decode for error 332.