|
|
SMS Server Tools 3 Community |
Welcome, Guest. The forum is currently read-only, but will open soon. |
Sun Sep 07, 2025 07:56 |
Page: 1
Keywords: Mode: All keywords (AND) |
Tue Nov 30, 2010 14:50
|
PPAAOOLLOO: Hi keke!
That's the info:
AT+CGMI
Undefined
AT+CGMM
Telefonika TM2
AT+CGMR
Vilnius 02.00.07
Thanks
Paolo
|
Tue Nov 30, 2010 11:20
|
PPAAOOLLOO: No, I haven't find it in the phone's manual.
I think the problem is that the modem can't switch (or maybe "ROAM") to the normal GSM network. The SIM is a 3G SIM, but in normal phones (my cellular phones, a NOKIA 6070, that can't handle 3G network) it goes naturally to the 2G network (the GSM ones).
And I can't find the AT command to force this roaming procedure.
|
Mon Oct 11, 2010 06:07
|
PPAAOOLLOO: Hi keke, thanks for your reply.
Unfortunatly, the device reply to my with an "ERROR" response.
Here it is:
AT+ZSNT?
ERROR
AT+ZSNT=?
ERROR
AT+ZSNT=1,1,0
ERROR
I don't have a "AT command manual" for my device.
I have to find the way to set the roaming mode on my device ...
|
Fri Oct 08, 2010 07:27
|
PPAAOOLLOO: Hi.
This is the reply to CGREG AT command:
AT+CGREG?
+CGREG: 0,0
AT+CGREG=?
+CGREG: (0-2)
Thanks in advance
Paolo
|
Fri Oct 08, 2010 07:06
|
PPAAOOLLOO: Operating system name and version: DEBIAN
Version of smsd: 3
Smsd installed from: sources
Name and model of a modem / phone: ONDA N101E
Interface: USB
Hi I'm Paolo.
I have a problem with a SIM of my operator (ITALY H3G). When I connect the modem ONDA N101E with that SIM to my SMS SERVER, and start application, the log file tells me this:
PIN handling: expected READY, modem answered +CME ERROR: 772
I find that error 772 means "SIM POWERED DOWN". What can I do? The sim works well on my phone, but it gives this answer in N101E modem. Maybe is it because the SIM is a 3G sim? But it goes by default on roaming GSM network on my phone. Have I to set the roaming procedures directly on the SIM?
Thanks in advance
Best regards
Paolo
|
Mon May 10, 2010 13:48
|
PPAAOOLLOO: Hi. I have re-compiled it, and I have a new error message that block smsd daemon.
I have try to connect a 4th modem, and it is well connected to ttyUSB2. So the situation on my machine is this:
1 internal modem mounted on ttyS1
1 external modem Falcom Twist mounted on ttyUSB0
1 external modem ONDA N101E mounted on ttyUSB1
1 external modem ONDA N101E mounted on ttyUSB2
When I try to configure 4 modem on smsd.conf, the daemon smsd does't start. It says:
*Starting sms daemon
*ERROR: smsdaemon failed to start
I try to use only 3 modems and it works (both with ttyS1-ttyUSB0-ttyUSB1 or ttyS1-ttyUSB0-ttyUSB2). I try to connect the modem ttyUSB1 on ttyUSB2 (and viceversa) and works only with 3 modems (it does'nt work when in smsd.conf I write to work with 4 modem).
What can I do? Where can be the problem?
Here is the smsd.conf file:
devices = GSM1,GSM2,GSM3,GSM4
logfile = /var/log/smsd.log
loglevel = 5
internal_combine = yes
outgoing = /mnt/flash/spool/outgoing
incoming = /mnt/flash/spool/incoming
sent = /mnt/flash/spool/sent
failed=/mnt/flash/spool/failed
mypath = /mnt/flash/etc/sms/
autosplit = 3
blocktime = 3
errorsleeptime = 3
[GSM1]
device = /dev/ttyS1
voicecall_hangup_ath = yes
hangup_incoming_call = yes
voicecall_ignore_modem_response = yes
regular_run_interval = 300
regular_run_cmd = AT+CSQ?
regular_run_logfile = /var/log/smsd_run_1.log
incoming = 2
queues = master
baudrate = 115200
rtscts = yes
cs_convert = yes
decode_unicode_text = yes
internal_combine = yes
eventhandler = /etc/sms/scripts/eventhandler
[GSM2]
device = /dev/ttyUSB0
voicecall_hangup_ath = yes
hangup_incoming_call = yes
voicecall_ignore_modem_response = yes
regular_run_interval = 300
regular_run_cmd = AT+CSQ
regular_run_logfile = /var/log/smsd_run_2.log
incoming = 2
queues = master
baudrate = 115200
rtscts = yes
cs_convert = yes
decode_unicode_text = yes
internal_combine = yes
eventhandler = /etc/sms/scripts/eventhandler
[GSM3]
device = /dev/ttyUSB1
voicecall_hangup_ath = yes
hangup_incoming_call = yes
voicecall_ignore_modem_response = yes
regular_run_interval = 300
regular_run_cmd = AT+CSQ
regular_run_logfile = /var/log/smsd_run_3.log
incoming = 2
queues = master
baudrate = 230400
rtscts = yes
cs_convert = yes
decode_unicode_text = yes
internal_combine = yes
eventhandler = /etc/sms/scripts/eventhandler
[GSM4]
device = /dev/ttyUSB2
voicecall_hangup_ath = yes
hangup_incoming_call = yes
voicecall_ignore_modem_response = yes
regular_run_interval = 300
regular_run_cmd = AT+CSQ
regular_run_logfile = /var/log/smsd_run_4.log
incoming = 2
queues = master
baudrate = 230400
rtscts = yes
cs_convert = yes
decode_unicode_text = yes
internal_combine = yes
eventhandler = /etc/sms/scripts/eventhandler
[queues]
master = /mnt/flash/queues/master
[provider]
master = 0, 1, 2, 3, 4, 5, 6, 7, 8, 9
|
Mon May 03, 2010 15:47
|
PPAAOOLLOO: Sorry, Let me explain about src/Makefile:
I have not compiled the SmsTools3, a friend of mine compiled it (and I don't know if he used the options NUMBER_OF_MODEMS). Have I to re-compile it using the properties NUMBER_OF_MODEMS=64?
Thanks in advance
Best regards
|
Mon May 03, 2010 15:30
|
PPAAOOLLOO: No, I have not changed it. Where can I find that file?
And Yes, My devices are sets like GSM1, GSM2, GSM3 and GSM4.
Thanks a lot
Bye
|
Mon May 03, 2010 14:04
|
PPAAOOLLOO: Hi. I tryed to connect more than 1 ONDA N101E, and when I try to connect 4 modem it says:
2010-05-03 15:57:11,2, smsd: Smsd v3.1.6 started.
2010-05-03 15:57:11,2, smsd: Running as root:root.
2010-05-03 15:57:11,2, smsd: There was 1 error while reading the config file:
2010-05-03 15:57:11,2, smsd: - Too many devices specified. Increase NUMBER_OF_MODEMS value in src/Makefile.
2010-05-03 15:57:11,2, smsd: There was 1 major problem found.
2010-05-03 15:57:11,2, smsd: Smsd mainprocess terminated.
How can I fix it?
Thanks in advance
Best Regards
|
Mon May 03, 2010 13:31
|
PPAAOOLLOO: Great! It works!!!!!!!
Thanks thanks thanks!
Now I try with something more difficult: connecting more than 1 ONDA N101E!
I have a Hub USB that allows me to connect up to 7 usb using only 1 usb port. It's the "D-LINK DUB-H7 USB 2.0 Hub".
Do you think that I will do it? Stay tuned! :D
Thanks a lot ...
|
Mon May 03, 2010 12:13
|
PPAAOOLLOO: Hi. Thanks for your help.
I attached the device once again, and dmesg says:
usb 1-2: new full speed USB device using at91_ohci and address 5
usb 1-2: New USB device found, idVendor=10c4, idProduct=ea60
usb 1-2: New USB device strings: Mfr=1, Product=2, SerialNumber=3
usb 1-2: Product: USB to UART Bridge Controller
usb 1-2: Manufacturer: Silicon Labs
usb 1-2: SerialNumber: 0001
usb 1-2: configuration #1 chosen from 1 choice
cp210x 1-2:1.0: cp210x converter detected
usb 1-2: reset full speed USB device using at91_ohci and address 5
usb 1-2: cp210x converter now attached to ttyUSB1
Next I set the log level to 7, and baudrate to 19200. That's what log files says when I start smsd:
2010-05-03 14:04:23,7, GSM1: put_command expected (OK)|(ERROR), timeout occurred. 6.
2010-05-03 14:04:23,7, GSM1: <-
2010-05-03 14:04:23,7, GSM1: -> AT
2010-05-03 14:04:23,7, GSM1: Command is sent, waiting for the answer
2010-05-03 14:04:28,7, GSM1: put_command expected (OK)|(ERROR), timeout occurred. 7.
2010-05-03 14:04:28,7, GSM1: <-
2010-05-03 14:04:29,7, GSM1: ->
2010-05-03 14:04:29,7, GSM1: Command is sent, waiting for the answer
2010-05-03 14:04:34,7, GSM1: put_command expected (OK)|(ERROR), timeout occurred. 8.
2010-05-03 14:04:34,7, GSM1: <-
2010-05-03 14:04:34,7, GSM1: -> AT
2010-05-03 14:04:34,7, GSM1: Command is sent, waiting for the answer
2010-05-03 14:04:39,7, GSM1: put_command expected (OK)|(ERROR), timeout occurred. 9.
2010-05-03 14:04:40,7, GSM1: <-
2010-05-03 14:04:40,7, GSM1: ->
2010-05-03 14:04:40,7, GSM1: Command is sent, waiting for the answer
2010-05-03 14:04:45,7, GSM1: put_command expected (OK)|(ERROR), timeout occurred. 10.
2010-05-03 14:04:45,7, GSM1: <-
2010-05-03 14:04:45,7, GSM1: -> AT
2010-05-03 14:04:45,7, GSM1: Command is sent, waiting for the answer
2010-05-03 14:04:50,7, GSM1: put_command expected (OK)|(ERROR), timeout occurred. 11.
2010-05-03 14:04:50,7, GSM1: <-
2010-05-03 14:04:50,7, GSM1: ->
2010-05-03 14:04:50,7, GSM1: Command is sent, waiting for the answer
2010-05-03 14:04:55,7, GSM1: put_command expected (OK)|(ERROR), timeout occurred. 12.
2010-05-03 14:04:55,7, GSM1: <-
2010-05-03 14:04:56,7, GSM1: -> AT
2010-05-03 14:04:56,7, GSM1: Command is sent, waiting for the answer
2010-05-03 14:05:01,7, GSM1: put_command expected (OK)|(ERROR), timeout occurred. 13.
2010-05-03 14:05:01,7, GSM1: <-
2010-05-03 14:05:01,7, GSM1: ->
2010-05-03 14:05:01,7, GSM1: Command is sent, waiting for the answer
What can I do? Thanks a lot
|
Mon May 03, 2010 07:10
|
PPAAOOLLOO: Operating system name and version: Debian
Version of smsd: 3.1.6
Smsd installed from: sources
Name and model of a modem / phone: ONDA N101E
Interface: USB
Hi I'm new of this site and I would like to say hallo to all!
Next, here my question: I have to connect my USB Modem ONDA N101E to my machine, for receiving SMS. When I connect it to the USB port, dmesg says:
USB Serial support registered for pl2303
pl2303 1-1:1.0: pl2303 converter detected
usb 1-1: pl2303 converter now attached to ttyUSB0
usbcore: registered new interface driver pl2303
pl2303: Prolific PL2303 USB to serial adaptor driver
Next, I configure the device to smsd.conf file:
[GSM1]
device = /dev/ttyUSB0
voicecall_hangup_ath = yes
hangup_incoming_call = yes
voicecall_ignore_modem_response = yes
regular_run_interval = 300
#regular_run_cmd = AT+CSQ?
regular_run_logfile = /var/log/smsd_run.log
#regular_run_loglevel = 7
#init=AT
#SPECIFY INCOMING PRIORITY 0 disable 1 low 2 High
incoming = 2
queues = master
baudrate = 115200
rtscts = yes
cs_convert = yes
decode_unicode_text = yes
internal_combine = yes
#NEVER EDIT UNDER THIS LINE
eventhandler = /etc/sms/scripts/eventhandler
Then I restart smsd daemon, and when I receive a SMS to that device, I read these lines on smsd.log file:
GSM1: Modem is not ready to answer commands
GSM1: Unexpected input: 0o
What can I do to configure my modem?
Have I to change the smsd.conf file?
Thanks in advance
Bye
|
Page: 1
Time in this board is UTC.
|
|
|
 |
|
 |
|