-
Notifications
You must be signed in to change notification settings - Fork 10
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Difficulty pairing to i13 for wireless mode #125
Comments
Hmmm. This is reminiscent of a problem we see sometimes on iOS. Like it sees devices with two different names. Needs a bit of digging around. Thanks Joe for the detailed notes! @f1andrew |
I have same thing that when scanning with hcitool I can get two type of entries from dongle, with name and without name. I don't know why communicator can't see dongle in bluetooth setting while other devices can. There might be problem with bleak library on communicator, but it needs to be confirmed. Let me know does it work on communicator. |
On a different laptop Relaykeys_Connect.exe starts scanning and then (after QT Add Device) finds the dongle. Then it reports "RelayKeys discovered [address]" then lists services ok. Windows BT control panel offers RelayKeys for pairing. On the i13 computer it reports "scanning... scanning... scanning..." but never shows the dongle. Windows BT control panel pairing never lists RelayKeys. @willwade are you able to try this on another i13? |
Yeah I will for sure Joe. I’ve been off for a bit but should have some time Monday to dig into this. Thanks |
Ok - My first attempt in this is that something up with my i13+ - or something in general up. I cant see relaykeys even in wired mode in the bluetooth scanning screen on Windows. It does state the i13 is using a BLE bluetooth module - https://www.tobiidynavox.com/pages/product-support-i-series?tab=3 - so its not its a classic problem. If I plug in a 3rd party BLE dongle in - it does appear. Somethings v odd.. |
Thanks for confirming that. So now we know multiple i13's exhibit the same behaviour, I suspect it's specific to the i13 as I can get an HP laptop and various android devices to pair. |
Ok - @f1andrew - there's something about the way relaykeys is advertising itself. I cant figure it out. Basically our MorAce (which we can run on the same board) - is being seen by this device. But RelayKeys isn't. I can't figure out how we fix this. My only mad idea is to convert our relaykeys code to circuitpy! but that cant be right.. ! :) NB: Thinking about it - is it because RelayKeys is both a central and peripheral?? I have a feeling it worked fine before we added the wireless functionality I'll give you remote access to an i13 device if you think that would help |
Try to upload ble_keyboard example from adafruit and check if it's visible for i13: https://github.com/adafruit/Adafruit_nRF52_Arduino/blob/master/libraries/Bluefruit52Lib/examples/Peripheral/blehid_keyboard/blehid_keyboard.ino
RelayKeys is peripheral that can have connection with two central devices. |
The ble_keyboard example gets listed for pairing. Restoring the latest RelayKeys code it does NOT get listed. (I restarted Windows first to clear any recently seen MAC addresses and names). I clear the pairings each time so I am always trying to make the first pairing and no HID connection in progress. |
OK - so turns out if we comment out this line - it works.
@joedevsys - if you get a mo - mind double checking? |
Commenting that line allows the i13 to list "ItsyBitsy nrf52840 Express" and pair to it. The i13 is now listed in the dongle device list. After that I still cannot connect in wireless mode (QT switch mode to BLE serial, double press dongle button for blue LED, remove ItsyBitsy from device list--> no connection). I presume the daemon is still searching for the name "relaykeys" which is no longer advertised. |
testing changing name to fix for i13 issue #125
Im not liking closing this because I dont feel we really resolved "WHY" the i13 couldn't see that name.. But heck - thats life - we have a fix it seems |
Trying to setup an i13 communication aid for wireless mode but cannot pair it.
Windows 10.
Itsybitsy nrF52840 Express.
RelayKeys 3bc6133
Steps taken:
Observations:
Further checks:

Performed a BLE Scan from the i13 using Bluetooth LE Explorer app from the Windows Store:
Discover and Pair. Start: This lists the RK dongle at it's expected bluetooth address but it has no name (see pic).
Clicking the Pair button here (with RelayKeys-QT Add Device) does create a pairing and at this point the name RelayKeys appears in both Bluetooth LE Explorer app and in the Windows list of connected devices, and also in RelayKeys-Q. However after creating the pairing in this manner when I try and change mode in RelayKeys-QT, double click the button on the dongle (LED goes blue), and delete relayKeys from the Windows settings it still fails to connect to the dongle. RelayKeys-QT shows Wireless mode, no connection.
I tried deleting registry entry for the dongle's BT address from HKEY_LOCAL_MACHINE > SYSTEM > CurrentControlSet > Services > BTHPORT > Parameters > Devices and tried again but no change.
Using HCITool on a Linux machine to do an LE scan:
$sudo hcitool -i hci0 lescan
{dongleBTaddress} (unknown)
{dongleBTaddress} RelayKeys
{dongleBTaddress} (unknown)
{dongleBTaddress} RelayKeys
{dongleBTaddress} (unknown)
{dongleBTaddress} RelayKeys
...
This seems to show the dongle returning two scan responses, one of them has no name. Is this correct? I don't see it with other devices.
As I can pair on another machine I assume this is a rogue machine, but the "unknown" response from the dongle might be contributing?
The text was updated successfully, but these errors were encountered: