forked from h2zero/esp-nimble-cpp
Correct error in creation of NimBLEAddress from six bytes in a std::string
* Add creation of a NimBLEAddress from a std::string of 6 exactly bytes. * Add creation of a NimBLEAddress from an empty string.
This commit is contained in:
1 parent
08fc2878e7
commit
32e1022e67
4 files changed
+13
-2
No files matched your search
@@ -95,7 +95,7 @@ private:
|
||||
bool m_haveTXPower;
|
||||
|
||||
|
||||
NimBLEAddress m_address = NimBLEAddress("\0\0\0\0\0\0");
|
||||
NimBLEAddress m_address = NimBLEAddress("");
|
||||
uint8_t m_advType;
|
||||
uint16_t m_appearance;
|
||||
int m_deviceType;
|
||||
|
||||
Reference in new issue
Block a user