This post is older than 2 years and might not be relevant anymore
More Info: Consider searching for newer posts
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

Ble App Uart PCA 1008 not working

Hello, For some reason the Ble App Uart is not working on my PC anymore. I have gone over Nordic tutorial again however, the LED doesnt blink and I cant detec the device on my phone or by MCP. I suspect that its because I compared the image on the tutorial and the one I have from the keil dev pannel and found out I am missing Ble_ Nus . I suspect that to be the problem . The pic on left is the tutorial image and the one on right is mine. I would appreciate your feedback. Thank You

image description image description

  • You say anymore, does that imply it used to work until you changed something ?

    I haven't used the UART example, but it seems that ble_nus is vital for the application. Did you include ble_nus.h in your main ?

    As for ble_nus.c, check other folders in the Keil menu on the left hand side. If there is no ble_nus.c you probably do want to add ble_nus.c in your project. To do that, right click on the Application folder, then "Add Existing Files to the Group", then just navigate to ble_nus.c, and press "Add file".

    I'm not sure how useful the tutorial that you have linked for your application, as it concerns advertising, rather than services and pairing. Try Nordic infocenter, they have a detailed description on how to test example code.

  • Yes it used to work till I combined it with the SPI_Master example and now it is not working anymore. I added the ble_nus as you said and it gave me compiling error. I believe there should be something wrong with the flash_softdevice. When I choose the soft_device option from the target list. It shows me a project folder with all its containing files marked unavailable.

  • It's quite hard to nail down all the file dependencies in nrf sdk projects, unless you have a lot of experience with them. Maybe if you open the UART example and then try and add code for SPI Master, it could work. I'm not sure what the issue is as i don't know which compiling error you got and what code you have in your main.

Related