I need to make beaglebone open shell or run bach file after receiving a sms from my mobile?
I have modem E173 connected to the beaglebone (with linux arm ubuntu), I could make it to send sms from beaglebone to my mobile by using the following:
sudo echo -e -n “AT+CMGF=1 \015” > /dev/ttyUSB0
sudo echo -e -n “AT+CMGS=“YOUR MOBILE NUMBER” \015” > /dev/ttyUSB0
sudo echo -e -n “YOUR TEXT MESSAGE \015” > /dev/ttyUSB0
sudo echo -e -n “\032” > /dev/ttyUSB0
How to read the receiving sms and open shell automatically, any idea?