|
|
SMS Server Tools 3 Community |
Welcome, Guest. The forum is currently read-only, but will open soon. |
Tue Jul 01, 2025 08:40 |
Page: 1
Keywords: Mode: All keywords (AND) |
Wed Jun 08, 2011 15:01
|
lbh00: Hello keke,
I will try these changes out. However, If I understand the code correctly they will improve by a matter of few hundreds of milliseconds am I right?
will let you know of the outcome of my tests
Regards
lbh
|
Tue Jun 07, 2011 13:28
|
lbh00: Ok I guess I will give up at this stage! :-)
Thanks for all the help and explanation throughout this case.
Regards
lbh
|
Tue Jun 07, 2011 11:33
|
lbh00: Hello keke,
thanks for all the help!
ok when i disabled those options I gained between 2 to 3 sec
so now am down to 5 sec for the first sms and 4 for the second (send consecutively).
I understand that there is a compromise to do using this method :(.
Do you know of other methods (other than CMMS as my modem do not support it) to speed up sms sending?
Regards and thanks for all the help !
lbh00
|
Mon Jun 06, 2011 09:25
|
lbh00: Hello,
I have tried the start option as well as check_network = 0
this reduced the time needed from 7sec to 6 sec.
I am wondering if we can remove these regular checks like:
ATE0+CMEE=1;+CREG=2
AT+CPIN?
AT+CSQ
This would improve the time delay by about 3 to 4 seconds
Regards
lbh
|
Mon Jun 06, 2011 08:58
|
lbh00: Hello,
I have switched the ms option on for the logging and sent 2 sms'es consecutively.
The first one takes 7 sec and the second takes 5 sec.
We can see from the time the server realizes that it has an sms to send up to the point when actually the data is sent to the modem there are about 4 sec for the first sms. In my application I rarely have consecutive sms'es to send so I would like to optimize the timing of the first sms sent.
Does using "start" option reduce the initial time spent in doing regular checks before send data to the modem?
I can see like checking if the modem is registered to the network and the signal quality ...
In the meantime i will try the start option and will let you know what are the findings
Thanks for all help
lbh
2011-06-06 10:01:45.520,5, smsd: Moved file /mnt/sd/smsd/spool/sms/outgoing/report to /mnt/sd/smsd/spool/sms/checked
2011-06-06 10:01:47.573,6, GSM1: I have to send 1 short message for /mnt/sd/smsd/spool/sms/checked/report
2011-06-06 10:01:47.574,6, GSM1: Sending SMS from to 41xxxxxxxxx
2011-06-06 10:01:47.575,6, GSM1: Checking if modem is ready
2011-06-06 10:01:47.659,5, smsd: Moved file /mnt/sd/smsd/spool/sms/outgoing/sms to mnt/sd/smsd/spool/sms/checked
2011-06-06 10:01:47.786,7, GSM1: -> AT
2011-06-06 10:01:47.787,7, GSM1: Command is sent, waiting for the answer
2011-06-06 10:01:48.096,7, GSM1: <- OK
2011-06-06 10:01:48.097,6, GSM1: Pre-initializing modem
2011-06-06 10:01:48.307,7, GSM1: -> ATE0+CMEE=1;+CREG=2
2011-06-06 10:01:48.308,7, GSM1: Command is sent, waiting for the answer
2011-06-06 10:01:48.617,7, GSM1: <- OK
2011-06-06 10:01:48.618,6, GSM1: Checking if modem needs PIN
2011-06-06 10:01:48.828,7, GSM1: -> AT+CPIN?
2011-06-06 10:01:48.829,7, GSM1: Command is sent, waiting for the answer
2011-06-06 10:01:49.138,7, GSM1: <- +CPIN: READY OK
2011-06-06 10:01:49.139,6, GSM1: Initializing modem
2011-06-06 10:01:49.349,7, GSM1: -> AT+CNMI=2,1,0,1,0
2011-06-06 10:01:49.350,7, GSM1: Command is sent, waiting for the answer
2011-06-06 10:01:49.659,7, GSM1: <- OK
2011-06-06 10:01:49.870,7, GSM1: -> AT+CSQ
2011-06-06 10:01:49.871,7, GSM1: Command is sent, waiting for the answer
2011-06-06 10:01:50.190,7, GSM1: <- +CSQ: 13,0 OK
2011-06-06 10:01:50.192,6, GSM1: Signal Strength Indicator: (13,0) -87 dBm (Workable), Bit Error Rate: less than 0.2 %
2011-06-06 10:01:50.192,6, GSM1: Checking if Modem is registered to the network
2011-06-06 10:01:50.401,7, GSM1: -> AT+CREG?
2011-06-06 10:01:50.402,7, GSM1: Command is sent, waiting for the answer
2011-06-06 10:01:50.711,7, GSM1: <- +CREG: 2,1,"0065","156D" OK
2011-06-06 10:01:50.713,6, GSM1: Modem is registered to the network
2011-06-06 10:01:50.714,6, GSM1: Selecting PDU mode
2011-06-06 10:01:50.922,7, GSM1: -> AT+CMGF=0
2011-06-06 10:01:50.923,7, GSM1: Command is sent, waiting for the answer
2011-06-06 10:01:51.242,7, GSM1: <- OK
2011-06-06 10:01:51.452,7, GSM1: -> AT+CMGS=29
2011-06-06 10:01:51.454,7, GSM1: Command is sent, waiting for the answer
2011-06-06 10:01:51.763,7, GSM1: <- >
2011-06-06 10:01:51.973,7, GSM1: -> 0031000B911497674673F80000FF11C1F93AED3E83CC6F39485E86BFE574Z
2011-06-06 10:01:51.975,7, GSM1: Command is sent, waiting for the answer
2011-06-06 10:01:54.709,7, GSM1: <- +CMGS: 240 OK
2011-06-06 10:01:54.710,5, GSM1: SMS sent, Message_id: 240, To: 41xxxxxxxxx, sending time 7 sec.
2011-06-06 10:01:54.716,6, GSM1: Deleted file /mnt/sd/smsd/spool/sms/checked/report
2011-06-06 10:01:54.968,6, GSM1: I have to send 1 short message for /mnt/sd/smsd/spool/sms/checked/sms 2011-06-06 10:01:54.969,6, GSM1: Sending SMS from to 41xxxxxxxxx
2011-06-06 10:01:54.970,6, GSM1: Checking if Modem is registered to the network
2011-06-06 10:01:55.190,7, GSM1: -> AT+CREG?
2011-06-06 10:01:55.191,7, GSM1: Command is sent, waiting for the answer
2011-06-06 10:01:55.510,7, GSM1: <- +CREG: 2,1,"0065","156D" OK
2011-06-06 10:01:55.511,6, GSM1: Modem is registered to the network
2011-06-06 10:01:55.731,7, GSM1: -> AT+CMGS=71
2011-06-06 10:01:55.732,7, GSM1: Command is sent, waiting for the answer
2011-06-06 10:01:56.051,7, GSM1: <- >
2011-06-06 10:01:56.262,7, GSM1: -> 0011000B911497674673F80000FF41613259AE8BC15CB159CE159BD55CB15C4E112693E5BA584EE68AD970AE982B47539CE76DD03C7D7687D9A0395D5E 769FE96850EB960391C56DZ
2011-06-06 10:01:56.263,7, GSM1: Command is sent, waiting for the answer
2011-06-06 10:01:59.618,7, GSM1: <- +CMGS: 241 OK
2011-06-06 10:01:59.619,5, GSM1: SMS sent, Message_id: 241, To: 41797664378, sending time 5 sec.
2011-06-06 10:01:59.625,6, GSM1: Deleted file /mnt/sd/smsd/spool/sms/checked/sms
2011-06-06 10:01:59.627,6, GSM1: Checking device for incoming SMS
2011-06-06 10:01:59.628,6, GSM1: Checking memory size
2011-06-06 10:01:59.838,7, GSM1: -> AT+CPMS?
2011-06-06 10:01:59.839,7, GSM1: Command is sent, waiting for the answer
2011-06-06 10:02:00.159,7, GSM1: <- +CPMS: "SM",0,50,"SM",0,50,"SM",0,50 OK
2011-06-06 10:02:00.160,6, GSM1: Used memory is 0 of 50
2011-06-06 10:02:00.161,6, GSM1: No SMS received
2011-06-06 10:02:00.164,6, GSM1: Checking device for incoming SMS
2011-06-06 10:02:00.164,6, GSM1: Checking memory size
2011-06-06 10:02:00.369,7, GSM1: -> AT+CPMS?
2011-06-06 10:02:00.370,7, GSM1: Command is sent, waiting for the answer
2011-06-06 10:02:00.680,7, GSM1: <- +CPMS: "SM",0,50,"SM",0,50,"SM",0,50 OK
2011-06-06 10:02:00.681,6, GSM1: Used memory is 0 of 50
2011-06-06 10:02:00.682,6, GSM1: No SMS received
2011-06-06 10:02:10.710,6, GSM1: Checking device for incoming SMS
2011-06-06 10:02:10.711,6, GSM1: Checking if modem is ready
2011-06-06 10:02:11.129,3, GSM1: Routed status report detected:
|
Sun Jun 05, 2011 18:07
|
lbh00: Hello I have enabled the level 7 in logging and here is a snip of the log.
I can see some 4 to 5 sec before actually the sms file is sent to the modem for sending over the GSM network
How can I minimize this latency ?
Note that the init string is needed in my case to get back a status report...
Thanks for all the help
lbh
here is the log
2011-06-05 19:50:41,5, smsd: Moved file /mnt/sd/smsd/spool/sms/outgoing/report to /mnt/sd/smsd/spool/sms/checked
2011-06-05 19:50:42,7, GSM1: <- OK
2011-06-05 19:50:42,6, GSM1: Checking if modem needs PIN
2011-06-05 19:50:42,7, GSM1: -> AT+CPIN?
2011-06-05 19:50:42,7, GSM1: Command is sent, waiting for the answer
2011-06-05 19:50:42,7, GSM1: <- +CPIN: READY OK
2011-06-05 19:50:42,6, GSM1: Initializing modem
2011-06-05 19:50:42,7, GSM1: -> AT+CNMI=2,1,0,1,0
2011-06-05 19:50:42,7, GSM1: Command is sent, waiting for the answer
2011-06-05 19:50:43,7, GSM1: <- OK
2011-06-05 19:50:43,7, GSM1: -> AT+CSQ
2011-06-05 19:50:43,7, GSM1: Command is sent, waiting for the answer
2011-06-05 19:50:43,7, GSM1: <- +CSQ: 16,0 OK
2011-06-05 19:50:43,6, GSM1: Signal Strength Indicator: (16,0) -81 dBm (Good), Bit Error Rate: less than 0.2 %
2011-06-05 19:50:43,6, GSM1: Checking if Modem is registered to the network
2011-06-05 19:50:43,7, GSM1: -> AT+CREG?
2011-06-05 19:50:43,7, GSM1: Command is sent, waiting for the answer
2011-06-05 19:50:44,7, GSM1: <- +CREG: 2,1,"0065","156C" OK
2011-06-05 19:50:44,6, GSM1: Modem is registered to the network
2011-06-05 19:50:44,6, GSM1: Selecting PDU mode
2011-06-05 19:50:44,7, GSM1: -> AT+CMGF=0
2011-06-05 19:50:44,7, GSM1: Command is sent, waiting for the answer
2011-06-05 19:50:44,7, GSM1: <- OK
2011-06-05 19:50:44,6, GSM1: Checking memory size
2011-06-05 19:50:44,7, GSM1: -> AT+CPMS?
2011-06-05 19:50:44,7, GSM1: Command is sent, waiting for the answer
2011-06-05 19:50:45,7, GSM1: <- +CPMS: "SM",0,50,"SM",0,50,"SM",0,50 OK
2011-06-05 19:50:45,6, GSM1: Used memory is 0 of 50
2011-06-05 19:50:45,6, GSM1: No SMS received
2011-06-05 19:50:46,6, GSM1: I have to send 1 short message for /mnt/sd/smsd/spool/sms/checked/report
2011-06-05 19:50:46,6, GSM1: Sending SMS from to 41xxxxxxxxx
2011-06-05 19:50:46,6, GSM1: Checking if modem is ready
2011-06-05 19:50:46,7, GSM1: -> AT
2011-06-05 19:50:46,7, GSM1: Command is sent, waiting for the answer
2011-06-05 19:50:46,7, GSM1: <- OK
2011-06-05 19:50:46,6, GSM1: Pre-initializing modem
2011-06-05 19:50:46,7, GSM1: -> ATE0+CMEE=1;+CREG=2
2011-06-05 19:50:46,7, GSM1: Command is sent, waiting for the answer
2011-06-05 19:50:47,7, GSM1: <- OK
2011-06-05 19:50:47,6, GSM1: Checking if modem needs PIN
2011-06-05 19:50:47,7, GSM1: -> AT+CPIN?
2011-06-05 19:50:47,7, GSM1: Command is sent, waiting for the answer
2011-06-05 19:50:47,7, GSM1: <- +CPIN: READY OK
2011-06-05 19:50:47,6, GSM1: Initializing modem
2011-06-05 19:50:47,7, GSM1: -> AT+CNMI=2,1,0,1,0
2011-06-05 19:50:47,7, GSM1: Command is sent, waiting for the answer
2011-06-05 19:50:48,7, GSM1: <- OK
2011-06-05 19:50:48,7, GSM1: -> AT+CSQ
2011-06-05 19:50:48,7, GSM1: Command is sent, waiting for the answer
2011-06-05 19:50:48,7, GSM1: <- +CSQ: 16,0 OK
2011-06-05 19:50:48,6, GSM1: Signal Strength Indicator: (16,0) -81 dBm (Good), Bit Error Rate: less than 0.2 %
2011-06-05 19:50:48,6, GSM1: Checking if Modem is registered to the network
2011-06-05 19:50:48,7, GSM1: -> AT+CREG?
2011-06-05 19:50:48,7, GSM1: Command is sent, waiting for the answer
2011-06-05 19:50:49,7, GSM1: <- +CREG: 2,1,"0065","156C" OK
2011-06-05 19:50:49,6, GSM1: Modem is registered to the network
2011-06-05 19:50:49,6, GSM1: Selecting PDU mode
2011-06-05 19:50:49,7, GSM1: -> AT+CMGF=0
2011-06-05 19:50:49,7, GSM1: Command is sent, waiting for the answer
2011-06-05 19:50:47,7, GSM1: <- OK
2011-06-05 19:50:47,6, GSM1: Checking if modem needs PIN
2011-06-05 19:50:47,7, GSM1: -> AT+CPIN?
2011-06-05 19:50:47,7, GSM1: Command is sent, waiting for the answer
2011-06-05 19:50:47,7, GSM1: <- +CPIN: READY OK
2011-06-05 19:50:47,6, GSM1: Initializing modem
2011-06-05 19:50:47,7, GSM1: -> AT+CNMI=2,1,0,1,0
2011-06-05 19:50:47,7, GSM1: Command is sent, waiting for the answer
2011-06-05 19:50:48,7, GSM1: <- OK
2011-06-05 19:50:48,7, GSM1: -> AT+CSQ
2011-06-05 19:50:48,7, GSM1: Command is sent, waiting for the answer
2011-06-05 19:50:48,7, GSM1: <- +CSQ: 16,0 OK
2011-06-05 19:50:48,6, GSM1: Signal Strength Indicator: (16,0) -81 dBm (Good),
Bit Error Rate: less than 0.2 %
2011-06-05 19:50:48,6, GSM1: Checking if Modem is registered to the network
2011-06-05 19:50:48,7, GSM1: -> AT+CREG?
2011-06-05 19:50:48,7, GSM1: Command is sent, waiting for the answer
2011-06-05 19:50:49,7, GSM1: <- +CREG: 2,1,"0065","156C" OK
2011-06-05 19:50:49,6, GSM1: Modem is registered to the network
2011-06-05 19:50:49,6, GSM1: Selecting PDU mode
2011-06-05 19:50:49,7, GSM1: -> AT+CMGF=0
2011-06-05 19:50:49,7, GSM1: Command is sent, waiting for the answer
2011-06-05 19:50:49,7, GSM1: <- OK
2011-06-05 19:50:49,7, GSM1: -> AT+CMGS=29
2011-06-05 19:50:49,7, GSM1: Command is sent, waiting for the answer
2011-06-05 19:50:50,7, GSM1: <- >
2011-06-05 19:50:50,7, GSM1: -> 0031000B911497674673F80000FF11C1F93AED3E83CC6F3
9485E86BFE574Z
2011-06-05 19:50:50,7, GSM1: Command is sent, waiting for the answer
2011-06-05 19:50:53,7, GSM1: <- +CMGS: 239 OK
2011-06-05 19:50:53,5, GSM1: SMS sent, Message_id: 239, To: 41xxxxxxxxx, sendin
g time 7 sec.
|
Sun Jun 05, 2011 15:40
|
lbh00: thanks for the quick reply!
ok for the CMMS, but are there any other options that I can tweak to speed up the process of sending an sms? any tutorial about this topic that I can find on this site?
Regards
lbh
|
Sat Jun 04, 2011 22:45
|
lbh00: Operating system name and version: busy box
Version of smsd: 3.1.14
Smsd installed from: sources
Name and model of a modem / phone: SIM300
Interface: serial
I am trying to use a fast mode for sending sms'es. Currently it takes about 8 sec to send one sms.
I have seen something like AT+CMMS=2 that would improve performance
however my modem does not seem to support this command:
AT+CMMS=?
ERROR
Can anyone help?
lbh
|
Sat Jun 04, 2011 21:13
|
lbh00: 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
|
Wed May 04, 2011 09:19
|
lbh00: 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
|
Wed Apr 27, 2011 16:57
|
lbh00: 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
|
Wed Apr 27, 2011 15:41
|
lbh00: 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
|
Page: 1
Time in this board is UTC.
|
|
|
 |
|
 |
|