Example code

I have been forced to upgrade to the nRF54L15 from the nRF52840 DK.  The example code in the SDK  for the nRF52840 the 'ble-peripheral' had example code for 'ble_app_uart' which was perfect for me.  All I need to do is receive a string of characters from a smart phone, and then do what I need to do with it. 

In the 'ble_app_uart' example there is a routine called 'nus_data_handler'  which had an array called 'ble_data[]'  which received the string of data from the phone.

I have just installed the SDK for the nRF52840 Development Kit and I can not find anything comparable with the 'ble_app_uart' for nRF52840.

It must be in there somewhere, but I have looked, but can not find it.  I am hoping that you can point me in the right direction.

Cheers,

Brian Fleming

Parents
  • Hi

    Doesn't seem like the screenshot was uploaded here. To upload an image or a file, try the following:

    Then press Upload file here, and navigate to the image you want to upload.

    But if you see the same as me and build the same way, then the errors you're seeing most likely point to something having gone wrong during installation of the SDK or VS Code extension. If that's the case, uninstalling and reinstalling the VS Code extension, VS Code as a whole and the nRF Connect SDK, as it seems like CMake and Python dependencies haven't been installed correctly.

    Best regards,

    Simon

Reply
  • Hi

    Doesn't seem like the screenshot was uploaded here. To upload an image or a file, try the following:

    Then press Upload file here, and navigate to the image you want to upload.

    But if you see the same as me and build the same way, then the errors you're seeing most likely point to something having gone wrong during installation of the SDK or VS Code extension. If that's the case, uninstalling and reinstalling the VS Code extension, VS Code as a whole and the nRF Connect SDK, as it seems like CMake and Python dependencies haven't been installed correctly.

    Best regards,

    Simon

Children
Related