From: baohongde Date: Tue, 30 Oct 2018 11:20:56 +0000 (+0800) Subject: component/bt: bugfix of error when entering sniff mode with attempt large than 0xFF X-Git-Tag: v3.3-beta1~160^2 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=373f1c121b4e96cfdc9aa93a7dacf4f427c24f9c;p=esp-idf component/bt: bugfix of error when entering sniff mode with attempt large than 0xFF --- diff --git a/components/bt/bluedroid/stack/include/stack/hcimsgs.h b/components/bt/bluedroid/stack/include/stack/hcimsgs.h index c2067a2f8a..37b64c7d15 100644 --- a/components/bt/bluedroid/stack/include/stack/hcimsgs.h +++ b/components/bt/bluedroid/stack/include/stack/hcimsgs.h @@ -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, diff --git a/components/bt/lib b/components/bt/lib index c1d636cb6c..62cabd5b6f 160000 --- a/components/bt/lib +++ b/components/bt/lib @@ -1 +1 @@ -Subproject commit c1d636cb6cb718a178ea9a46f6fb68ca77f0d856 +Subproject commit 62cabd5b6f55d5a53eb4c13f628f4fd8139f535e