Arduino Nano 33 BLE BatteryLevel reader

I'm trying to read on my phone the battery level measured by arduino nano 33 BLE as performed in an example arduino nano 33 BLE file.
All goes on fine up to the connection and registers for integers. But I don't get any value.
I have tested the arduino app with LightBlue app and it works.
I have upload the blocks of my program here.

Solved by using RegisterForBytes routine

This topic was automatically closed 7 days after the last reply. New replies are no longer allowed.