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

Mesh to control different LEDS in the DK with different Dongles

Hello,

I am trying to make an application with three dongles and one DK. This application consist on control the 4 LEDS of the DK, and each LED is controlled by one different Dongle. My understanding of the problem was to supply an AppKey for each LED (each LED has its own GenOnOff model) so that the DK had three differents Appkeys and each dongle had one of them. The problem is that when I am trying to add a second key in the DK node I have the following message. ¿Have I choosen the correct solution for the app keys or is there another way to do it?

Thank you for your time.

Parents
  • I have configured 3 in CONFIG_BT_MESH_KEY_COUNT, but when I flash it and try to add a ney key in the app the message is the same. ¿Is there another paremeter that I have to configure?

  • Hello. That problem is solved. I was configuring CONFIG_BT_MESH_KEY_COUNT in the wrong file. Now I am no able to turn the four LEDs on of the DK with each Dongle. Instead of that I am able to turn the LED 1 on with de three Dongles, but not the LED 2 with the dongle 2, for example. I provided the AppKey2 to the LED2 model in the DK and to the Dongle 2, but it just doesn´t work. Is there something to configure for this function of the dongle?

Reply
  • Hello. That problem is solved. I was configuring CONFIG_BT_MESH_KEY_COUNT in the wrong file. Now I am no able to turn the four LEDs on of the DK with each Dongle. Instead of that I am able to turn the LED 1 on with de three Dongles, but not the LED 2 with the dongle 2, for example. I provided the AppKey2 to the LED2 model in the DK and to the Dongle 2, but it just doesn´t work. Is there something to configure for this function of the dongle?

Children
Related