cancel
Showing results for 
Search instead for 
Did you mean: 

Issues with STM32WB55 BLE Mesh data size

LKalj.1
Associate

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?

1 REPLY 1
Remy ISSALYS
ST Employee

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