Skip to content

BLEAddress

A BLE device address.

詳細情報

メンバー

BLEAddress()

Create an address from the native ESP32 representation.

BLEAddress::BLEAddress(esp_bd_addr_t address)

引数

  • esp_bd_addr_t address The native representation.

BLEAddress()

Create an address from a hex string

A hex string is of the format: which is 17 characters in length.

BLEAddress::BLEAddress(std::string stringAddress)

引数

  • std::string stringAddress The hex representation of the address.

equals()

Determine if this address equals another.

bool BLEAddress::equals(BLEAddress otherAddress)

引数

  • BLEAddress otherAddress The other address to compare against.

戻り値

bool True if the addresses are equal.

getNative()

Return the native representation of the address.

esp_bd_addr_t * BLEAddress::getNative()

戻り値

esp_bd_addr_t* The native representation of the address.

toString()

Convert a BLE address to a string.

std::string BLEAddress::toString()

戻り値

std::string