pub struct ReadRssi {
pub status: Status,
pub conn_handle: ConnectionHandle,
pub rssi: i8,
}
Expand description
Values returned by the Read RSSI command.
Fields§
§status: Status
Did the command fail, and if so, how?
conn_handle: ConnectionHandle
The Handle for the connection for which the RSSI has been read.
The Handle is a connection handle for a BR/EDR Controller and a physical link handle for an AMP Controller.
rssi: i8
- BR/EDR
- No range restriction
- Units: dB
- AMP:
- Range: AMP type specific
- Units: dBm
- LE:
- Range: -127 to 20, range not checked by this implementation. 127 indicates RSSI not available.
- Units: dBm
Trait Implementations§
Auto Trait Implementations§
impl Freeze for ReadRssi
impl RefUnwindSafe for ReadRssi
impl Send for ReadRssi
impl Sync for ReadRssi
impl Unpin for ReadRssi
impl UnwindSafe for ReadRssi
Blanket Implementations§
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more