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

ble_app_uart example not working

Hi Guys,

I flashed the ble_app_uart example available in nRF5_SDK_15.3.0_59ac345\examples\ble_peripheral\ble_app_uart\pca10056\s140\ses location to NRF52840 DK board. In mobile application - nrf toolbox- uart while I click on connect it is displaying the device name "Nordic_UART". But when I click on the device it disconnects immediately saying "This device does not have required services". 

Is this the correct example to test it using the nrf Toolbox - UART or is there any other example to test?

If this is the correct example why is it not connecting ?

Please Help ! 

Thanks Slight smile

Vibhu.

Parents Reply Children
  • Hi, 

    If you use Segger, you can open the ble_app_uart_pca10056_s140 project for NRF52840 DK under <nRF5_SDK_15.3.0>\examples\ble_peripheral\ble_app_uart\pca10056\s140\ses. Rebuild and run the example. 

    Or you could use nRF Command Line Tools with the following commands to flash the images:

    nRF5_SDK_15.3.0\components\softdevice\s140\hex\s140_nrf52_6.1.1_softdevice.hex

    nRF5_SDK_15.3.0\examples\ble_peripheral\ble_app_uart\hex\ble_app_uart_pca10056_s140.hex

    nrfjprog --family NRF52 --program s140_nrf52_6.1.1_softdevice.hex --chiperase --verify
    
    nrfjprog --family NRF52 --program ble_app_uart_pca10056_s140.hex --sectorerase --verify
    
    nrfjprog --family NRF52 --reset
     

    On the nRF Connect mobile, you would see like this 

    -Amanda H.

  • Hi, 

    If I try to flash the ble_app_uart using ses I am not getting the rx and tx characteristics. That's is why I posted this question and it is still the same. 

  • Hi, 

    Sorry for the delay. I was out of the office in the past days. 

    What did you modify the ble_app_uart example? Could you try the unified ble_app_uart?

    Could you describe how you flashed the ble_app_uart image?

    After rebuilding the project, you also could try from Taget (on the top)/ Erase All -> Download ble_app_uart_pca10056_s140 -> Verify ble_app_uart_pca10056_s140 and then press the "reset" button on the DK.  

    Please let me know this helps or not. Thanks.

    -Amanda H.

  • Hi,

    Sorry for the delay. 

    What did you modify the ble_app_uart example?

    I did not modify anything in the ble_app_uart example.

    Could you describe how you flashed the ble_app_uart image?

    I opened the project in segger and connected the board. Gave build and run in segger.

    After rebuilding the project, you also could try from Taget (on the top)/ Erase All -> Download ble_app_uart_pca10056_s140 -> Verify ble_app_uart_pca10056_s140 and then press the "reset" button on the DK.  

    I did this and still the same.

    -Vibhu S.

  • Hi,

    I happen to try this example and in other phones it is working fine.

    That is when I found out, I made some changes in the btm example and I tested with that phone after which the uart example is not working in the phone.

    After that I used the customised btm example in other phone and the other phone's ble app also behaves the same strange way.

    I tried uninstalling and installing the app but it is still the same.

    It is little strange.

    Please Help !

    -Vibhu S.

Related