how to set the max number of notifocations in a peripheral to be queued

Hi
I am working on a high throughput application.
I use this function to send the notifications: bt_gatt_notify_cb()
Am I right that this function has an internal queue to store my data array, so a memcpy happens somwhere. Correct?
Is this in (bt_att_chan_create_pdu)?
With which config parameter can I adjust the size of this queue?
thx
  • Hi 

    The data will be copied to an internal buffer, yes. 

    You can take a look at the configuration used in the throughput sample here to see how to configure the stack for improved Bluetooth throughput. In particular try increasing the size of the CONFIG_BT_ATT_TX_COUNT and CONFIG_BT_BUF_ACL_TX_COUNT parameters, to increase the amount of notifications that can be buffered internally. 

    Best regards
    Torbjørn

Related