AndroidSerialPort icon indicating copy to clipboard operation
AndroidSerialPort copied to clipboard

Android串口通信SDK,由 Google 串口通信库进行封装,可同时打开多个串口,快速接入。并扩展支持设置 su 路径、串口路径、波特率、校验位、数据位、停止位

Results 10 AndroidSerialPort issues
Sort by recently updated
recently updated
newest added

因为串口设备是 一直主动上报数据 ,目前测试发现 打开串口后 应用频繁GC

按说明添加了 dependencies { implementation 'com.github.Acccord:AndroidSerialPort:1.5.0' } 但是一直无法正常引用 Failed to resolve: com.github.Acccord:AndroidSerialPort:1.5.0

有时发现接收到的数据和使用串口工具助手发送后接收到的数据不一致,有点懵。。

android 设备有多个串口位置,串口设备如何做到任意的插那个串口都可以进行通讯

请问一下同时打开两个串口,应该怎么区分数据,现在有数据混乱的现象,还有,如果我想要两个串口同时读取和接收数据,这部分代码应该怎么写呀?

请问android系统需要root吗

项目中使用的波特率是256000,查看项目中是没有的,请问这个怎么增加呢

项目要同时开启2个串口,第二个串口开始失败,返回状态码-2,但是使用adb 查看是有数据的。请帮忙分析

java.lang.UnsatisfiedLinkError: No implementation found for java.io.FileDescriptor android.serialport.SerialPort.open(java.lang.String, int, int, int, int, int, int) (tried Java_android_serialport_SerialPort_open and Java_android_serialport_SerialPort_open__Ljava_lang_String_2IIIIII) 你好我是一个新手,报这个错误有方法解决吗?