Author |
Post |
|
#1 Wed Apr 27, 2011 15:41, 165 months ago.
|
Member
Registered: Apr 2011
Location: Switzerland
|
Operating system name and version: Linux - ubuntu 10.04 Version of smsd: 3.1.6 Smsd installed from: package repository Name and model of a modem / phone: SIM300 (from SIMCOM) Interface: serial
Hello,
I am trying to get a status report for the SMS being sent by smstools but in vain. I have tried to set this in the configuration file as well as the sms file itself, but neither ways was successful! I would like to debug this but I have no clue on how to proceed. I have tried to enable logging level to loglevel = 7 but the information I got was not helpful.
Any help would be greatly appreciated.
lbh
|
|
#2 Wed Apr 27, 2011 16:20, 165 months ago.
|
Administrator
Registered: May 2009
Location: Jyväskylä, Finland
|
First, if your Ubuntu is 64bit edition, and runs on Intel processor, you have to upgrade smsd. On maverick there is 3.1.10 available, and on natty there is 3.1.11.
Also, you need to upgrade, because later versions have a modem setting report_device_details = yes available.
It would useful to see those "device details" from the log. Those details will tell the exact version of the modem, available memories and list of supported modes for new message indications.
Also, show what settings you have already tried, if something more than "report = yes".
I assume that normal sending and receiving works fine, is this correct?
|
|
#3 Wed Apr 27, 2011 16:57, 165 months ago.
|
Member
Registered: Apr 2011
Location: Switzerland
Topic owner
|
Hello!
Thanks for the swift reply.
I am actually more interested in having it running on a Linux (BusyBox v1.11.0). I will upgrade to the newest stable version and get back with more information.
Yes the only settings I did was report = yes (in both the configuration file and the sms file)
Regards lbh
|
|
#4 Tue May 03, 2011 16:43, 165 months ago.
|
Administrator
Registered: May 2009
Location: Jyväskylä, Finland
|
|
|
#5 Wed May 04, 2011 09:19, 165 months ago.
|
Member
Registered: Apr 2011
Location: Switzerland
Topic owner
|
Hello,
thanks for pointing me to this. I have set the config file to have init = AT+CNMI=2,1,0,1,0 This seems to work on my side, here is parts of my log when I sent an sms with a request to get a status report back:
2011-05-03 23:02:30,6, GSM1: Checking if modem is ready 2011-05-03 23:02:31,3, GSM1: Routed status report detected: +CDS: 25. 07911497949900F006860B911497674673F8115030224522801150302245528000.
2011-05-03 23:02:31,3, GSM1: Saved routed status report for later handling. However, you MUST DISABLE status report routing with modem settings. 2011-05-03 23:02:31,7, GSM1: Sending acknowledgement 2011-05-03 23:02:31,7, GSM1: -> AT+CNMA 2011-05-03 23:02:31,7, GSM1: <- ERROR
looks like I have to disable CNMA, but for this I need to upgrade first as I am still on 3.1.6
Once I have the complete setup updated I will re-conduct the test and will let you know
Regards and thanks for all the help lbh
|
|
#6 Sat Jun 04, 2011 21:13, 163 months ago.
|
Member
Registered: Apr 2011
Location: Switzerland
Topic owner
|
Hello,
I have currently upgraded to version 3.1.14 and with the setting
init = AT+CNMI=2,1,0,1,0 in the config file I now receive a report in the specified folder for reports.
Thanks for all the help I guess we can flag this ticket as solved.
lbh
|