Skip to main content
LKalj.1
Visitor II
Sep 12, 2022 8:19 AM UTC
Question

Issues with STM32WB55 BLE Mesh data size

Using:

BLEMesh_SetRemotePublication(GENERIC_ONOFF_SERVER_MODEL_ID, 
 srcAddress ,
 GENERIC_ON_OFF_SET_UNACK, 
 generic_Buff, 38,
 MOBLE_FALSE, MOBLE_FALSE);

I send a buffer with a size of 38, on the receiving end however GenericModelServer_ProcessMessageCb only receives a buffer with the first data point, the other 37 data points nowhere to be seen. Most of the code im using comes from the MeshLightningPRFNode example, how could i best go about solving the issue?

This topic has been closed for replies.

1 reply

Remy ISSALYS
ST Technical Moderator
Oct 5, 2022 12:14 PM UTC

Hello,

You try to send custom data through standard command GENERIC_ON_OFF_SET_UNACK for a standard model GENERIC_ONOFF_SERVER_MODEL_ID. So, according to BT SIG specification, this command allow to send 2 or 4 bytes with a specific format, see the following extract of the documentation:

0693W00000UnPYBQA3.pngBest Regards