The list of Hotspot devices scanned by startScan.
Check if the connected Hotspots firmware is up to date.
Connect to a Hotspot. Pass the device from scannedDevices after scanning.
Create and sign an Add Gateway Transaction for the connected Device.
Create an Add Gateway Transaction for the connected Device.
Disconnect from a Hotspot.
Enable Bluetooth on the device. This function blocks until BLE is in PoweredOn state. [Android only]
Returns the diagnostic info for the connected Hotspot.
Get the onboarding address from the Hotspot.
Query the bluetooth connection state.
Returns true if a Hotspot is connected.
Returns the list of Wifi Networks the connected Hotspot can detect.
Removes the saved Wifi configuration from the connected Hotspot.
Reset devices that have been scanned.
Saves and connects a Wifi network to the connected Hotspot.
Start scanning for Hotspots. They can then be read in scannedDevices.
Stop scanning for Hotspots if scanning is in process.
Generated using TypeDoc
Use this interface to connect to and interact with a Hotspot over bluetooth.
For example if you wanted to scan for hotspots in one of your components you would first need to wrap your apps root component with HotspotBleProvider (see the example app).
Next in the component you want to scan for hotspots, you would add the following code to import the functions from the BleManager:
See the example app for a working demo of scanning for Hotspots.