-
Notifications
You must be signed in to change notification settings - Fork 0
Interaction of mobile app with desktop version via BLE.
Native macOS implementation. In macOS BLE API implemented by CoreBluetooth framework. This is same CoreBluetooth as on iOS, so implementation of peripheral and central roles (advertiser/scanner) is identical to iOS version.
Chrome extension. For communication with BLE devices Chrome provides chrome.bluetoothLowEnergy API. This API works only on ChromeOS, so it not suitable for our purposes.
Except of chrome.bluetoothLowEnergy API Chrome provides chrome.bluetooth API. Although this API available for macOS, it provides poor possibilities. With this API we can’t implement peripheral role, so we can only send funds but not receive it.
Possible solution. From 61 version Chrome supports ES6 modules. Importing such module to Chrome extension gives as access to the BLE resources.
Useful links: