feat(AdvDevice): Add convenience operator to NimBLEAddress

This commit is contained in:
thekurtovic
2025-02-24 17:35:31 -07:00
committed by h2zero
parent 80b61ffa3d
commit 70eee888eb
4 changed files with 11 additions and 20 deletions
-4
View File
@@ -48,10 +48,6 @@ struct NimBLETaskData;
*/
class NimBLEClient {
public:
bool connect(const NimBLEAdvertisedDevice* device,
bool deleteAttributes = true,
bool asyncConnect = false,
bool exchangeMTU = true);
bool connect(const NimBLEAddress& address, bool deleteAttributes = true, bool asyncConnect = false, bool exchangeMTU = true);
bool connect(bool deleteAttributes = true, bool asyncConnect = false, bool exchangeMTU = true);
bool disconnect(uint8_t reason = BLE_ERR_REM_USER_CONN_TERM);