Representation of a beacon. See:
More...
Representation of a beacon. See:
◆ getData()
std::string NimBLEEddystoneURL::getData |
( |
| ) |
|
Retrieve the data that is being advertised.
- Returns
- The advertised data.
◆ getDecodedURL()
std::string NimBLEEddystoneURL::getDecodedURL |
( |
| ) |
|
Get the full URL being advertised.
- Returns
- The full URL.
◆ getPower()
int8_t NimBLEEddystoneURL::getPower |
( |
| ) |
|
Get the transmit power being advertised.
- Returns
- The transmit power.
◆ getURL()
std::string NimBLEEddystoneURL::getURL |
( |
| ) |
|
Get the raw URL being advertised.
- Returns
- The raw URL.
◆ getUUID()
Get the UUID being advertised.
- Returns
- The UUID advertised.
◆ setData()
void NimBLEEddystoneURL::setData |
( |
const std::string & |
data | ) |
|
Set the raw data for the beacon advertisment.
- Parameters
-
[in] | data | The raw data to advertise. |
◆ setPower()
void NimBLEEddystoneURL::setPower |
( |
int8_t |
advertisedTxPower | ) |
|
Set the transmit power to advertise.
- Parameters
-
[in] | advertisedTxPower | The transmit power level. |
◆ setURL()
void NimBLEEddystoneURL::setURL |
( |
const std::string & |
url | ) |
|
Set the URL to advertise.
- Parameters
-
◆ setUUID()
void NimBLEEddystoneURL::setUUID |
( |
const NimBLEUUID & |
l_uuid | ) |
|
Set the UUID to advertise.
- Parameters
-