xiaowang1314 / uniapp-plugin-collections

uni-app项目插件功能集合https://github.com/xiaowang1314/uniapp-plugin-collections

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

蓝牙打印无法使用

zhyc9de opened this issue · comments

设备: 佳博GP3120-TU 蓝牙打印机
能获取到蓝牙信息

{
	"platform": "android",
	"deviceId": "DC:0D:30:8A:3D:9E",
	"writeCharaterId": "",
	"writeServiceId": "",
	"notifyCharaterId": "",
	"notifyServiceId": "",
	"readCharaterId": "",
	"readServiceId": ""
}

但是发送命令的时候显示

{
	"code": 10013,
	"message": "invalid data,please check parameters"
}

上面信息是android8.0的,uni.getBLEDeviceServices无法获取services
ios13.3标签打印ok

应该是我这打印机不支持esc模式...