How to increase the number of elements for Provisioner example in Mesh v4.2.0?

In the Provisioner example (unmodified) given in nRF5_SDK_for_Mesh v4.2.0, they provide only 2 elements, even and odd. I've got 3 or more servers and I would like to control them individually using the light_lightness example from Mesh v4.2.0, how would I go about doing that?

Parents
  • Hi,

    The provisioner example is hard coded to expect a certain number of client/server models for a given example. The identification of the example is done through the Uniform Resource Identifier (URI) included in the beacons from the supported examples. The configuration steps for nodes of each example are defined through macros in the file config_scenarios.h. You can modify those by adding additional config steps. The mapping from URI to configuration steps is found in node_setup.c. You can also use the same patterns and add URIs, steps, etc. in those files and change the URI used by the modified lightness devices.

    Regards,
    Terje

Reply
  • Hi,

    The provisioner example is hard coded to expect a certain number of client/server models for a given example. The identification of the example is done through the Uniform Resource Identifier (URI) included in the beacons from the supported examples. The configuration steps for nodes of each example are defined through macros in the file config_scenarios.h. You can modify those by adding additional config steps. The mapping from URI to configuration steps is found in node_setup.c. You can also use the same patterns and add URIs, steps, etc. in those files and change the URI used by the modified lightness devices.

    Regards,
    Terje

Children
No Data
Related