noble/bleno

Secure Write iOS 10.x not working

Open

#339 ouverte le 19 sept. 2017

Voir sur GitHub
 (0 commentaires) (0 réactions) (0 assignés)JavaScript (2 083 stars) (465 forks)batch import
help wanted

Description

Tried everything

  constructor() {
    super({
      uuid: 'xxxxx', //removed from post
      properties: [/*'read',*/ 'write', 'notify'],
      secure: ['write'],
    });

    this._updateValueCallback = null;
    this._value = new Buffer(0);
  }

iOS app keeps failing with Error Domain=CBErrorDomain Code=0 "Unknown error." UserInfo={NSLocalizedDescription=Unknown error.}

Guide contributeur