2022-09-12 01:19 AM
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?
2022-10-05 05:14 AM
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:
Best Regards