Page 1 of 1

BT memory consumption

Posted: Wed Dec 13, 2017 12:58 pm
by fturker
Hi everyone,
I am working on ble mqtt gateway with ESP32 BLE+WIFI. When i start wifi after start scan permenantly, i can found beacons around and send this beacons informations to mqtt broker inside json packet. But sometimes i am getting error about BT memory consumption from BTC task. The error is: "host_recv_pkt_cb couldn't acquire memory for inbound data buffer". How can i fix that error. I looked this in google but i did not found any relevant solution. Plese help me for fix this problem. Thanks for your advice...

Re: BT memory consumption

Posted: Wed Apr 18, 2018 8:59 pm
by cyberman54
I ran into the same problem.
Did you find a solution for it?

Re: BT memory consumption

Posted: Fri May 04, 2018 5:23 am
by chefotm
Im tried the malloc from PSRAM option in Bluetooth menuconfig. And use the dynamic memory allocation. It will free up many space. You can optimize that library consumption in the menuconfig turning off features you will never use (and for example closing the bluedroid stock log print). Bluetooth is such a Big consumer :). If you are using SSL on wifi, search for buffer sizes. They are gorgeous big.

Re: BT memory consumption

Posted: Thu Mar 14, 2019 5:16 am
by arunbm123
hi
I am having same problem

what the solution mr.fturker