Releases: Shanyaliux/SerialPortSample
Releases · Shanyaliux/SerialPortSample
SerialPort-4.2.0
- [Fix] Some compilation warnings about bluetooth permissions
- [Modify] Upgrade
Kotlin
andGradle
versions - [Modify] Mark
ConnectionResultCallback
obsolete - [Feature] Added Ble device to send byte array
- [Feature] Added Ble device can work callback
- [Feature] Added Server
SerialPort-4.1.9
[Fix] When the sendUUID is incorrect, it crashes
SerialPort-4.1.8
- fix autoOpenDiscoveryActivity is always true
- DiscoveryActivity add English
- add setDiscoveryTime
SerialPort-4.1.7
fix on Android12 DiscoveryActivity do not work.
SerialPort-4.1.6
- fix some bleDevices can't receive data
- modify printPossibleBleUUID()
SerialPort-4.1.5
- 修复
- BLE长数据丢包
- 增改
SerialPortConfig
,配置信息设置类requestMtu
, 设置BLE发送的包长度- BLE设备的发送接收UUID可分开单独设置
printPossibleBleUUID
函数更新,将对应打印出UUID的属性
SerialPort-4.1.4
-
修复
- Glade版本不能更新
- 十六进制发送必须输入大写
- ble连接方式可以连接传统设备
-
新增
- 内置搜索页面选择连接方式,需要打开标志位
- SerialPort.kt 添加设置UUID的子函数
- doDiscovery 添加定位权限判断
SerialPort-4.1.3
新增修改UUID和收发数据格式日志打印
SerialPort-4.1.2
- 开放
SerialPortTools
类和DataUtil
类 - 修复中文接收和发送的乱码问题
- 新增接收字节数组回调
SerialPort-4.1.1
新增连接结果回调