4 thoughts on “Checking DCD together with command response”
In FTP python example I found testing DCD state together with checking “NO CARRIER” or “CONNECT” string in command response, but I did not find any information about DCD checking in #FTP commands description. Is it necessary to check DCD state or checking command response is sufficient? When should I check DCD state together with checking command response generally?
DCD is an alternative (and faster) method to check connection status. You can choose to not use DCD and use for example timeouts .
Hello Branislav,
may I ask which FTP python example are you referring to? Is it publicly available?
Thanks, Tom
Hello Tom,
I got these examples from our distributor. For distributors and direct customers they are downloadable from Telit web site.
We use cookies to enhance your browsing experience and help us improve our websites. To improve our website, we carefully select third parties that use cookies to allow us to serve specific content and achieve the purposes set out in our cookie policy. For more information on how to make adjustments through your browser to the cookies being used on your device, please click Find Out More link. By closing this banner or continuing to browse our website, you agree to our use of such cookies. FIND OUT MORE
In FTP python example I found testing DCD state together with checking “NO CARRIER” or “CONNECT” string in command response, but I did not find any information about DCD checking in #FTP commands description. Is it necessary to check DCD state or checking command response is sufficient? When should I check DCD state together with checking command response generally?
DCD is an alternative (and faster) method to check connection status. You can choose to not use DCD and use for example timeouts .
Hello Branislav,
may I ask which FTP python example are you referring to? Is it publicly available?
Thanks, Tom
Hello Tom,
I got these examples from our distributor. For distributors and direct customers they are downloadable from Telit web site.