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
-1
@@ -73,7 +73,7 @@ private:
|
||||
bool retrieveServices(); //Retrieve services from the server
|
||||
// void onHostReset();
|
||||
|
||||
NimBLEAddress m_peerAddress = NimBLEAddress("\0\0\0\0\0\0"); // The BD address of the remote server.
|
||||
NimBLEAddress m_peerAddress = NimBLEAddress(""); // The BD address of the remote server.
|
||||
uint16_t m_conn_id;
|
||||
bool m_haveServices = false; // Have we previously obtain the set of services from the remote server.
|
||||
bool m_isConnected = false; // Are we currently connected.
|
||||
|
||||
Reference in New Issue
Block a user