Hi, No, setting these two to zero (0) will not disable them. In fact you will force them to run like crazy! You can set them to something really large like 3600 (~ 1 hour - the values are in seconds).
Do you see the same cause on every error? I will look at it. On 28 April 2014 09:53, Punked via SMSLib Discussion Group < smslib+noreply-apn2wqe0gqo7icnk76x3gzb5ueluwdq-wcunxzrsdgft-u...@googlegroups.com > wrote: > Thanasis, > > How can I disable KEEPALIVE and WATCHDOG? If I set both to 0, will it > disable it? > > -Dsmslib.serial.keepalive=*0* and -Dsmslib.watchdog=*0* > > > > I believe they don;t release the port when a timeout occurs. When the > queue is dispatching the SMS and watchdog/keepalive both try to access the > device, it causes problems. Then I get port in use exception. > > -- > You received this message because you are subscribed to the Google Groups > "SMSLib Discussion Group" group. > To view this discussion on the web visit > https://groups.google.com/d/msgid/smslib/45976352-e0b6-45d3-b3b8-56dcc4dff25f%40googlegroups.com<https://groups.google.com/d/msgid/smslib/45976352-e0b6-45d3-b3b8-56dcc4dff25f%40googlegroups.com?utm_medium=email&utm_source=footer> > . > -- You received this message because you are subscribed to the Google Groups "SMSLib Discussion Group" group. To view this discussion on the web visit https://groups.google.com/d/msgid/smslib/CAGY2Xjk9fOiRPVuQk9T8nz5WMb1E%3DkK_2ux6Fq%2BOOq33JQ8kMQ%40mail.gmail.com.
