格式化,并新增打印串口发送内容
This commit is contained in:
@@ -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);
|
||||
|
||||
|
||||
Reference in New Issue
Block a user