I've run an mesh example of light control with three 52832DK board.There are some question.
Now i want to add uart function to the example,then i can send msg without buttons.please gave me some advice about how coexistence with other Nordic SDKs.
In the Header file "simple_on_off_common.h",there is a message format for the simple onoff set message:simple_on_off_msg_set_t.The struct have only two byte,on_off and tid.if i want send more msg from client to client, can i add other parameter into this struct.if yes,then how many byte can add.
You may want to import the uart driver in the nRF5 SDK into the Mesh SDK.
There could be some collision in the header that you might need to fix.
Another option is to use the peripheral directly, for example using this simple_uart
You are free to modify the struct. The maximum payload size for unfragmented packet (single packet) is 11 byte payload. Larger payload will be send as fragmented packets and the max payload size is TRANSPORT_SAR_PACKET_MAX_SIZE = 384 bytes.
aha,thank you so much!
Btw, we are going to release new mesh SDK today, uses same softdevice as in SDK v14
omg,perfect! didn't expect it to be released so soon.