manekinekko / angular-web-bluetooth

The missing Web Bluetooth module for Angular
https://manekinekko.github.io/angular-web-bluetooth/
MIT License
196 stars 58 forks source link

Streaming of values stops working when the parameter enableTracing is set to false #41

Closed manishbansal8843 closed 5 years ago

manishbansal8843 commented 6 years ago

Describe the bug Streaming of values stops working when the parameter enableTracing is set to false.

I created one application which reads pedeometer stats from smart band (BLE) and then display on the screen. Further, the values get refreshed when the someone wears the band and move. This functionality has been enabled by calling below function as described in ReadME.md

streamValues() {
    // call this method to get a stream of values emitted by the device
    return this.ble.streamValues$();//.pipe(map((value: DataView) => value.getUint8(0)));
  }

This works absolutely fine when enableTracing parameter is set to true inside the module configuration. However, it stops working when same is set to false.

To Reproduce NA

Expected behavior By setting enableTracing to false should not impact any functionality.

Screenshots NA Desktop (please complete the following information): NA

Smartphone (please complete the following information):

Additional context NA

manekinekko commented 5 years ago

It seems to work here... image

Can you try with the recent release v7.0.0 and reopen another issue?

I'm closing this one.