I am trying to get my SMS gateway to send SMS using AT commands. I am connecting via SSH i a command prompt. I am a beginner to this, so please bear over with me.
The following lines work:
DEV=/dev/ttyACM1
DESTNUM="PHONENUMER"
SMS="Test SMS from ?"
echo -e "ATZ
" >$DEV
echo -e "AT+CMGF=1
" >$DEV
echo -e "AT+CMGS="$DESTNUM"
" >$DEV
echo -e "$SMSx1A" >$DEV
So the above sends the sms correctly, but it does not include the dansih letter "?". Usually this is included in UTF-8.
How do I get my code working with the danish characters? Any ideas?
与恶龙缠斗过久,自身亦成为恶龙;凝视深渊过久,深渊将回以凝视…