Re: Bluetooth mesh composition limite size


William Fish
 

Hi,
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
intbt_mesh_cfg_comp_data_get(uint16_tnet_idxuint16_taddruint8_tpageuint8_t*rspstructnet_buf_simple*comp)

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 rsp.

Parameters
  • net_idx – Network index to encrypt with.

  • addr – Target node address.

  • page – Composition data page, or 0xff to request the first available page.

  • rsp – Return parameter for the returned page number, or NULL.

  • comp – Composition data buffer to fill.

Returns

0 on success, or (negative) error code on failure.

Join devel@lists.zephyrproject.org to automatically receive all group messages.