Skip to content

Commit 75f8a05

Browse files
committed
everything works well:)
1 parent c31deb3 commit 75f8a05

File tree

1 file changed

+3
-2
lines changed

1 file changed

+3
-2
lines changed

libraries/Bluefruit52Lib/examples/Peripheral/image_upload/image_upload.ino

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -257,7 +257,9 @@ void connect_callback(uint16_t conn_handle)
257257

258258
tft.println("Connected");
259259

260-
#if 1
260+
// Requesting to Switching to 2MB PHY, larger data length and MTU
261+
// will increase the throughput on supported central. This should be already done
262+
// with latest Bluefruit app, but still put here for user reference
261263
conn->requestPHY();
262264
tft.println("Switching PHY");
263265

@@ -266,7 +268,6 @@ void connect_callback(uint16_t conn_handle)
266268

267269
conn->requestMtuExchange(247);
268270
tft.println("Exchanging MTU");
269-
#endif
270271

271272
tft.setTextColor(COLOR_GREEN);
272273
tft.println("Ready to receive new image");

0 commit comments

Comments
 (0)