UNPKG

@ledgerhq/swift-bridge-hw-transport-ble

Version:

Package to expose the Swift BLE transport to JS

37 lines (20 loc) 1.15 kB
<img src="https://user-images.githubusercontent.com/3273751/151214602-f5153588-1911-4456-ae65-604d56821b36.png" height="80" /> [Github](https://github.com/LedgerHQ/ledger-live), [Discord](https://developers.ledger.com/discord/) ## @ledgerhq/swift-bridge-hw-transport-ble **Ledger Hardware Wallet Bluetooth BLE transport for the Swift Native Module** This package is used by swift-bridge-hw-app-eth and swift-bridge-hw-app-solana to communicate with the [Swift BLE transport](https://github.com/LedgerHQ/hw-transport-ios-ble). ## API <!-- Generated by documentation.js. Update this documentation by updating the source code. --> #### Table of Contents * [TransportBLESwift](#transportbleswift) * [exchange](#exchange) * [Parameters](#parameters) ### TransportBLESwift **Extends Transport** iOS Bluetooth Transport implementation #### exchange communicate with a BLE transport ##### Parameters * `apdu` **[Buffer](https://nodejs.org/api/buffer.html)**&#x20; Returns **[Promise](https://developer.mozilla.org/docs/Web/JavaScript/Reference/Global_Objects/Promise)<[Buffer](https://nodejs.org/api/buffer.html)>**&#x20;