I am trying to send a Chinese characters SMS via GSM USB Modem on Ubuntu 13.10
Q1:
Here is my code :
<?php echo system("gsmsendsms -d /dev/ttyACM7 -b 115200 13330925583 '你怎么样?'");?><br>
Then, sending is successed! But the characters is breaked.
How can send UTF8 characters clearly?
Q2:
I am using GSM USB Modem 8 port. i.e. ttyACM0 - ttyACM7
I found a code :
$fp=fopen('COM6', '+r');<br>
fputs($this->fp, "AT");<br>
.....
So, Is it possible :
$fp=fopen('ttyACM7', '+r');<br>
fputs($this->fp, "AT");<br>
....
Please help me.