From 75f8a054f8f165999bfd660782e68c9dbe45156e Mon Sep 17 00:00:00 2001 From: hathach Date: Tue, 24 Sep 2019 12:28:10 +0700 Subject: [PATCH] everything works well:) --- .../examples/Peripheral/image_upload/image_upload.ino | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/libraries/Bluefruit52Lib/examples/Peripheral/image_upload/image_upload.ino b/libraries/Bluefruit52Lib/examples/Peripheral/image_upload/image_upload.ino index ae150fba..a7f5ff2a 100644 --- a/libraries/Bluefruit52Lib/examples/Peripheral/image_upload/image_upload.ino +++ b/libraries/Bluefruit52Lib/examples/Peripheral/image_upload/image_upload.ino @@ -257,7 +257,9 @@ void connect_callback(uint16_t conn_handle) tft.println("Connected"); -#if 1 + // Requesting to Switching to 2MB PHY, larger data length and MTU + // will increase the throughput on supported central. This should be already done + // with latest Bluefruit app, but still put here for user reference conn->requestPHY(); tft.println("Switching PHY"); @@ -266,7 +268,6 @@ void connect_callback(uint16_t conn_handle) conn->requestMtuExchange(247); tft.println("Exchanging MTU"); -#endif tft.setTextColor(COLOR_GREEN); tft.println("Ready to receive new image");