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

light_switch example SDK v2.0.1 -- Problem with server

Dear all,

I am testing the light_switch demo (SDK for Mesh v2.0.1 and softdevice 6.0.0) below the following configuration:

-- One client: nrf52-PCA10040 DK (light_switch_client_nrf52832_xxAA_s132)

-- One server: nrf52-PCA10040 DK (light_switch_server_nrf52832_xxAA_s132)

-- One provisioner: nrf52-PCA10056 DK (light_switch_provisioner_nrf52840_xxAA_s140)

In light_switch_example_common.h:

After programming all boards and debugging the provisioner I get:

However, pressing Button 1 on the client board doesn't have any effect on server. Am I making a mistake?

Parents
  • Hi,

    The example should work regardless of the SERVER_NODE_COUNT setting (as long as it is high enough to cover all your servers.) However I have experienced that it might be necessary to reset the server for it to work properly.

    Please also note that you may have to erase the full flash contents (nrfjprog -e) before programming the boards, since the configurations are stored in a separate area in flash that is not rewritten when you program the example. When things are not working properly it may be because of old configurations in the devices.

    Regards,
    Terje

  • Hi tesc,

    I tried to stablish the same configuration following the tutorial "Interactive mesh provisioning and configuration" (Software Development Kit > nRF5 SDK for Mesh > nRF5 SDK for Mesh v2.0.1 > Scripts > Interactive PyACI).

    It seems that the client is not properly configured, since pressing Button 1 on client doesn't have any effect on server. However, if the Publishing and Subscribing feature is configured, when I change the state of the server the client also changes.

Reply
  • Hi tesc,

    I tried to stablish the same configuration following the tutorial "Interactive mesh provisioning and configuration" (Software Development Kit > nRF5 SDK for Mesh > nRF5 SDK for Mesh v2.0.1 > Scripts > Interactive PyACI).

    It seems that the client is not properly configured, since pressing Button 1 on client doesn't have any effect on server. However, if the Publishing and Subscribing feature is configured, when I change the state of the server the client also changes.

Children