Strictly necessary cookies are on by default and cannot be turned off. Functional, Performance and Tracking/targeting/sharing cookies can be turned on below based on your preferences (this banner will remain available for you to accept cookies). You may change your cookie settings by deleting cookies from your browser. Then this banner will appear again. You can learn more details about cookies HERE.
Strictly necessary (always on)
Functional, Performance and Tracking/targeting/sharing (default off)
I'm trying to get the Bluetooth working on a my board but somehow I very often get the error:
GKI_exception 65524 getbuf: out of buffers
GKI_exception(): Task State Table
My pools are the following:
64 * 4
360 * 100
360 * 100
600 * 1
I tried to see what was happening by launching a periodic task that prints the state of the buffers using the GKI_* routines and it turns out that sometimes the buffers get filled in very quickly, in less than a second I get the two 360 buffers full. Why that ?
I can't really find a pattern for the behaviour, it happens when I launch a scan or when I try to discover the services of a connected device.
What are the recommendations for the pools sizes ? I don't find any documentation.