格式化,并新增打印串口发送内容

This commit is contained in:
zhengxuan.zhang
2022-11-22 16:43:31 +08:00
parent 593080a025
commit 341aaa08ff
9 changed files with 766 additions and 125 deletions
@@ -128,6 +128,10 @@ public:
// Convert ascii hex into an int
int HexToInt(char* Data, int Bytes);
//字节数据转换为16进制字符串
CString ToHexStr(const char* pData, int nLen);
DWORD Send(LPCSTR buffer, int l, BOOL needsResponse = FALSE) override;
//virtual DWORD Send(CString what);