We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent de798c4 commit 3da0107Copy full SHA for 3da0107
features/FEATURE_BLE/targets/TARGET_CORDIO/driver/CordioHCIDriver.cpp
@@ -148,10 +148,7 @@ void CordioHCIDriver::handle_reset_sequence(uint8_t *pMsg)
148
149
if (get_random_static_address(static_address)) {
150
// note: will send the HCI command to send the random address
151
- cordio::BLE::deviceInstance().getGap().setAddress(
152
- BLEProtocol::AddressType::RANDOM_STATIC,
153
- static_address.data()
154
- );
+ cordio::BLE::deviceInstance().getGap().enablePrivacy(true);
155
} else {
156
/* send next command in sequence */
157
HciLeReadBufSizeCmd();
0 commit comments