Просмотр исходного кода

Merge branch 'bugfix/btdm_aes_encrypt_workaround' into 'master'

component/bt: disable Secure Connections to workaround AES encryption issue

See merge request !1719

Jiang Jiang Jian 8 лет назад
Родитель
Сommit
c401a74bfb
1 измененных файлов с 2 добавлено и 1 удалено
  1. 2 1
      components/bt/bluedroid/include/bt_target.h

+ 2 - 1
components/bt/bluedroid/include/bt_target.h

@@ -647,7 +647,8 @@
 
 /* 4.1/4.2 secure connections feature */
 #ifndef SC_MODE_INCLUDED
-#define SC_MODE_INCLUDED                TRUE
+// Disable AES-CCM (BT 4.1) for BT Classic to workaround controller AES issue. E0 encryption (BT 4.0) will be used.
+#define SC_MODE_INCLUDED                FALSE
 #endif
 
 /* Used for conformance testing ONLY */