noble/bleno

Secure Write iOS 10.x not working

Open

#339 aperta il 19 set 2017

Vedi su GitHub
 (0 commenti) (0 reazioni) (0 assegnatari)JavaScript (465 fork)batch import
help wanted

Metriche repository

Star
 (2083 star)
Metriche merge PR
 (Nessuna PR mergiata in 30 g)

Descrizione

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.}

Guida contributor