I want to read the HeartRateMeasurement characteristic of a ble device, this requires pairing.
The program will run on a display without a input device so I've used ConfirmOnly
for pairing so far. This worked fine for another device that usually requires a pin.
The HeartRate device gets paired succesfully with ConfirmOnly
but the HeartRateMeasurement characteristic remains read restricted.
When using the pin the HeartRateMeasurement characteristic becomes readable.
Why is ConfirmOnly
acting differently than ProvidePin
?
Would it be possible to use ProvidePin
without user input, i.e just accepting it without checking the pin?