Read the Message in Telit module (LE910Cx ThreadX) through AT command

Hi,

Could you kindly share the procedure to read the message in Telit module (LE910Cx ThreadX) through AT command.

Regards,
Jamal Deen

Regards,
Jamal Deen

Hi Jamal,

Here is the Step-by-Step Procedure.

  1. Check SMS Storage

    • Ensure the SMS storage is set correctly (usually to SIM or ME):

      AT+CPMS?
      
      

      This returns the current storage settings for read, write, and received messages.

  2. List Messages

    • To list all messages in the storage:

      AT+CMGL="ALL"
      
      

      Options include:

      • "REC UNREAD" → unread messages

      • "REC READ" → read messages

      • "ALL" → all messages

  3. Read a Specific Message

    • Use the message index from the list:

      AT+CMGR=<index>
      
      

      Example:

      AT+CMGR=1
      
      

      This will return the message status, sender number, timestamp, and message text.

  4. Delete Message (Optional)

    • After reading, you can delete the message:

      AT+CMGD=<index>
      
      

      Example:

      AT+CMGD=1
      
      

:white_check_mark: Important Notes

  • SMS Mode: Ensure the module is in text mode for SMS:

    AT+CMGF=1
    
    

    (Use AT+CMGF=0 for PDU mode if needed.)

  • Error Handling: If you see +CMS ERROR, check SIM status and network registration.

  • ThreadX Specific: The commands above are standard 3GPP TS 27.005 compliant and supported by LE910Cx ThreadX firmware.

BRs,

Cong

Hi Conghu,

Please find the attached screenshot for your reference. Kindly review it and let us know whether the AT command flow is correct, and if we have missed any AT commands.

Kindly let me know if you need any further clarification.

Regards,
Jamal Deen