Skip to content

Commit a40827d

Browse files
committed
docs
1 parent 23ee87b commit a40827d

File tree

1 file changed

+3
-2
lines changed

1 file changed

+3
-2
lines changed

libs/bluetooth/jswrap_bluetooth.c

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -2994,8 +2994,9 @@ void jswrap_nfc_send(JsVar *payload) {
29942994
],
29952995
"typescript" : "sendHIDReport(data: number[], callback?: () => void): void"
29962996
}
2997-
Send a USB HID report. HID must first be enabled with `NRF.setServices({}, {hid:
2998-
hid_report})`
2997+
Send a USB HID report. HID must first be enabled with `NRF.setServices({}, {hid: hid_report})`
2998+
2999+
See https://www.espruino.com/BLE+Keyboard for some libraries that use `NRF.sendHIDReport` internally.
29993000
*/
30003001
void jswrap_ble_sendHIDReport(JsVar *data, JsVar *callback) {
30013002
#if BLE_HIDS_ENABLED

0 commit comments

Comments
 (0)