IoT::BtLE

struct PeripheralInfo

File Information

Library: IoT/BtLE
Package: BtLE
Header: IoT/BtLE/PeripheralBrowser.h

Variables

address

std::string address;

Bt address of the peripheral, e.g., "C4:BE:84:72:C5:06".

addressType

AddressType addressType = ADDRESS_TYPE_PUBLIC;

Type of address.

connectable

bool connectable = false;

Indicates whether this devices accepts a connection (true) or not (false).

data

std::vector < AdvertisingData > data;

Advertising data, split into elements.

name

std::string name;

Peripheral name, extracted from advertising data (AD_TYPE_COMPLETE_LOCAL_NAME or AD_TYPE_SHORTENED_LOCAL_NAME, whichever is first).

rssi

short rssi = 0;

RSSI (received signal strength indicator) in dB, e.g. -79.

Securely control IoT edge devices from anywhere   Connect a Device