NimBLEAddress: New constructor added to create blank addresses

* Docuement NimBLEAddress::getNative in migration docs.
This commit is contained in:
h2zero
2020-09-02 14:52:34 -06:00
parent 9cdf60d360
commit 10acb004dc
3 changed files with 15 additions and 0 deletions

View File

@@ -37,6 +37,14 @@ NimBLEAddress::NimBLEAddress(ble_addr_t address) {
} // NimBLEAddress
/**
* @brief Create a blank address, i.e. 00:00:00:00:00:00, type 0.
*/
NimBLEAddress::NimBLEAddress() {
NimBLEAddress("");
} // NimBLEAddress
/**
* @brief Create an address from a hex string
*