I’m using a TRB142 modem and in the past I developed an application to send SMS using the RS232 port and the AT commands. I deeply tested the application with the firmware version TRB1_R_00.07.05.4. Last day I tried with version TRB1_R_00.07.08.2 and my application didn’t work. Then I tried with the last available version TRB1_R_00.07.13.4 and got the same problem. Below the details of my test.
Message: test
Mobile number: 0039347*******
Message format: PDU
The log printed by my application:
Initializing modem AT+QCSQ=0
Answer:
OK
Send AT+CMGF=0
Answer:
OK
Send AT+CMEE=2 answer:
OK
Send: AT+CMGS=19
Send:
<sequence of 40 2-digits hex values>1A0D0A
Answer:
+CMS ERROR: invalid PDU mode parameter
Note that the PDU string is terminated with a CTRL-Z char (1A) and a \r\n. I already tried all possible combination of this 3 characters, without success. I know having the PDU string may help, but that contains my real mobile number that I don’t want to share here.
Hope somebody can help. Thank you.