Getting "RPL is full" and "No free slots for new incoming segmented messages"

Hello,

I'm using "Bluetooth Mesh Light switch" code which i have modified to act as a gateway. Where it periodically collects data from lights. After receiving data from some lights it start showing error message in logs like "RPL is full" , "No free slots for new incoming segmented messages" and  "Not enough segments for incoming message". What went wrong here and how to avoid these error messages.

CONFIG_BT_MESH=y
CONFIG_BT_MESH_RELAY=y
CONFIG_BT_MESH_FRIEND=y
CONFIG_BT_MESH_ADV_BUF_COUNT=64
CONFIG_BT_MESH_TX_SEG_MAX=32
CONFIG_BT_MESH_PB_GATT=y
CONFIG_BT_MESH_GATT_PROXY=y
CONFIG_BT_MESH_PROXY_USE_DEVICE_NAME=y
CONFIG_BT_MESH_DK_PROV=y
CONFIG_BT_MESH_SUBNET_COUNT=2
CONFIG_BT_MESH_APP_KEY_COUNT=3
CONFIG_BT_MESH_CRPL=64
CONFIG_BT_MESH_MSG_CACHE_SIZE=64
CONFIG_BT_MESH_RELAY_BUF_COUNT=256
CONFIG_BT_MESH_RX_SEG_MSG_COUNT=5
these are Ble mesh configuration 
Parents
  • Hi Atul,

    CONFIG_BT_MESH_CRPL=64

    Could you maybe try to increase this value to say, 128 or 256 (if it abides with your memory). Maybe increasing the RPL size can remove the "RPL is full" error message.

    You could also try to increase CONFIG_BT_MESH_RX_SEG_MSG_COUNT to a higher value, (10 or 15). Hence there will be more buffer slots for handling segmented messages. Please also then increase CONFIG_BT_MESH_ADV_BUF_COUNT, as these buffers are used for advertising packets.

    CONFIG_BT_MESH_TX_SEG_MAX=32

    Increasing this value also to something higher (40.50.etc) might help.

    Do try these and tell me how it goes.

    Regards,

    Priyanka

Reply
  • Hi Atul,

    CONFIG_BT_MESH_CRPL=64

    Could you maybe try to increase this value to say, 128 or 256 (if it abides with your memory). Maybe increasing the RPL size can remove the "RPL is full" error message.

    You could also try to increase CONFIG_BT_MESH_RX_SEG_MSG_COUNT to a higher value, (10 or 15). Hence there will be more buffer slots for handling segmented messages. Please also then increase CONFIG_BT_MESH_ADV_BUF_COUNT, as these buffers are used for advertising packets.

    CONFIG_BT_MESH_TX_SEG_MAX=32

    Increasing this value also to something higher (40.50.etc) might help.

    Do try these and tell me how it goes.

    Regards,

    Priyanka

Children
Related