Update documentation.

This commit is contained in:
h2zero
2020-08-14 13:25:50 -06:00
parent 1172df0a49
commit 17d53432a6
5 changed files with 314 additions and 5 deletions

View File

@@ -83,8 +83,14 @@ get the last updated value any time.
In addition NimBLERemoteCharacteristic::readValue and NimBLERemoteCharacteristic::getValue take an optional timestamp parameter which will update it's value with
the time the last value was recieved.
NimBLEClient::getService will now retrieve only the service specified and not the full database, this preserves resources
otherwise wasted retrieving and allocating attributes the user application is not interested in.
> NimBLEClient::getService
> NimBLERemoteService::getCharacteristic
> NimBLERemoteCharacteristic::getDescriptor
These methods will now check the respective vectors for the attribute object and, if not found, will retrieve (only)
the specified attribute from the peripheral.
These changes allow more control for the user to manage the resources used for the attributes.
<br/>
NimBLEClient::connect() can now be called without an address or advertised device parameter. This will connect to the