-
Notifications
You must be signed in to change notification settings - Fork 252
Description
Hi, I have a class that extends BLEClient. I have it set to call this.disconnect() after receiving a total of 10 notifications from the onCharacteristicNotification() callback. However, whenever this.disconnect() gets called, I receive: "# Break: HeartRateClient.prototype.?: call disconnect: no function!' indicating that this.disconnect() is not a function. To try to debug this, I looked at the examples included in the sdk, and the only one that uses this.disconnect is the advertiser example which I can't really run since I can't even connect it to anything. My app does however disconnect automatically if i turn off the bluetooth server it's being connected to. But I would still like the ability to disconnect it myself by calling the method, please help!