This post is older than 2 years and might not be relevant anymore
More Info: Consider searching for newer posts

Can't get publication from nRF Mesh with "Vendro Model Controls"

Hello,

I tried to implement my own "Vendor model" by  (Documentation) given. I am using example code from documentation. Using mobile app (nRF Mesh) I type optocode of C1, and parameter 0x54. On debug in Segger Embedded studio I see lines:

<t:   15007888>, proxy.c,  607, RX
<t:   15007893>, proxy.c,  549, RX GATT PDU type 0x0, len 22

But none of my callbacks (handle_set_cb, handle_get_cb) are triggered. Maybe you have suggestions how to debug this situation or maybe I am misunderstanding something? Maybe somewhere is more detailed documentation of how to use nRF Mesh app?

Everything is done on light switch proxy server nrf52832 s132_6.0.0 example.

Parents
  • Have you tested the nRF Mesh application using the regular proxy client & server examples? This youtube video could be helpful. You could also take a look at the documentation provided here in the two pdfs (one for Android & one for iOS). The code available there is slightly different from the regular mesh sdk v2.2.0 code, as the github code uses a simplified version of the generic on off client & server models. However, the documentation should be quite similar regardless.

    You are using mesh sdk v2.2.0, correct?

  • So I just checked information you gave to me. It's just about how to use generic models. I have used on ff server and client with app and it worked fine. Now I want to implement my own model and I wasn't able to use app with my model. So maybe there is a basic instructions how to use app's "Vendor model Controls" window? 

  • You could take a look at the documentation here for creating your own models. Also, the simple on off model used in mesh sdk v2.1.1 should work with the nRF Mesh app. The simple on off model is a vendor specific model created by Nordic, which has similar functionality to the generic on off model, but is a more simplified version. I would test with mesh sdk v2.1.1 using the exact same testing guidelines as I have given below in the pdfs or the youtube video.

    Also, if you used the github code I posted below, this is essentially a vendor specific on off model. If you compare the "generic on off model" given there with the generic on off model provided in mesh sdk v2.2.0, you will notice that they are not exactly identical. Therefore, you have already tested with a vendor specific model & partly achieved your goal.

Reply
  • You could take a look at the documentation here for creating your own models. Also, the simple on off model used in mesh sdk v2.1.1 should work with the nRF Mesh app. The simple on off model is a vendor specific model created by Nordic, which has similar functionality to the generic on off model, but is a more simplified version. I would test with mesh sdk v2.1.1 using the exact same testing guidelines as I have given below in the pdfs or the youtube video.

    Also, if you used the github code I posted below, this is essentially a vendor specific on off model. If you compare the "generic on off model" given there with the generic on off model provided in mesh sdk v2.2.0, you will notice that they are not exactly identical. Therefore, you have already tested with a vendor specific model & partly achieved your goal.

Children
Related