SMS Driver for HL7800

I am using the Pinnacle 100 from Laird that uses the HL7800. I am being told by Laird that the 7800 does not support SMS, but could if the driver was written. From what I have read here the 7800 does support SMS, so I’m not sure if the driver now handles that, or if I need to do something more. Is there any information to show me where to start here to write that?

you can just send AT command (e.g. AT+CMGS) through the AT command port to send SMS.

So I have been trying these AT commands. and using the +CMGR, and +CMGLI can see I have a message (see below), but I do not see how to view the actual text message. Is there another conversion I need to use?

[08:50:31.552,978] modem_hl7800: send_at_cmd: OUT: [AT+CMGR=4]
[08:50:31.560,607] modem_hl7800: hl7800_rx: UNHANDLED RX
2b 43 4d 47 52 3a 20 31 2c 2c 32 34 |+CMGR: 1 ,24
[08:50:31.566,345] modem_hl7800: hl7800_rx: UNHANDLED RX
30 37 39 31 34 34 37 37 37 39 30 37 30 34 38 38 |07914477 79070488
32 34 30 43 39 31 34 34 39 37 37 33 30 34 32 35 |240C9144 97730425
30 35 30 30 30 30 33 32 31 30 37 32 36 30 35 30 |05000032 10726050
30 34 30 30 30 35 44 34 45 32 39 34 38 41 30 33 |040005D4 E2948A03
[08:50:31.566,802] modem_hl7800: hl7800_rx: HANDLE OK (len:0)

you can put the SMS in PDU format here to decode:

That online tool is great, and that confirms that I am getting the intended messages and content. Thank you for that! Is the PDU decoding key readily available? I’m just trying to figure out how I would decode message on the Pinnacle 100 to display the text on an LCD display connected to it. After looking through that, I may have figured out a way to convert this.

What do you mean by PDU decoding key

I need the Pinnacle 100 to recognize specific text messages sent and act on those in the code appropriately and display the received text message on an attached LCD Display. The text has to be in a readable format, in this case, TEST8.

Perhaps I misunderstood, but when I receive the SMS on the Pinnacle 100, I would have to convert it to PDU to get the readable text. That is what I meant by a “key”

Stephen

Can you show what exactly you receive the sms the Pinnacle 100?

I wonder if you can read this SMS by text mode:
AT+CMGF=1
AT+CMGR=4

This is what I get back for TEST:

uart:~$ hl cmd 15 AT+CMGL=4
[07:17:29.708,068] modem_hl7800: send_at_cmd: OUT: [AT+CMGL=4]
[07:17:29.720,092] modem_hl7800: hl7800_rx: UNHANDLED RX
2b 43 4d 47 4c 3a 20 31 2c 30 2c 2c 32 33 |+CMGL: 1 ,0,23
[07:17:29.725,677] modem_hl7800: hl7800_rx: UNHANDLED RX
30 37 39 31 34 34 37 37 37 39 30 37 30 34 38 38 |07914477 79070488
32 34 30 43 39 31 34 34 39 37 37 33 30 34 32 35 |240C9144 97730425
30 35 30 30 30 30 33 32 31 30 37 32 34 30 35 34 |05000032 10724054
33 32 30 30 30 34 44 34 45 32 39 34 30 41 |320004D4 E2940A

TEST9 sent

uart:~$ hl cmd 15 AT+CMGL=4
[16:39:15.379,241] modem_hl7800: hl7800_rx: HANDLE OK (len:0)
[16:39:15.379,943] modem_hl7800: send_at_cmd: OUT: [AT+CMGL=4]
[16:39:15.549,468] modem_hl7800: hl7800_rx: UNHANDLED RX
2b 43 4d 47 4c 3a 20 31 2c 30 2c 2c 32 34 |+CMGL: 1 ,0,24
[16:39:15.555,206] modem_hl7800: hl7800_rx: UNHANDLED RX
30 37 39 31 34 34 37 37 37 39 30 37 30 34 38 38 |07914477 79070488
32 34 30 43 39 31 34 34 39 37 37 33 30 34 32 35 |240C9144 97730425
30 35 30 30 30 30 33 32 31 30 37 32 34 31 33 32 |05000032 10724132
31 32 30 30 30 35 44 34 45 32 39 34 39 41 30 33 |120005D4 E2949A03

you can try to read this SMS by text mode:
AT+CMGF=1
AT+CMGR=24