Constructor
new Homey.BleAdvertisement()
Properties:
Name | Type | Description |
---|---|---|
id |
string
|
Id of the peripheral assigned by Homey |
uuid |
string
|
Uuid of the peripheral |
address |
string
|
The mac address of the peripheral |
addressType |
string
|
The address type of the peripheral |
connectable |
boolean
|
Indicates if Homey can connect to the peripheral |
localName |
string
|
The local name of the peripheral |
manufacturerData |
string
|
Manufacturer specific data for peripheral |
serviceData |
Array.<string>
|
Array of service data entries |
serviceUuids |
Array.<string>
|
Array of service uuids |
rssi |
number
|
The rssi signal strength value for the peripheral |
Methods
(async) connect() → {BlePeripheral}
Connect to the BLE peripheral this advertisement references
Returns:
- Type:
-
BlePeripheral