NordicSemiconductor / Android-nRF-Toolbox

The nRF Toolbox is a container app that stores your Nordic Semiconductor apps for Bluetooth Low Energy in one location.
https://www.nordicsemi.com/Software-and-tools/Development-Tools/nRF-Toolbox
BSD 3-Clause "New" or "Revised" License
1.11k stars 465 forks source link

Error on writing characteristic (129) #89

Closed cinny007 closed 4 years ago

cinny007 commented 4 years ago

I connected accu-chek Instant device to read glucose data. I pair the device and then click on ALL, a toast is shown Error on writing characteristic (129).

philips77 commented 4 years ago

Hello, Does it happen every time you try? Are you able to send is logs from logcat?

YoungSooBae1224 commented 4 years ago

Hello, I occured same issue. used nRF52810 and ble_app_gls example(SDK15.3.0). IDE is SEGGER Embedded studio. first, connect nRF52810 and Android device form nRF Toolbox. second, store data(pushed button2) in nRF52810. Third, I click on All button in nRF Toolbox BGM. occured the error code 133(fatal error in nRF52810) - It did not occur in previous versions(2.7). retry, changed error 129.

cinny007 commented 4 years ago

@philips77 Yes, It's happening always.

YoungSooBae1224 commented 4 years ago

Log 2020-02-17_glucose.txt

I always happen too. I don't know if it will help, Attach the log.

philips77 commented 4 years ago

What phone are you using? Did you try any other?

cinny007 commented 4 years ago

Redmi MI A3, Redmi note 4, Samsung M30....It's happening in all devices.

YoungSooBae1224 commented 4 years ago

I tried on SAMSUNG Galaxy Tab S3 Android 8.0.0 and SAMSUNG Galaxy Note4 Android 6.0.1. Both phones are the same. The log is a Samsung Galaxy Tab S3.

After error 129, connecting to nRF Connect for Android, and Enable glucose measurement notifications and record access control point indications. In this state, go to the nRF Toolbox and connect with the device. Pressing the All button will download the data but will not display anything on the screen. Attach the log. Log 2020-02-17 174232.txt This is also the same for both phones.

cinny007 commented 4 years ago

@philips77 Did you check?

philips77 commented 4 years ago

Hi, I'm on it right now. Sorry, I was busy with other tasks. I managed to reproduce the issue, will investigate it now.

philips77 commented 4 years ago

Ok, I found the issue. The Glucose Measurement characteristic notifications were not enabled. Instead, the app was enabling Glucose Measurement Context characteristic notifications twice. The fix is on its way.

cinny007 commented 4 years ago

Working fine now. Thanks @philips77 . I actually found one more issue for the same device. While inserting the strip in the accu-chek device, the application disconnects with the accu-chek device and hence I am not able to take the current reading. Shall I create one more issue for that?

philips77 commented 4 years ago

Yes, please create a new issue.