Skip to content

频繁断开并重新连接设备,发送自定义数据数据(postCustomData)执行错误回调如何解决? #42

Description

@arlovip

如标题,首先A页面连接成功并发送自定义数据成功,断开设备client.close(),进入到B页面中重新连接并再次发送自定义数据,非常高的频率导致发送自定义数据执行了错误回掉(失败)!

image

如上图,从A页面进入B页面,B页面连接成功并发送自定义数据成功,返回到A页面,重新连接成功,但是发送自定义数据失败,执行了以下回掉,错误码是 public static final int CODE_INVALID_NOTIFICATION = -1000;

  @Override
        public void onError(BlufiClient client, int errCode) {

基本都是失败,请问原因是啥?

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions