From a721478f1e5bf90e944c74382db66835c340eb93 Mon Sep 17 00:00:00 2001 From: hathach Date: Tue, 9 Jan 2018 17:23:34 +0700 Subject: [PATCH] clean up --- .../homekit/homekit_lightbulb/homekit_lightbulb.ino | 7 +++++-- 1 file changed, 5 insertions(+), 2 deletions(-) diff --git a/libraries/Bluefruit52Lib/examples/Projects/homekit/homekit_lightbulb/homekit_lightbulb.ino b/libraries/Bluefruit52Lib/examples/Projects/homekit/homekit_lightbulb/homekit_lightbulb.ino index 9c34afc8..1150fc48 100644 --- a/libraries/Bluefruit52Lib/examples/Projects/homekit/homekit_lightbulb/homekit_lightbulb.ino +++ b/libraries/Bluefruit52Lib/examples/Projects/homekit/homekit_lightbulb/homekit_lightbulb.ino @@ -28,7 +28,10 @@ void setup() // is not enough. Therefore we need to incresae the ATTR Table Size // Note: All config***() function must be called before begin() Bluefruit.configAttrTableSize(3000); - + + // Config the peripheral connection with maximum bandwidth + Bluefruit.configPrphBandwidth(BANDWIDTH_MAX); + Bluefruit.begin(); // Set max power. Accepted values are: -40, -30, -20, -16, -12, -8, -4, 0, 4 @@ -40,7 +43,7 @@ void setup() // Set up and start advertising startAdv(); - dbgMemInfo(); + //dbgMemInfo(); } void startAdv(void)