Hi,
I have implemented my own Vendor model, using the light switch client/server as a starting point. The model allows to send byte arrays. Since I have used the generic on off model as a starting point, I was previously using the model id and the opcodes of the generic on off.
As I now need to send messages to the network from my phone, I needed to change these opcodes to be able to send VendorMessages. So I used my company's id and some custom model id and changed the opcode values to the same as in the tutorial showing how to implement a vendor model.
The problem I am facing when doing this is that once the node is provisioned, when a node receives a message, it wont receive another message until one or two seconds have passed since the reception of the previous message. Through some testing, I have noticed that this only happens when i'm using custom vendor opcodes, however using generic on off opcodes with my company's id and custom vendor id works fine.
I found this post in which the user is using his own company id and model id while still using the generic on off opcodes, so I tried only using my company's id and model id while keeping the generic on off model opcodes as well, however when trying to send a message from the nrf mesh app, when I set the opcode to 0x8203 and the parameters to any value, the mobile application crashes.
Any idea what could be the cause of the problem ?
I am developing on a nRF52 DK (nRF52832), with SDK 16.0.0, SDK for mesh 4.0.0 and softdevice s132 v7.0.1 and nRF mesh application on Android.
Regards,
Quentin