Reading SMS message

The subVi reads a SMS message from GSM modem storage. Figure 1 shows the block diagram of the subVi.

Fig. 1 Reading SMS message

The message format is AT + CMGR = <index> <CR>, where <index> is the number of the message  in the GSM storage area.

AT + CMGR = 7

+ CMGR: "REC UNREAD", "+381628869066", "12/01/16, 09:53:57 +04"

Hello Gsm

OK