This post is older than 2 years and might not be relevant anymore
More Info: Consider searching for newer posts

Unable to read encrypted characteristics from certain Android devices

Hello everybody,

I'm developing a webapp that need to communicate with my BLE device, an nRF52 DK Board.

The firmware has some open and some encrypted characteristics.

The app is developer though Ionic, a crossplatform framework to build both android and iOS apps with one codebase.

Right now, I'm using this plugin to handle connection and operations via BLE: https://github.com/don/cordova-plugin-ble-central

Pretty much everything works fine, I'm using the setPin method to read/write encrypted characteristics.

Although, on most of Huawei devices, this doesn't work.

It connects successfully, but as soon as I try to read an encrypted characteristic, it fails with status=137

Has anybody encountered same issue and been able to solve it?

Thanks!

Parents Reply Children
No Data
Related