This discussion has been locked.
You can no longer post new replies to this discussion. If you have a question you can start a new discussion

ble mesh, Vendor-Specific Model Implementation

 I want to send my sensor data from one node to another node using BLE mesh. my data is at about 128 bytes I am trying to create a custom model but it's hard to know how to implement this already i looked how to create a vendor model.

Parents Reply Children
  • I am using SDK 5 for mesh with sdk17. and I have nrf52840 dk bord.I want to send sensor data for that I want to make a custom model.I am familiar with light example and how they work.

  • Hi,

    We have a page in the SDK documentation about creating new models, as well as an example custom model named the Simple OnOff model. You should have a look at that if you haven't already, as it goes thorough everything needed for creating a model.

    All you should need for your model is to decide on what opcodes you need, what parameters they need (and the size of those parameters - including for some opcodes a data field for your data.) Apart from the status being a set of several bytes of data instead of a boolean value, it should be very similar to the Simple OnOff model.

    Regards,
    Terje

Related