Is CONFIG_BT_SMP mandatory if CONFIG_BT=y ?

Hi,

I have several questions:


1. Is CONFIG_BP_SMP mandatory if CONFIG_BT=y?  If I don't need pair devices, can I disable it? If I disable it, what consequences could have?

2. If CONFIG_BP_SMP=y, will it increase the notification packet size?

The reason I am asking is I found the CONFIG_BT_L2CAP_TX_MTU will become 65 once CONFIG_BP_SMP=y. By default its 23.

3. How to calculate CONFIG_BT_L2CAP_TX_MTU? I need to notify 24 bytes data 100 times per second. With this load, how to calculate the following three configurations:


CONFIG_BT_L2CAP_TX_BUF_COUNT=10
CONFIG_BT_BUF_ACL_TX_SIZE=39
CONFIG_BT_CTLR_DATA_LENGTH_MAX=39

Thanks,

Related