- From: imlllin18 via GitHub <sysbot+gh@w3.org>
- Date: Tue, 22 Nov 2016 08:28:00 +0000
- To: public-web-bluetooth-log@w3.org
imlllin18 has just created a new issue for https://github.com/WebBluetoothCG/web-bluetooth: == getPrimaryService is stuck == I don't know what happened with getPrimaryService. The log from chrome stops after getPrimaryService. I check the log from the platform and chrome at the same time. However, the notify from device is received successfully based on the log from the platform. (see file btmon.btsnoop) I can't retrieve the received data if i don't get the service... And I've read the many relevant issues but I still cannot solve it. log from the platform: [btmon.btsnoop.zip](https://github.com/WebBluetoothCG/web-bluetooth/files/605804/btmon.btsnoop.zip) part of the code: `navigator.bluetooth.requestDevice({filters: [{services: ['battery_service']}]}) .then(device => { this.device = device; console.log('> Found ' + this.device.name); return device.gatt.connect(); }) .then(server => { console.log('Getting server...'+server.connected); this.server = server; console.log('server device: '+this.server.device); console.log('server device: '+this.server.device); return Promise.all([ wait(3000), console.log('after 3 second '), server.getPrimaryService(0x180f) .then(service => { console.log(service.uuid); return this._cacheCharacteristic(service, 'battery_level'); }), ]); })` I'm using ubuntu 16.04 LTS with google-chrome-unstable 56.0.2922.1 dev (64-bit) Please view or discuss this issue at https://github.com/WebBluetoothCG/web-bluetooth/issues/336 using your GitHub account
Received on Tuesday, 22 November 2016 08:28:06 UTC