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 | 1464 reads

Comment viewing options

Select your preferred way to display the comments and click "Save settings" to activate your changes.
Submitted by Werner Heuser (not verified) on February 26, 2008 - 3:14am.

This article is mentioned in the TuxMobil Linux and mobile phones compatibility survey (Nokia).

Submitted by Saravanan (not verified) on January 5, 2007 - 9:26am.

Hi,

I am trying to develop a SMS based website at my own interest. I try to install gnokii in my linux machine, but it not working fine (using usb connecting cable for 6110 model nokia handset).

Kindly help in this regard.

Thanks & Regards
Saravanan N.

Submitted by Ajay Pal Singh Atwal on January 5, 2007 - 1:10pm.

The best place to ask questions about gnokii is the gnokii-users mailing list, please post your question with log (i.e. what exactly gnokii says about the error you are facing)

Info about gnokii mailing list is here:
http://lists.nongnu.org/mailman/listinfo/gnokii-users

Post new comment

*
*
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.