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, 

    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.

  • Hi, 

    Vibhu said:
    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.

    What is the btm example? What did you change?

    Could you provide the log on both sides like RTT log and nRF Connect log?

    What are those phones you tested? Which one can/cannot work?

    -Amanda H.

  • Hi,

    What is the btm example?

    Sorry it is htm example. The ble_app_htm example in example -> peripherals.

    What did you change?

    I have Si7021 sensor, So changed the htm example to read the value from the i2c sensor(si7021) and display it on app instead of the existing htm.

    Could you provide the log on both sides like RTT log and nRF Connect log?

    How do I do it ?

    What are those phones you tested? Which one can/cannot work?

    I tested in two MI android phones.

    When I first test ble_app_uart code it is working. Once when I test with the customized ble_app_htm example, after that in uart health service characteristic comes and it is not connecting to uart android application.

    The above is the same irrespective of the phone. I tried in 3 android phones and I am getting the same result.

    More like below which you told in the earlier comments.

    It seems like the HTS example with the device name "Nordic_UART".  

    -Vibhu S.

Related