Re: [web-bluetooth] Make RSSI non optional

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:

 - Core 5.0, Vol 2. Part E, 7.7.65.2 "LE Advertising Report Event"
 - Core 5.0, Vol 2. Part E, 7.5.4 "Read RSSI Command"

-- 
GitHub Notification of comment by mkv123
Please view or discuss this issue at https://github.com/WebBluetoothCG/web-bluetooth/issues/312#issuecomment-414319384 using your GitHub account

Received on Monday, 20 August 2018 13:38:06 UTC