Expert answer:
Hello, We are very glad to cooperate with your company, thank you for using our products
About your company encountered in the process of secondary development of communication 0 x7F, 0 x7F is used as a mark of communication start and end. If it appear in your communication, we require to translation to avoid we treat as end mark.When you write code in this, please refer to the following decoding
Transcoding
Due to the command used 0 x7E as command of beginning and ending logo, so 7E the digit can't appear in the command's content , it can only appear in the command of head and tail.
Transcoding is as follows:
0 x7F 01 = 0 x7E
0 x7F 02 = 0 x7F
Decoding using place, before sending the command, you should test and calculate the command, and then check 0 x7E and 0 x7F data. If you found the 0 x7E or 0 x7F, and then convert the above formula, after receiving the command, you should anti-translation check and inspection date according to the above formula.