Looking at the docs, I was wondering, whether it is necessary to advertise HID as well?
The example I followed only sets it as a service:
NRF.setServices(undefined, { hid : kb.report });
while the API docs say 'Note: Just creating a service doesn't mean that the service will be advertised. It will only be available after a device connects.'
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.
Looking at the docs, I was wondering, whether it is necessary to advertise HID as well?
The example I followed only sets it as a service:
NRF.setServices(undefined, { hid : kb.report });
while the API docs say 'Note: Just creating a service doesn't mean that the service will be advertised. It will only be available after a device connects.'