BT memory consumption

fturker
Posts: 1
Joined: Wed Dec 13, 2017 12:49 pm

BT memory consumption

Postby fturker » Wed Dec 13, 2017 12:58 pm

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...

cyberman54
Posts: 27
Joined: Sun Jan 14, 2018 7:47 pm

Re: BT memory consumption

Postby cyberman54 » Wed Apr 18, 2018 8:59 pm

I ran into the same problem.
Did you find a solution for it?

chefotm
Posts: 5
Joined: Thu Apr 05, 2018 6:14 am

Re: BT memory consumption

Postby chefotm » Fri May 04, 2018 5:23 am

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.

User avatar
arunbm123
Posts: 96
Joined: Fri Feb 23, 2018 5:36 am

Re: BT memory consumption

Postby arunbm123 » Thu Mar 14, 2019 5:16 am

hi
I am having same problem

what the solution mr.fturker

Who is online

Users browsing this forum: Lvalue, mikecarlos, zelenecul and 108 guests