I'm implementing a vendor model in NCP mode. I'm using as an example "KBA_BT_0502" and I did some changes in the code to achive it functions. In parallel I'm modifying Silicon Labs Application for Android, I have deleted extra codigo that I don't need to have a custom application and implementing a Vendor Model. Now my Android Application it's functioning with a Vendor Model, I can communicate to the module through the OpCodes explained in "KBA_BT_0502". Taking in mind "AN1200 Bluetooth Mesh for iOS and Android ADK" from section 8.18 to 8.21, I did my own implementation of ControlValueSetVendorModel class, that lets me communicate to the module. Well, now I know that the OpCode 0x1 of "KBA_BT_0502" example it’s an acknowledged message used to get the temperature status of the server side and It works so good when I set the status in the Android App, but I can not get the response that the module send after I send the set status from Android App. I tried to configure Vendor Notifications which are explained in 8.20.8 section of "AN1200: Bluetooth® Mesh for iOS and Android ADK" but I don't get it works. I know that I can handle the notifications which come from the LocalVendorSettings with LocalVendorSettingsMessageHandler configuration (I configured my Local Vendor Model in MeshLogic file as shown in the attached picture).
My question is:
How is the process to get the response after do the SetStatus for the Vendor Model?
Could someone help me with an example to receive data?
I wonder if you have implemented the message sending without response and that it might be the reason for lacking message? Could you please check that?
Also, have you seen our the sequence diagrams for the Vendor Models usage? These are placed in the AN1200 document, section 8.21 and show all the workflow the needs to happen. I know that it helped a lot our Customers to better understand the VMs by following that.
Unfortunately, we do not have a working example available for the mobile side at the moment but I can try to support you with the implementation process.
According to the documentation, I'm following the process that is shown in 184.108.40.206.2 secction to send message with response. You can see my implementation in "SendingMessage" image that I attached to you. I'm using MeshElementControl.kt file to do my implementation as you can see in "MeshElementControl" attached image. Actually, it functions, I can ejecute that function and receive data in my Bluetooth module. I would like to know how I have to do my implementation to get RX message which is a result for TX message which is sent to the VendorModel. How do I have to use LocalVendorSettingsMessageHandler to get it. I also attach you "CompanyControlSetVendorModel" image which is my implementation of "ControlValueSetVendorModel" interface.
I really appreciate your help, Adam