This post is older than 2 years and might not be relevant anymore
More Info: Consider searching for newer posts

ble_app_uart isn't working

Hello,

I'm trying using \examples\ble_peripheral\ble_app_uart on PCA10040

I'm programmed s132_nrf52_6.1.1_softdevice, using nRF5_SDK_15.3.0_59ac345 with  pca10040_s112_nrf52832_xxaa.

But LED1 isn't blinking, no printing on serial terminal and don't see the Nordic_UART on App.

Any advice?

Thank you,

Eyall

  • Hello,

    If you intend to use the s132 softdevice, you should use the project that you find in the folder:

    SDK\examples\ble_peripheral\ble_app_uart\pca10040\s132\<your compiler>.

    It looks like you have built the project for the s112 softdevice. Try to use the s132 project, and it should blink and start advertising.

    Best regards,

    Edvin

  • Hello,

    Great, it is working. thanks.

    But I can't see text from the terminal on the App,i just can write data to the terminal, if I push the arrow in the "RX Characterisitc" section.

    I looked at the explanation and it says: "....is sent to the peer on handle 0x12"  what does it mean ?

    Thank you,

    Eyall

  • hEyall,

    I don't know what you are connecting with, but if you use nRF Connect for Desktop, it should look something like this:

    If so, you should press the "play" button next to UART TX. 

    If you use nRF Connect for Mobile, there should be an icon with 3 arrows pointing down next to the UART TX characteristic. Press that one, and it should start updating the characteristic when you write to it. 

    The line "....is sent to the peer on handle 0x12" isn't originally in the project, so it must be something you have added. But it looks like this is just the connection handle of your connected device. What does it look like where you print it?

Related