Skip to content

Commit 3089dc8

Browse files
committed
Fix BLE Peripheral is not advertising
Add a delay after register the profile.
1 parent 336e59a commit 3089dc8

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

libraries/CurieBLE/src/BLEPeripheralRole.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -66,7 +66,7 @@ bool BLEPeripheralRole::begin()
6666
setDeviceName();
6767
// Register profile
6868
_peripheral.registerProfile();
69-
delay(2); // Temp solution for send data fast will makes ADV data set failed
69+
delay(4); // Temp solution for send data fast will makes ADV data set failed
7070
return true;
7171
}
7272

0 commit comments

Comments
 (0)