Moving SMS response to a usable address

I am using a Sierra Wireless HL7800 modem with the nrF52840.  I have been able to receive SMS messages and see them come through the RTT log.  Setting to text mode and then listing all incoming messages, I see the below output in the log.

rtt:~$ [00:00:05.668,609] <dbg> modem_hl7800: send_at_cmd: OUT: [AT+CMGL="ALL"]
00> rtt:~$ [00:00:05.880,706] <dbg> modem_hl7800: hl7800_rx: UNHANDLED RX
00> 2b 43 4d 47 4c 3a 20 31 2c 22 52 45 43 20 52 45 |+CMGL: 1 ,"REC RE
00> 41 44 22 2c 22 35 32 37 37 22 2c 2c 22 32 34 2f |AD","527 7",,"24/
00> 31 32 2f 30 36 2c 31 36 3a 30 38 3a 31 38 2d 33 |12/06,16 :08:18-3
00> 32 22 |2"
00> rtt:~$ rtt:~$ [00:00:05.882,232] <dbg> modem_hl7800: hl7800_rx: UNHANDLED RX
00> 21 74 74 74 70 75 63 6c 6f 63 6b 3a 31 36 30 30 |!tttpucl ock:1600

I clearly see the intended text "!tttpuclock:1600" message, but I need to know where that sms is stored or move that message from the SIM to a usable register that I can use to print the actual text.

From the AT Interface, it looks as if these are stored in "mem1" or "mem3", but I'm unclear how to access those locations,

Thanks,

Parents
  • Hi,

    Can you provide more information about your application?

    Can you provide more context to your question? How are modem and nrf52840 connected and what is the purpose of nrf52840 in your case? What do you try to achieve?

    Where did you get your RTT log from? Which action did you take when you got your log? What was your application doing?

    From the AT Interface, it looks as if these are stored in "mem1" or "mem3", but I'm unclear how to access those locations

    Can you provide a link to AT interface?

    Best regards,
    Dejan

  • Dejon,

    I am using a Pinnacle 100 from Ezurio. It has the HL7800 modem connected to UART1 on the nrf52840.  I have written the driver to send for this instance AT+CMGL which lists the received SMS messages.  You can see that I receive the actual text message expected both in hex and text, when I monitor in a JLink RTT Viewer. 

    I need to find out where I can pull that actual data that was received as a response to the AT+CMGL command (!tttpucl ock:1600) to move it to another memory location so I can compare the received message to a set of expected messages.

    Everything with the modem is working correctly, I just need to know where I can copy the actual received text from.  I know the data is there in index 1, just can't seem to get to it.

    Here is the AT Interface.  

     41111821 HL78xx AT Command Reference r23.pdf

Reply
  • Dejon,

    I am using a Pinnacle 100 from Ezurio. It has the HL7800 modem connected to UART1 on the nrf52840.  I have written the driver to send for this instance AT+CMGL which lists the received SMS messages.  You can see that I receive the actual text message expected both in hex and text, when I monitor in a JLink RTT Viewer. 

    I need to find out where I can pull that actual data that was received as a response to the AT+CMGL command (!tttpucl ock:1600) to move it to another memory location so I can compare the received message to a set of expected messages.

    Everything with the modem is working correctly, I just need to know where I can copy the actual received text from.  I know the data is there in index 1, just can't seem to get to it.

    Here is the AT Interface.  

     41111821 HL78xx AT Command Reference r23.pdf

Children
Related