This file contains ambiguous Unicode characters that may be confused with others in your current locale. If your use case is intentional and legitimate, you can safely ignore this warning. Use the Escape button to highlight these characters.
// tcp_server.h - TCP 服务端(新版统一扫描协议)
#ifndef TCP_SERVER_H
#define TCP_SERVER_H
#include"PAVO2_SDK/include/pavo2_driver.h"
// 启动 TCP 服务端(阻塞运行直到进程退出/失败)。
// 需在 WSAStartup、load_config、connect_lidar 之后调用。
voidrun_tcp_server(pavo2::pavo2_driver&driver);
// 启动 HTTP 服务端(阻塞运行直到进程退出/失败)。
// POST json:body 与 TCP 协议消息相同(不带结尾 '>'),响应同 TCP(不带 '>')。