freyskill/SerialPortHelper

A solution for timeout null point Exception

zhushenwudi opened this issue · 0 comments

Download library zip package and import into Android Studio, open project and into library moudle. Find a file that name is SphDataProcess.class, motify two function that name is writeData() and reWriteCmdOrExit(), put catch block to pack the function, then use it happily.

ps. this library is too useful to use for serial port !!!