]> granicus.if.org Git - esp-idf/commit
component/bt : fix connection bug of Iphone7 10.0.2
authorTian Hao <tianhao@espressif.com>
Thu, 16 Feb 2017 06:10:44 +0000 (14:10 +0800)
committerTian Hao <tianhao@espressif.com>
Thu, 16 Feb 2017 06:15:46 +0000 (14:15 +0800)
commit6648ff427cfa41f23c232731bdd132272e961d43
treeff7cb703e10087b4cd9b46cd062040f07319a408
parent34d0b0086ed87c20d43906052a8b2c574b291454
component/bt : fix connection bug of Iphone7 10.0.2

This connection error caused by iPhone, it think that TX data length must large than 27 when slave support EXTEND_DATA_LENGTH. But this should be allow. Besides,  the problem cannot be found on higher version of Iphone7, apple seemed to have fixed it.
Actually maybe other BLE device have the same problem.
components/bt/bluedroid/device/controller.c
components/bt/bluedroid/hci/hci_packet_factory.c
components/bt/bluedroid/hci/include/hci_packet_factory.h