Yes, I'd definitely be interested in adding this - as long as there was a way to do it in such a way that it didn't suddenly start requiring a passkey on normal devices! That could probably be done by enabling the BLE_GAP_IO_CAPS_KEYBOARD_ONLY with a bleStatus flag though.
Hopefully you should be able to do the normal method of queueing a BLEP_ enum which would then emit a NRF.on('passkey_request'...) event.
I guess while we're at it, it might be possible to allow the DISPLAY caps as well... It'd just be another event with a passkey in it.
Real shame about the indications though. They shouldn't be too hard to add in the same way as notifications - there just hasn't been much call for them as there are very few devices that use them. It looks like your camera is particularly strange!
Espruino is a JavaScript interpreter for low-power Microcontrollers. This site is both a support community for Espruino and a place to share what you are working on.
Yes, I'd definitely be interested in adding this - as long as there was a way to do it in such a way that it didn't suddenly start requiring a passkey on normal devices! That could probably be done by enabling the BLE_GAP_IO_CAPS_KEYBOARD_ONLY with a bleStatus flag though.
Hopefully you should be able to do the normal method of queueing a BLEP_ enum which would then emit a
NRF.on('passkey_request'...)
event.I guess while we're at it, it might be possible to allow the
DISPLAY
caps as well... It'd just be another event with a passkey in it.Real shame about the indications though. They shouldn't be too hard to add in the same way as notifications - there just hasn't been much call for them as there are very few devices that use them. It looks like your camera is particularly strange!