cl-6666 / serialPort

Android串口通信框架、串口框架
131 stars 25 forks source link

v3.0 数据被截断,偶发,该怎么处理,原始数据如下 #10

Closed laizhouyingdixiaoma closed 2 years ago

laizhouyingdixiaoma commented 2 years ago

{"method":"report","params":{"temperature":444.80000,"humidity":125.300000,"pressure1":0.007626,"pressure2":0.000000,"depth1":0.002808,"depth2":0.000000,"lockstate":0}}

cl-6666 commented 2 years ago

您好,波特率都是对的么? 可以根据帧头做一下粘包处理