Remove type parameter from NimBLEClient::connect()

* The type is available in the NimBLEAddress parameter, no longer needed separately.

Co-authored-by: wakwak-koba <wakwak-koba@users.noreply.github.com>
This commit is contained in:
h2zero
2020-08-03 22:13:57 -06:00
committed by h2zero
co-authored by wakwak-koba
parent b901eeb1e5
commit 73cec7a92a
3 changed files with 16 additions and 11 deletions
+1 -1
View File
@@ -138,7 +138,7 @@ void NimBLEDevice::stopAdvertising() {
* @brief Creates a new client object and maintains a list of all client objects
* each client can connect to 1 peripheral device.
* @param [in] peerAddress An optional peer address that is copied to the new client
* object, allows for calling connect() without providing a device or address.
* object, allows for calling NimBLEClient::connect(bool) without a device or address parameter.
* @return A reference to the new client object.
*/
#if defined(CONFIG_BT_NIMBLE_ROLE_CENTRAL)