Files
Loongson_2k0300_SmartCar_Fr…/debug/tcp.cpp

26 lines
542 B
C++

#include "tcp.hpp"
#include <cstdio>
bool tcp_init(const char* host, int port)
{
// TODO: 实现 TCP 客户端连接逐飞助手
// 当前为占位实现,后续接入 seekfree_assistant 协议
printf("[TCP] 占位: 连接 %s:%d (未实现)\n", host, port);
return false;
}
void tcp_send_image(const EdgeLines& lines)
{
// TODO: 发送 RGB565 调试图像
}
void tcp_send_osc(float ch1, float ch2, float ch3, float ch4)
{
// TODO: 发送虚拟示波器数据
}
void tcp_close()
{
// TODO: 关闭 TCP 连接
}