HID needed to recognize BLE uart on windows ? #6816
Replies: 1 comment
-
Posted at 2018-04-18 by @gfwilliams You shouldn't need HID to get NUS to work at all - by default HID isn't enabled. Windows is a bit odd - have you tried with the Puck so you know how it generally works? Usually you pair in the OS (but it doesn't stay connected) and then you can connect from the IDE separately. For the NUS you should need:
It might also help to try changing the advertising name of the ESP32 to Posted at 2018-04-18 by JumJum I get Puck.js connected without problems. Please see here http://www.jumware.com/JUMSpruino/problems/Bluetooth_ESP32.html nRF connect gives same raw data for advertising as Puck.js does, except the name ;-) Under windows (changing the name to Espruino doesn't change anything)
With Puck.js I've to do the same and it connects. And next Puck.js is available for IDE Posted at 2018-04-18 by @gfwilliams Could it be that the ESP32 advertises that it supports secure connections (bonding), but that code isn't implemented? You might be able to see if bonding succeeds when using the nRF connect app? If so, just make sure that the ESP32 doesn't say it supports bonding - then you should be fine for connections on Windows. I guess eventually supporting bonding (so you can do secure connections) would be good. It's needed for HID emulation on windows - but for most stuff it's not needed. |
Beta Was this translation helpful? Give feedback.
Uh oh!
There was an error while loading. Please reload this page.
-
Posted at 2018-04-18 by JumJum
I've a first test running for ESP32 having NUS (Nordic uart service) .
It is recognized on my Android. There are some problems, anyway it's fine for first step.
On Windows10 same device is scanned/found, but it does not connect.
Somewhere I found a hint of missing HID.
I've seen http://www.espruino.com/modules/ble_hid_keyboard.js and followed the link http://www.usb.org/developers/hidpage/Hut1_12v2.pdf
My knowldege around HID is (very) close to zero.
Is there any idea, how HID needs to be configured for NUS ?
Or, may be, I'm on the wrong train ?
Beta Was this translation helpful? Give feedback.
All reactions