Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
NimBLEExtAdvertisement
: All functions that set data now returnbool
, true = success.NimBLEExtAdvertisement::removeData
, which will remove the data of the specified type from the advertisement.NimBLEExtAdvertisement::addServiceUUID
, which will append to the service uuids advertised.NimBLEExtAdvertisement::removeServiceUUID
, which will remove the service from the uuids advertised.NimBLEExtAdvertisement::removeServices
, which will remove all service uuids advertised.NimBLEExtAdvertisement::setServiceData
with the parametersconst NimBLEUUID& uuid, const uint8_t* data, size_t length
andconst NimBLEUUID& uuid, const std::vector<uint8_t>& data
.NimBLEExtAdvertisement::getDataLocation
, which returns the location in the advertisment data of the type requested in parameteruint8_t type
.toString
which returns a Hex string representation of the advertisement data.NimBLEScan::setScanPhy
to enable/disable the PHY's to scan on.NimBLEScan::setScanPeriod
which will allow for setting a scan restart timer in the controller.NimBLEScan::start
to allow the command to be sent with updated parameters if already scanning.NimBLEDevice::setDefaultPhy
which will set the default preferred PHY for all connections.NimBLEClient::updatePhy
to request a PHY change with a peer.NimBLEClient::getPhy
to read the current connection PHY setting.NimBLEServer::updatePhy
to request a PHY change with a peer.NimBLEServer::getPhy
to read the PHY of a peer connection.NimBLEClientCallbacks::onPhyUpdate
NimBLEServerCallbacks::onPhyUpdate
Which are called when the PHY update is complete.