Skip to content

BLEBeacon

Representation of a beacon. See:

詳細情報

メンバー

manufacturerId

uint16_t BLEBeacon::manufacturerId

subType

uint8_t BLEBeacon::subType

subTypeLength

uint8_t BLEBeacon::subTypeLength

proximityUUID

uint8_t BLEBeacon::proximityUUID[16]

major

uint16_t BLEBeacon::major

minor

uint16_t BLEBeacon::minor

signalPower

int8_t BLEBeacon::signalPower

BLEBeacon()

BLEBeacon::BLEBeacon()

getData()

std::string BLEBeacon::getData()

戻り値

std::string

getMajor()

uint16_t BLEBeacon::getMajor()

戻り値

uint16_t

getMinor()

uint16_t BLEBeacon::getMinor()

戻り値

uint16_t

getManufacturerId()

uint16_t BLEBeacon::getManufacturerId()

戻り値

uint16_t

getProximityUUID()

BLEUUID BLEBeacon::getProximityUUID()

戻り値

BLEUUID

getSignalPower()

int8_t BLEBeacon::getSignalPower()

戻り値

int8_t

setData()

Set the raw data for the beacon record.

void BLEBeacon::setData(std::string data)

引数

  • std::string data

setMajor()

void BLEBeacon::setMajor(uint16_t major)

引数

  • uint16_t major

setMinor()

void BLEBeacon::setMinor(uint16_t minor)

引数

  • uint16_t minor

setManufacturerId()

void BLEBeacon::setManufacturerId(uint16_t manufacturerId)

引数

  • uint16_t manufacturerId

setProximityUUID()

void BLEBeacon::setProximityUUID(BLEUUID uuid)

引数

  • BLEUUID uuid

setSignalPower()

void BLEBeacon::setSignalPower(int8_t signalPower)

引数

  • int8_t signalPower