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
hi,
i am building an android app using ionic5 framework in which cordova-plugin-ble-central plugin is used. The BLE peripheral has a characteristic which pushes notifications to phone.i can scan,connect,and readrssi,also can write to ble,but when i read 0x1800 0x2a00 it did not response data,it's empty.
i enable the notification and register the callback by calling startNotification(),when the ble sends message, the phone just received [{},1],or [{},2],[{},3].... why no data,just has received times
hi,
i am building an android app using ionic5 framework in which cordova-plugin-ble-central plugin is used. The BLE peripheral has a characteristic which pushes notifications to phone.i can scan,connect,and readrssi,also can write to ble,but when i read 0x1800 0x2a00 it did not response data,it's empty.
i enable the notification and register the callback by calling startNotification(),when the ble sends message, the phone just received [{},1],or [{},2],[{},3].... why no data,just has received times
start_notification(){ this.ble.startNotification(this.connected_device.id, SERVICE_ID_READ,CHARACTERISTICS_ID_READ).subscribe( msg => { this.setStatus("notification succ:" + JSON.stringify(msg)); }, err => { this.setStatus("notification err:" + JSON.stringify(err)); } ) }
The text was updated successfully, but these errors were encountered: