-
Notifications
You must be signed in to change notification settings - Fork 378
Create a Bluetooth transport that works in Electron #293
Comments
I guess it is worth mentioning there that now there is this (experimental) package: https://github.com/LedgerHQ/ledgerjs/tree/master/packages/hw-transport-node-ble |
Is there any documentation on how to use the hw-transport-web-ble? We can't make head or tail out of what it says over here - https://github.com/LedgerHQ/ledgerjs/tree/master/packages/hw-transport-web-ble Please list the necessary steps to connect to the X via the browser. What are the calls to be made and in what order? Do you have any example code you can share? |
We have an example in https://github.com/LedgerHQ/ledgerjs-examples/tree/master/bluetooth-web-react |
@gre - Thank you. But is does the "ledger app" need to make any changes to support ble? |
I think most of Nano X apps are compiled to support BLE so it should work. |
It's unclear weither or not Electron supports Bluetooth out of the box, there is this discussion here electron/electron#7367 but it's not clearly stated and I can't find any documentation in Electron itself. Electron often have a degraded support of Chromium features, don't implement it all so it's worth trying if
hw-transport-web-ble
works from the renderer thread.Maybe there are adaptation to do and we can do them, but if
navigator.bluetooth
is not a thing we'll have to turn to other solution like https://github.com/noble/nobleThe text was updated successfully, but these errors were encountered: