Bluetooth mesh composition limite size
I have a bluetooth mesh composition with two elements
I. The first element contains four models
II. The second element contains two vendor models
During the phone provisioning process, I receive an error message and provisioning fails
[00:01:03.470,672] <dbg> bt_mesh_cfg_srv.dev_comp_data_get: Composition page 255 not available
[00:01:03.470,703] <err> bt_mesh_transport: Message too big: 36
[00:01:03.470,703] <err> bt_mesh_cfg_srv: Unable to send Device Composition Status response
After removing both GEN_ONOFF models, provisioning has succeeded and all works as expected
Is there any way to make the size bigger or is there any other solution?
A couple of things:
a. I have found it could be a BLE buffer issue; CONFIG_BT_MESH_LOOPBACK_BUFS=30
If you increase this it allows the device to process more self-generated messages
b. Composition page error needs further investigation, it may be worth have a look at
Get the target node’s composition data.
If the other device does not have the given composition data page, it will return the largest page number it supports that is less than the requested page index. The actual page the device responds with is returned in