Send SMS issue with TCP connection

yes of course : Error: CMS ERROR 513: Lower layer failure (for SMS)
but it doesn’t help me. I have done some search on this forum (using “Lower layer failure” as key words) and google, and I didn’t manage to find any explanation that solve this issue.
But this reseach pointed that signal quality can have an impact an generate this error. So I have tried without antenna on a working configuration, an this error fired! So I have double checked the signal quality with AT+CSQ command and I noticed that the signal quality level decrease.
All this observation doen’t help me to find a solution or a workaround.

Using “tcp_client Sample” I can observe that from application startup, until the GPRS registration, it is possible to send SMS. But after GPRS registration, I receive +CMS ERROR: 513 :
A) Application Trace
01 - 2015/09/04;10:11:45:208;001;ADL;4;Embedded Application : Main
02 - 2015/09/04;10:11:45:218;001;ADL;4;(CfgGprs) Enter.
03 - 2015/09/04;10:11:48:636;001;ADL;4;(cbEvhSim) Enter.
04 - 2015/09/04;10:11:49:134;001;ADL;4;(cbEvhSim) Enter.
05 - 2015/09/04;10:12:45:558;001;ADL;4;(cbEvhSim) Enter.
06 - 2015/09/04;10:12:45:558;002;ADL;4;(cbPollCreg) Enter.
07 - 2015/09/04;10:12:45:559;001;ADL;4;(cbPollCreg) Registered on GPRS network.
08 - 2015/09/04;10:12:45:559;002;ADL;27;Call subs 1071358F : 0
09 - 2015/09/04;10:12:45:560;001;ADL;16;[ADL port] IsAvailable(80) : 1
10 - 2015/09/04;10:12:45:697;001;L3SMG;1;45 43 4d 31 00 04 00 02 00 00 20 00
11 - 2015/09/04;10:12:49:328;001;ADL;4;[SAMPLE]: connecting to client %s:%i
12 - 2015/09/04;10:12:49:766;001;ADL;4;[SAMPLE] Connection established successfully
13 - 2015/09/04;10:12:49:766;002;ADL;4;[SAMPLE] Can send more data
14 - 2015/09/04;10:12:49:769;001;ADL;4;[SAMPLE] Everything has been sent, won’t send more.
B) console command :

OK
+CREG: 0
+CREG: 2
+CREG: 1
at+cmgs=“XXXXXXXXXX”

test
+CMGS: 97
OK

at+cmgs=“XXXXXXXXXX”

test
+CMGS: 98
OK

at+cmgs=“XXXXXXXXXX”

test
+CMGS: 99
OK
=> after step 7 achieved (see on trace above)
can’t send SMS
at+cmgs=“XXXXXXXXXX”
test
+CMS ERROR: 513