Add new comment

Playing with gnokii on Nokia 3310

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.

Submitted by Ajay Pal Singh Atwal on June 18, 2006 - 12:02pm. categories [ Code | GNU/ Linux | Mobile Computing ] Ajay Pal Singh Atwal's blog | 4 comments | read more | 2314 reads

Reply

*
*
The content of this field is kept private and will not be shown publicly.


*

  • Allowed HTML tags: <a> <em> <strong> <cite> <code> <ul> <ol> <li> <dl> <dt> <dd> <b>
  • Lines and paragraphs break automatically.