Instaburst on Light Switch Example

Hi,

So I'm working on modifying the light switch example to send a larger payload on button press than just the boolean on_off value that's normally sent. I followed this thread to do so (https://devzone.nordicsemi.com/f/nordic-q-a/39896/modifying-the-light-switch-example-mesh-sdk-2-2-0/155733#155733), and have gotten the setup to send a 64-byte char payload from the client board (nRF52833) to the server board (nrf52840). I am using the nRF Mesh app on my iPhone to provision the devices.

Now, I have set a -DEXPERIMENTAL_INSTABURST_ENABLED=ON flag to rebuild the client and server projects, so as to enable instaburst. My hope is that I will be able to send this payload more quickly/with fewer packets sent. I realize this example was not necessarily meant for this, but I would love to get it working as so. When I flash the build onto the client node, it seems to function properly (I can detect the node in the nRF Mesh app, provision it, etc.). However, when I try to flash it onto the nrf52840 server board, the four LEDs remain on constantly (not sure what this means), and I am unable to detect it in the app.

I also tried to just use the instaburst feature on the client and not the server, and while it seemed to properly bind the publication in the app, I cannot send any messages between the client and server boards (I confirm this by the light on the server turning on when I press button 1 on the client, as well as through JLink RTT).

Any help or ideas would be appreciated, thank you.

Parents Reply Children
  • Hello again Stiv,

    Great that you found the workaround. There is an issue with instaburst that limits the amount of roles you can use. This results in instaburst not working on the light switch server, as that uses the friend role. The light switch client however does not.

    You can disable the friend role and continue with the propriatary Instaburst feature, though what I would recommend is to drop it and move to NCS if your use-case allows you to. 

    Regards,

    Elfving

Related