Author |
Post |
|
#1 Wed Oct 06, 2010 06:52, 165 months ago.
|
Member
Registered: May 2009
Location: Hinnerup, Denmark
|
Operating system name and version: W2k8 and Cygwin Version of smsd: 3.1.6 Smsd installed from: sources Name and model of a modem / phone: Siemens MC35 Interface: Serial using RS232-to-IP Server Hello, i´m having the following problem with my modem AFTER I have connected my new RS232-to-IP adapter. RS232-to-IP: http://www.roline.dk/RolFront/varekat3.aspx?art=4288 When I start the sms server, then I works fine for a minute or two, but then it makes this errors and hangs This is the error with rtscts=no in conf file.: This is the error with rtscts=yes in conf file.: What can I do to prevent this error ?Best regards WolfieDK
|
|
#2 Wed Oct 06, 2010 09:31, 165 months ago.
|
Administrator
Registered: May 2009
Location: Jyväskylä, Finland
|
Your model of this device does not support hardware handshake, which causes that only rtscts = no setting can be used.
Have you checked and changed the baudrate setting? In 3.1.6 it defaults to 115200, but with this device only values 300 - 921600 are supported. Probably a value 57600 is a good choice.
I do not know why this device works only for a few minutes under Cygwin. Perhaps it has something to do with drivers which do not work properly. I think that there is not much to do for fixing this issue.
It may be interesting to test if this device can be used as a network modem, which is supported since 3.1.7. However, the "quick guide" talks about IP address and netmask, but it does not say what port is used. If you have some spare time and interest, you could try to capture network traffic using Wireshark application. It may give a hint about what causes the error, and it will show if this device can be used directly through the socket.
|
|
#3 Wed Oct 06, 2010 12:31, 165 months ago.
|
Member
Registered: May 2009
Location: Hinnerup, Denmark
Topic owner
|
Hi Keke, and thank you soooo mutch for a awesome apllication and forum. It is so mutch appriciated Quote Have you checked and changed the baudrate setting? In 3.1.6 it defaults to 115200, but with this device only values 300 - 921600 are supported. Probably a value 57600 is a good choice.
Yes, I have all ready changed the baudrate to 9600 on both the modem and the rs232-to-ip device. But the error still occur. I will try to change it to 57600 as requested. Quote However, the "quick guide" talks about IP address and netmask, but it does not say what port is used.
It uses TCP port 1235 ? Quote ... and it will show if this device can be used directly through the socket....
I have all ready wireshack installed, shall I capture a log, and paste it here, can you then help me furtere ? Best regards WolfieDK
|
|
#4 Wed Oct 06, 2010 12:51, 165 months ago.
|
Administrator
Registered: May 2009
Location: Jyväskylä, Finland
|
WolfieDK wrote Quote ... and it will show if this device can be used directly through the socket....
I have all ready wireshack installed, shall I capture a log, and paste it here, can you then help me furtere ?
I could try to check what can be examined from the dump... Instructions in the private block: Hidden private text.
|
|
#5 Thu Oct 14, 2010 09:37, 165 months ago.
|
Member
Registered: May 2009
Location: Hinnerup, Denmark
Topic owner
|
Hello Keke Thanks for you help, i have found the problem. I have updated from 3.1.6 to 3.1.14 and it stil makes some other errors. But then I changed from dev/com3 to @172.0.10.5:1235 and then it can connect without the windows driver/software from the manufactor. But it stil makes an error, so I changed the rtscts=off to rtscts=on again, and now it works flawless Best regards WolfieDK
|
|
#6 Thu Oct 14, 2010 10:24, 165 months ago.
|
Administrator
Registered: May 2009
Location: Jyväskylä, Finland
|
Thank's for the information.
I'm still wondering if rtscts really has any effect when device is a socket. At least it should not have...
|
|
#7 Tue Oct 19, 2010 21:40, 164 months ago.
|
Member
Registered: May 2009
Location: Hinnerup, Denmark
Topic owner
|
Hi Keke Quote I'm still wondering if rtscts really has any effect when device is a socket. At least it should not have...
Okay, do you need any information before you can confirm if there is a problem with rtscts or not? I will gladly post logs or configurations files if needed? Best regards WolfieDK
|
|
#8 Wed Oct 20, 2010 10:31, 164 months ago.
|
Administrator
Registered: May 2009
Location: Jyväskylä, Finland
|
WolfieDK wrote Quote I'm still wondering if rtscts really has any effect when device is a socket. At least it should not have...
Okay, do you need any information before you can confirm if there is a problem with rtscts or not? I will gladly post logs or configurations files if needed?
In the code there is DEVICE_IS_SOCKET tested. If you can show with smsd.conf and smsd.log files that rtscts still has an effect, it might be interesting to check.
|
|
#9 Wed Oct 20, 2010 21:13, 164 months ago.
|
Member
Registered: May 2009
Location: Hinnerup, Denmark
Topic owner
|
Hi Keke! Quote In the code there is DEVICE_IS_SOCKET tested...
Sorry, but will you please tell me where I can find this ? Best regards WolfieDK
|
|
#10 Thu Oct 21, 2010 10:14, 164 months ago.
|
Administrator
Registered: May 2009
Location: Jyväskylä, Finland
|
WolfieDK wrote Quote In the code there is DEVICE_IS_SOCKET tested...
Sorry, but will you please tell me where I can find this ?
My writing was unclear... What I meant was that there is DEVICE_IS_SOCKET tested, and therefore the code does not use the setting rtscts at all, and it then should not have any effect. You have now a working system with decice = @172.0.10.5:1235 and rtscts = yes. For testing, do not change anything else than rtscts = no, and restart the smsd. There should be no errors in the log, but in the case of errors show the piece of log here.
|
|
#11 Sat Nov 20, 2010 12:39, 163 months ago.
|
Administrator
Registered: May 2009
Location: Jyväskylä, Finland
|
Have you checked rtscts = no and found results, or should I close this topic?
|
|
#12 Wed Nov 24, 2010 18:45, 163 months ago.
|
Member
Registered: May 2009
Location: Hinnerup, Denmark
Topic owner
|
Hi Keke Sorry for not posting befor. I dont have the same spare time after I become daddy :-) I will test this tomorrow
|