Page 1 of 1

about BT_APPL: Register with GATT stack failed. message

Posted: Wed Mar 06, 2019 9:09 am
by peter882363
Environment
Development Kit: ESP32-Devkitc_V4
IDF version: ESP-IDF v3.1.2
Development Env: Make
Operating System: Window 7
Power Supply: external 3.3V

Problem Description
I try to modify the example code of "gattc_multi_connect". I hope that it can be used to connect to seven GATT servers at the same time. But it could only connect to six GATT servers, and appear a error message ---"BT_APPL: Register with GATT stack failed. ".

ps. detail message as attached jpg file
ps. `I have set "BT/BLE MAX ACL CONNECTIONS" to 7

Re: about BT_APPL: Register with GATT stack failed. message

Posted: Fri Mar 08, 2019 3:36 am
by peter882363
I try to modify the configration parameter. Now it run well.
make menuconfig
Component config --->
Bluetooth --->
Bluedroid enable --->
Include GATT server module(GATTS) = cancel
BT/BLE MAX ACL CONNECTIONS(1~7) = 7
BT/BLE will first malloc the memory from the PSRAM = enable