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.