noble/bleno

Secure Write iOS 10.x not working

Open

#339 opened on Sep 19, 2017

View on GitHub
 (0 comments) (0 reactions) (0 assignees)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.}

Contributor guide