Hi,
I attached a mobile phone (its name I-MATE SMART PHONE) to a box running CentOS 5 by using a usb cable which came with that phone.
Now, it shows /dev/ttyUSB0
Now I want to send a sms to my friends.
I installed gammu. Pls see below for installed rpm.
[root@mailgw ~]# rpm -qa |grep gammu gammu-1.11.0-1.el5.rf
here's my /etc/gammurc file.
[gammu] port = /dev/ttyUSB0 ;model = 6110 connection = dlr3 ;synchronizetime = yes ;logfile = gammulog ;logformat = textall ;use_locking = yes ;gammuloc = locfile ;startinfo = yes ;gammucoding = utf8 ;rsslevel = teststable ;usephonedb = yes
[gammu1] port = /dev/ttyUSB1 ;model = 6110 connection = dlr3 ;synchronizetime = yes ;logfile = gammulog ;logformat = textall ;use_locking = yes ;gammuloc = locfile ;startinfo = yes ;gammucoding = utf8
I tried to send an SMS to my phone. So I issued the below command.
[root@mailgw ~]# echo hello | gammu --sendsms TEXT 0714857135 Error setting device DTR or RTS.
Then, it gave the above error.
How can solve this. or is there another better pkg for it?