how to establish a connection between a server and two clients in matlab via tcp / ip by using an interface for the server and each client at its own interface
3 次查看(过去 30 天)
显示 更早的评论
Communication protocols between Clients (SS nodes) and Server (FC) would be established according to
operation mode: automatic or manual. Automatic mode allows continuous CSS operations, while manual
mode performs only one detection. Commands “sense” and “stop” are defined to control operations of
each SS node. These commands are sent from FC to each SS node to start and stop local SS operations.
Communication procedure is stated as follows: first, connection between Clients and Server are established by properly configuring IP address and port number. Then, each SS node starts detection process
only when FC broadcasts the “sense” command. Local detection results are sent back automatically to
FC. Finally, SS nodes sleep until new “sense” a command is established in case of manual mode. On
the other hand, if automatic mode is selected, SS nodes perform continuous CSS operations until “stop”
command is transmitted by the FC.
0 个评论
另请参阅
类别
在 Help Center 和 File Exchange 中查找有关 Startup and Shutdown 的更多信息
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!