广播命令已接收的回复不再触发回调

检测命令0x0c只能使用单播方式,广播方式因为不能即时回复停止信号,回复会出错
  添加电阻测试命令,添加自检命令
This commit is contained in:
ranchuan
2023-12-13 18:29:46 +08:00
parent fe11c52253
commit cc5b1b7458
13 changed files with 606 additions and 76 deletions

View File

@@ -231,7 +231,7 @@ void can_host::recv_data_cb()
int can_host::write(int dst,myarray data)
{
// qDebug()<<"can send to:"<<dst<<data.toHex(' ');
qDebug()<<"can send to:"<<dst<<data.toHex(' ');
append(dst, 1, data);
// qDebug("can send end.");
return data.size();