HID接收到的数据转成字串 bytes 转成 string
For i = 0 To 63
str$ = str$ & Hex(RecvBytes(i))
strTxt$ = strTxt$ & Convert.ToChar(RecvBytes(i)) '转成人可读的字符串
Next
txt_Received.Text = str & vbCrLf
txt_Rececived_Char.Text = strTxt$
str$ = ""
strTxt$ = ""
For i = 0 To 63
str$ = str$ & Hex(RecvBytes(i))
strTxt$ = strTxt$ & Convert.ToChar(RecvBytes(i)) '转成人可读的字符串
Next
txt_Received.Text = str & vbCrLf
txt_Rececived_Char.Text = strTxt$
str$ = ""
strTxt$ = ""