I successfully created a custom model (by modifying the generic on-off model) and implemented it into light_switch client and server examples. The goal was to send and receive strings over BLE Mesh.
However, there is a problem:
The first sent message is received immediately, but when trying to send another message immediately after the first one, there is a delay in transfer (about 5-6 seconds) until the message is received. If I try to send more messages in the delay interval, they are lost. If I wait a certain time (after the first message was received), I can then send another message without delay.
I believe the problem is with message caching in BLE Mesh, but that is just my guess.
What could be the problem?