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

"Vendor Model Controls" in nRF Mesh App

Hi,

I have seen in other topics here that it is not possible to control the server of the light switch example from the Android App, only the Generic On Off Model.

But when we open the configuration page of an element of the light switch model, there is this "Vendor Model Controls":



I tried to use it to turn on the LED on the board, but with no success.

Can someone explain me what is this option for and how to use it?

Thanks in advance!

Parents
  • Hi Paulo,

    You should upgrade to our newest SDK for Mesh. In Mesh SDK 2.2.0 we use the Generic OnOff model for the light switch example, but in earlier SDKs we used our own vendor model.

    The nRF Mesh app currently supports Generic Models as specify in the Mesh Model Specification v1.0, so if you upgrade to Mesh SDK 2.2.0 and use the light switch example with the Generic OnOff model you will have no problems and will be able to use the control menu to turn on and off the light.

    This "Vendor Models Control" menu is for people to test their own vendor mode implementations sending raw bytes (Opcode and Parameters).

    Best Regards,

    Marjeris

  • Hello msromero, I tried to implement my own "Vendor model" by  (Documentation) given. It's all same code. Using mobile app 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? 

Reply
  • Hello msromero, I tried to implement my own "Vendor model" by  (Documentation) given. It's all same code. Using mobile app 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? 

Children
Related