about BT_APPL: Register with GATT stack failed. message

peter882363
Posts: 6
Joined: Wed Feb 14, 2018 11:45 am

about BT_APPL: Register with GATT stack failed. message

Postby peter882363 » Wed Mar 06, 2019 9:09 am

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
Attachments
err02.jpg
err02.jpg (377.36 KiB) Viewed 3473 times

peter882363
Posts: 6
Joined: Wed Feb 14, 2018 11:45 am

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

Postby peter882363 » Fri Mar 08, 2019 3:36 am

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

Who is online

Users browsing this forum: No registered users and 217 guests