Skip to content

Commit caf0597

Browse files
committed
change default value for ble mac address to ff:ff:ff:ff:ff:ff
1 parent cec7846 commit caf0597

File tree

1 file changed

+4
-1
lines changed

1 file changed

+4
-1
lines changed

examples/utility/Provisioning_2.0/ClaimingHandler.cpp

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -149,7 +149,10 @@ void ClaimingHandlerClass::resetStoredCredReqHandler() {
149149
}
150150

151151
void ClaimingHandlerClass::getBLEMacAddressReqHandler() {
152-
uint8_t mac[6] = { 0x00, 0x00, 0x00, 0x00, 0x00, 0x00 };
152+
/* Set the default MAC address as ff:ff:ff:ff:ff:ff for compatibility
153+
* with the Arduino IoT Cloud WebUI
154+
*/
155+
uint8_t mac[6] = { 0xff, 0xff, 0xff, 0xff, 0xff, 0xff };
153156

154157
#ifdef ARDUINO_OPTA
155158
if(_getPid_() == OPTA_WIFI_PID) {

0 commit comments

Comments
 (0)