Peripheral LBS sample not working as expected

I'm becoming familiar with the nRF5340 development kit by running the peripheral LBS sample application. I can connect with nRF connect but the LED and button are not working as expected. I think I must have something misconfigured.

I created the nrf/samples/bluetooth/peripheral_lbs application in VS Code from the nRF Connect welcome page.with SDK 2.3.0.

I added the build configuration for the nfr5340dk_nrf5340_cpuapp board.

I can connect to the NORDIC_LBS device with nRF Connect app on my mobile device but when I send LED on from the Nordic LED Button Service the RGB 2 blue LED turns off and when I send LED off the RBG 2 blue LED turns on. I expected LED 1 to turn on an off instead.

After enabling button notifications, the value does not change when I push the button. A debug breakpoint in the buttons_scan_fn() function is only ever hit once when the app comes up.

Parents
  • Hello,

    I'm becoming familiar with the nRF5340 development kit

    What kit, exactly, is this? The nRF5340 Kit from Nordic Semiconductor doesn't have RGB leds.

    RBG 2 blue LED
    Service the RGB 2 blue LED turns off

    Are you using the Thingy53? Or some 3rd party Development Kit?

    And when you built your application, what board did you use as your target board when you created the build configuration in VS Code?

    Best regards,

    Edvin

Reply
  • Hello,

    I'm becoming familiar with the nRF5340 development kit

    What kit, exactly, is this? The nRF5340 Kit from Nordic Semiconductor doesn't have RGB leds.

    RBG 2 blue LED
    Service the RGB 2 blue LED turns off

    Are you using the Thingy53? Or some 3rd party Development Kit?

    And when you built your application, what board did you use as your target board when you created the build configuration in VS Code?

    Best regards,

    Edvin

Children
Related