Open g-ortuno opened 8 years ago
Windows? If so, great!
In 8.1 there are no advertisements because there is no support for scanning. The windows 10 APIs do include RSSI: https://msdn.microsoft.com/en-us/library/windows/apps/windows.devices.bluetooth.advertisement.bluetoothleadvertisementreceivedeventargs.aspx
Shall we include this in our Windows implementation status notes?
* [Windows](https://crbug.com/507419): Requires Windows 8.1.
* To discover devices the user hasn't yet manually paired, requires Windows 10.
+ * The Scanning API will require Windows 10.
Btw, if RSSI is not available on some platform, there is a magic value for indicating this specified in the Core Bluetooth spec, RSSI +127. (Admittedly, this is likely intended to be used when the RSSI is temporarily not available.) The magic value can be used both in the case when reading the RSSI of a scan result, as well as the case for reading a connection's RSSI.
Relevant parts of the spec:
I think every Advertisement packet comes with an RSSI (Android, macOS). We should mark the rssi property as always present in BluetoothAdvertisingEvent