]> granicus.if.org Git - esp-idf/commitdiff
component/bt: bugfix of error when entering sniff mode with attempt large than 0xFF
authorbaohongde <baohongde@espressif.com>
Tue, 30 Oct 2018 11:20:56 +0000 (19:20 +0800)
committerbot <bot@espressif.com>
Wed, 31 Oct 2018 16:16:49 +0000 (16:16 +0000)
components/bt/bluedroid/stack/include/stack/hcimsgs.h
components/bt/lib

index c2067a2f8a5dd3dac983adc8a99d53a93b0272e5..37b64c7d151eb46766b89460da0c8a9ccbd7cf50 100644 (file)
@@ -275,7 +275,10 @@ BOOLEAN btsnd_hcic_hold_mode(UINT16 handle, UINT16 max_hold_period,
 #define HCI_HOLD_MODE_MIN_PER_OFF       4
 /* Hold Mode */
 
-/* Sniff Mode */
+/**
+ * Sniff Mode
+ * sniff_attempt should no more than 0xFF
+ */
 BOOLEAN btsnd_hcic_sniff_mode(UINT16 handle,
                               UINT16 max_sniff_period,
                               UINT16 min_sniff_period,
index c1d636cb6cb718a178ea9a46f6fb68ca77f0d856..62cabd5b6f55d5a53eb4c13f628f4fd8139f535e 160000 (submodule)
@@ -1 +1 @@
-Subproject commit c1d636cb6cb718a178ea9a46f6fb68ca77f0d856
+Subproject commit 62cabd5b6f55d5a53eb4c13f628f4fd8139f535e