企业微信Android蓝牙通讯接受数据特别慢

小游戏 企业微信 微信支付 小程序 文章 2020-07-30 21:10 879 0 全屏看文

AI助手支持GPT4.0

企业微信Android蓝牙通讯接受数据特别慢
问题类型 API/组件名称 终端类型 微信版本 基础库版本
Bug 设备-蓝牙 微信安卓客户端 3.0.25 2.0.0

我们买一块蓝牙指纹采集仪设备,需要录入指纹信息。流程如下:

1、连接设备。2、开始notify监听。3、发送录入指纹指令。4、在设备上录入指纹。5、设备上传指纹图片数据。

前四步都没有问题,但是在设备上传指纹图标的时候特别慢。Android设备在接受数据的时候差不多需要等待2分钟的时间,图片文件流大小为36864字节。Ios设备在接受数据的时候是正常的,花费时间大概在3、4秒。厂家给提供了SDK,我们用SDK直接测试Android设备时正常的,花费的时间也在3、4秒左右。我们换了几个Android设备,在企业微信下测试发现都是这样的情况,在微信小程序测试也是这样。目前也不清楚到底是什么原因导致设备接受数据过慢,希望给与技术支持。

Problem type API / component name terminal type wechat version basic library version bug device Bluetooth wechat Android client 3.0.25 2.0.0 we buy a Bluetooth fingerprint collector device, and we need to input fingerprint information. The process is as follows: 1. Connect the equipment. 2. Start notify listening. 3. Send fingerprint input instruction. 4. Enter fingerprints on the device. 5. The device uploads fingerprint image data. The first four steps are OK, but it's very slow to upload fingerprint icons on the device. Android devices need to wait about 2 minutes to receive data, and the image file size is 36864 bytes. IOS devices are normal when receiving data, and it takes about 3 or 4 seconds. The manufacturer provided the SDK. When we directly test Android devices with SDK, it took about 3 or 4 seconds. We changed a few Android devices, and we found that this was the case in the enterprise wechat test, as well as in the wechat applet test. At present, it is not clear what causes the device to accept data too slowly. I hope to give technical support.

回答:

企业微信运营专员-千夜:

您好,是通过小程序的wx.readBLECharacteristicValue 读取低功耗蓝牙设备的特征值的二进制数据值来上传指纹图片数据吗

-EOF-

AI助手支持GPT4.0