It seems there is a bug in gnokii 0.6.12 sms sending code for nokia 6110 models (that includes 3310). When reading sms message center number from phone only last digit is returned. The consequences sms sending fails. Also further communication with the mobile fails, the mobile must be restarted before it can communicate with computer again.
Tested on
- Nokia 3310 (firmware 5.79, NHM-5)
- using gnokii 0.6.12
- on GNU/ Linux (2.6.11-1)
- with a serial cable.
Workaround specify sms center number on command line.
echo "This is a test message" | gnokii --sendsms +91xxxxxxx --smsc +91xxxxxxxx
Or you can use this slightly modified sendsms shell script to send sms. Click here to download the modified sendsms script (orignal by Gabriele Zappi). Run sendsms using --smsc flag, it will ask you for the sms message center number.
sendsms --smsc
Make sure you have gnokii properly configured and running.
The problem is also applicable when reading sms, you will only get last digit of sender number and not complete number.
Though havnt tested but seems this problem has been fixed in the CVS version. See this message on gnokii mailing list.