Skip to content

Commit c3c857b

Browse files
committed
mod: set connection interval
1 parent 982b91e commit c3c857b

File tree

1 file changed

+4
-0
lines changed

1 file changed

+4
-0
lines changed

examples/ScienceJournal/ScienceJournal.ino

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -43,6 +43,10 @@ void setup(){
4343
while(1);
4444
}
4545

46+
#ifdef ESP32
47+
BLE.setConnectionInterval(6, 12);
48+
#endif
49+
4650
String address = BLE.address();
4751

4852
address.toUpperCase();

0 commit comments

Comments
 (0)