Skip to content

Commit 2762ab4

Browse files
committed
Fix Jira 680 LED and LED Central sketches need some work
1. Add a delay to make sure profile register process success. The UART send too fast may makes the profile registration failed.
1 parent 6f99619 commit 2762ab4

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

libraries/CurieBLE/src/BLEPeripheralRole.cpp

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -69,9 +69,10 @@ bool BLEPeripheralRole::begin()
6969

7070
// Set device name
7171
setDeviceName();
72+
delay(4);
7273
// Register profile
7374
_peripheral.registerProfile();
74-
delay(4); // Temp solution for send data fast will makes ADV data set failed
75+
delay(8); // Temp solution for send data fast will makes ADV data set failed
7576
return true;
7677
}
7778

0 commit comments

Comments
 (0)