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

ble_app_uart sdk 15 dosnt work

Hi, Im using the latest SDK on the latest DK .

Im triying to run the ble_app_uart example  with default code and, I can compile it and upload it, but i cant see the ssid in my nrfconnect app.

If I use the ble_app_blinky I can see the "Nordic_Blinky" name in my nrfConnect app, can you help me ? 

I want to build something bigger but i want to start my path from this example.

Thanks and regards !

EDIT: I also tried ble_app_uart_c from ble_central and ble_app_uart from ble_peripheral

Its normal that I cant see the ssid in the nrfconnect app? 

Parents
  • Hi,

    I am assuming you are using Segger embedded studio and a dk. try the following

    enable RTT logging and make sure logger serial backend is disabled in sdk_config.h

    run the app in debug mode and see if you notice any error logs

    try commenting the uart_init function or, if you need it, try connecting a device to the rx and tx pins and then try.

  • nRF SDK version 15.0

    nRF52 Development Kit board (PCA10040)

    nRF52 DK v1.1.0   2016.19

    Example code:

    C:\Nordic_semi\nRF5_SDK_15.0.0\examples\ble_peripheral\ble_app_uart\pca10040\s132\ses\ble_app_uart_pca10040_s132.emProject

    retarget.c file

    Original line 100:

       int __putchar(int ch, FILE * p_file)

     Modifien line 100:

        int __putchar(int ch, __printf_tag_ptr * p_file)

     Both lines, original and modified, give me the same error: Conflicting types for '__putchar'.

     I'd like to begin with this example and, once working, modified for a low power, closing and opening the UART.

     Thanks.

Reply
  • nRF SDK version 15.0

    nRF52 Development Kit board (PCA10040)

    nRF52 DK v1.1.0   2016.19

    Example code:

    C:\Nordic_semi\nRF5_SDK_15.0.0\examples\ble_peripheral\ble_app_uart\pca10040\s132\ses\ble_app_uart_pca10040_s132.emProject

    retarget.c file

    Original line 100:

       int __putchar(int ch, FILE * p_file)

     Modifien line 100:

        int __putchar(int ch, __printf_tag_ptr * p_file)

     Both lines, original and modified, give me the same error: Conflicting types for '__putchar'.

     I'd like to begin with this example and, once working, modified for a low power, closing and opening the UART.

     Thanks.

Children
Related