I am developing software around an existing hardware product. I have full control over the communications protocol, but I'm not sure how to facilitate device discovery.
A device may have a number of possible configurations (i.e., baud rate, data bit, parity bits, stop bits) that must be detected at runtime. What is the easiest and most reliable way for software to determine which configuration it uses? Again, I have full control over the communication protocol, so I can determine any mechanism I want.
? ? "-" (, RS-232) multi-drop (, RS-485)? ( ) , , .
, , , , , "ack" . "let talk", .
. , . , 70- . 8 , , . CRC .
Source: https://habr.com/ru/post/1705847/More articles:Problems with ASP.NET JSON Webservice response type - jsonVim: need help with a little script code to highlight - scriptinganalytics database - mysqlIntegration of LinkPoint payments with IIS7 w3wp.exe crashes - .netCOM vs WMI to provide information - windowsget stack trace information into tomcat custom error 500 pages - springUsing a custom encoding scheme instead of a GUID as a primary key - sqlASP.Net MVC and Webservices / Ajax - Which Route to Take? - asp.net-mvcDownloading Libraries in Dr Scheme - lispЕсли сбор бизнес-объектов наследуется от Collection, когда он не расширяет его? - inheritanceAll Articles