You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository was archived by the owner on Oct 12, 2022. It is now read-only.
Dear sir:
Is there any example code for subscribe notify?
I use code like below , only got subscribed call back, no any subscribedResult.
Not the device issue, because device work well with LightBlue Explorer
new Promise(function (resolve, reject) {
bluetoothle.subscribe(resolve, reject,
{ address: address, service: serviceUuid, characteristic: characteristic.uuid });
}).then(subscribeSuccess, handleError);
function subscribeSuccess(result)
{
if (result.status == "subscribedResult") {
alert(result.value);
}
}