I am now one more, two kinds of protocol data via the same digital to different equipment, so the interference condition, how to filter out another deal data, have a sample?
CodePudding user response:
At the time of order two sets of agreement, A simple method, through the agreement first filter, such as protocol packets to the first byte is always A 0 x5a, protocol packet B the first byte is always 0 xa5, different equipment after receiving the data, through the first byte, filter of the equipment support protocol data,CodePudding user response:
Data parsing directly don't data directly to lose!