Pigweed
 
Loading...
Searching...
No Matches
pw::bluetooth::low_energy::Central2::ScanResult Struct Reference

Public Attributes

PeerId peer_id
 Uniquely identifies this peer on the current system.
 
bool connectable
 
std::optional< uint8_t > rssi
 
pw::multibuf::MultiBuf data
 This contains the advertising data last received from the peer.
 
std::optional< InlineString< 22 > > name
 
chrono::SystemClock::time_point last_updated
 Timestamp of when the information in this ScanResult was last updated.
 

Member Data Documentation

◆ connectable

bool pw::bluetooth::low_energy::Central2::ScanResult::connectable

Whether or not this peer is connectable. Non-connectable peers are typically in the LE broadcaster role.

◆ name

std::optional<InlineString<22> > pw::bluetooth::low_energy::Central2::ScanResult::name

The name of this peer. The name is often obtained during a scan procedure and can get updated during the name discovery procedure following a connection.

This field is present if the name is known.

◆ rssi

std::optional<uint8_t> pw::bluetooth::low_energy::Central2::ScanResult::rssi

The last observed signal strength of this peer. This field is only present for a peer that is broadcasting. The RSSI can be stale if the peer has not been advertising.

Note
This field should NOT be confused with the "connection RSSI" of a peer that is currently connected to the system.

The documentation for this struct was generated from the following file: