收藏
回答

writeBLECharacteristicValue iOS 打印无法反应 ?

打印机 佳博 GP-P3 writeBLECharacteristicValue iOS 打印偶发性无法反应 ,android 正常

https://developers.weixin.qq.com/s/mtfRxtmR7eid


System: iPad, iOS 12.4.6, WeChat 7.0.13

Network: wifi

UA: Mozilla/5.0 (iPad; CPU OS 12_4_6 like Mac OS X) AppleWebKit/605.1.15 (KHTML, like Gecko) Mobile/15E148 MicroMessenger/7.0.13(0x17000d29) NetType/WIFI Language/zh_CN

WeChatLib: 2.11.3 (2020.6.23 23:33:09


index/index: onHide have been invoked

App: onHide have been invoked

App: onShow have been invoked

index/index: onShow have been invoked

getBLEDeviceCharacteristics success

Array [[object Object], [object Object]]

<ArrayBuffer: byteLength=237>

write 前 9DCAD02E-6009-DF76-5B3F-7CA180CF0C39======49535343-FE7D-4AE5-8FA9-9FAFD205E455===49535343-8841-43F4-A8D4-ECBE34729BB3

writeBLECharacteristicValue success writeBLECharacteristicValue:ok

调用success ok

writeBLECharacteristicValue success writeBLECharacteristicValue:ok

调用success ok

writeBLECharacteristicValue success writeBLECharacteristicValue:ok

调用success ok

writeBLECharacteristicValue success writeBLECharacteristicValue:ok

调用success ok

writeBLECharacteristicValue success writeBLECharacteristicValue:ok

调用success ok

writeBLECharacteristicValue success writeBLECharacteristicValue:ok

调用success ok

writeBLECharacteristicValue success writeBLECharacteristicValue:ok

调用success ok

writeBLECharacteristicValue success writeBLECharacteristicValue:ok

调用success ok

writeBLECharacteristicValue success writeBLECharacteristicValue:ok

调用success ok

writeBLECharacteristicValue success writeBLECharacteristicValue:ok

调用success ok

writeBLECharacteristicValue success writeBLECharacteristicValue:ok

调用success ok

writeBLECharacteristicValue success writeBLECharacteristicValue:ok

调用success ok

writeBLECharacteristicValue success writeBLECharacteristicValue:ok

调用success ok

writeBLECharacteristicValue success writeBLECharacteristicValue:ok

调用success ok

writeBLECharacteristicValue success writeBLECharacteristicValue:ok

调用success ok

writeBLECharacteristicValue success writeBLECharacteristicValue:ok

调用success ok

writeBLECharacteristicValue success writeBLECharacteristicValue:ok

调用success ok

writeBLECharacteristicValue success writeBLECharacteristicValue:ok

调用success ok

writeBLECharacteristicValue success writeBLECharacteristicValue:ok

调用success ok

writeBLECharacteristicValue success writeBLECharacteristicValue:ok

调用success ok

writeBLECharacteristicValue success writeBLECharacteristicValue:ok

调用success ok

writeBLECharacteristicValue success writeBLECharacteristicValue:ok

调用success ok

writeBLECharacteristicValue success writeBLECharacteristicValue:ok

调用success ok

writeBLECharacteristicValue success writeBLECharacteristicValue:ok

调用success ok

-----蓝牙断开成功 {"errCode":0,"errMsg":"closeBLEConnection:ok"}


最后一次编辑于  2020-06-30
回答关注问题邀请回答
收藏

2 个回答

  • 小程序技术专员-binnie
    小程序技术专员-binnie
    2020-06-29

    是指没有回调么?试试2.11.2会有问题么

    2020-06-29
    有用
    回复 3
    • 周岩
      周岩
      2020-06-30
      有回调,打印机没反应
      2020-06-30
      回复
    • 周岩
      周岩
      2020-06-30
      这个iOS 打印 ,我是一直都有问题的,没好过
      2020-06-30
      回复
    • 小程序技术专员-binnie
      小程序技术专员-binnie
      2020-07-08回复周岩
      麻烦复现下,上传日志我们看看

      你好,麻烦在手机微信那里上传下日志: 我->设置->帮助与反馈右上角有个上报日志的入口,麻烦提供一下微信号,时间点
      2020-07-08
      回复
  • 周岩
    周岩
    2020-06-30

    原因 小程序打印和手机端相比,iOS 速度特别慢,小程序提供方法回调完成,但是打印机还没有开始打印,原因 关闭closeBLEConnection 打印机的过早

    2020-06-30
    有用
    回复
登录 后发表内容
问题标签