Representation of a beacon. See:
More...
Representation of a beacon. See:
◆ getData()
std::string NimBLEBeacon::getData |
( |
| ) |
|
Retrieve the data that is being advertised.
- Returns
- The advertised data.
◆ getMajor()
uint16_t NimBLEBeacon::getMajor |
( |
| ) |
|
Get the major value being advertised.
- Returns
- The major value advertised.
◆ getManufacturerId()
uint16_t NimBLEBeacon::getManufacturerId |
( |
| ) |
|
Get the manufacturer ID being advertised.
- Returns
- The manufacturer ID value advertised.
◆ getMinor()
uint16_t NimBLEBeacon::getMinor |
( |
| ) |
|
Get the minor value being advertised.
- Returns
- minor value advertised.
◆ getProximityUUID()
Get the proximity UUID being advertised.
- Returns
- The UUID advertised.
◆ getSignalPower()
int8_t NimBLEBeacon::getSignalPower |
( |
| ) |
|
Get the signal power being advertised.
- Returns
- signal power level advertised.
◆ setData()
void NimBLEBeacon::setData |
( |
const std::string & |
data | ) |
|
Set the raw data for the beacon record.
- Parameters
-
[in] | data | The raw beacon data. |
◆ setMajor()
void NimBLEBeacon::setMajor |
( |
uint16_t |
major | ) |
|
Set the major value.
- Parameters
-
[in] | major | The major value. |
◆ setManufacturerId()
void NimBLEBeacon::setManufacturerId |
( |
uint16_t |
manufacturerId | ) |
|
Set the manufacturer ID.
- Parameters
-
[in] | manufacturerId | The manufacturer ID value. |
◆ setMinor()
void NimBLEBeacon::setMinor |
( |
uint16_t |
minor | ) |
|
Set the minor value.
- Parameters
-
[in] | minor | The minor value. |
◆ setProximityUUID()
void NimBLEBeacon::setProximityUUID |
( |
const NimBLEUUID & |
uuid | ) |
|
Set the proximity UUID.
- Parameters
-
[in] | uuid | The proximity UUID. |
◆ setSignalPower()
void NimBLEBeacon::setSignalPower |
( |
int8_t |
signalPower | ) |
|
Set the signal power.
- Parameters
-
[in] | signalPower | The signal power value. |