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!

    So you can see the advertising name, "Nordic_Blinky", when using the ble_app_blinky example.

    But you can't see the advertising name when using the uart examples? Can you see the device in nRF Connect advertising with a wrong name, or can't you see the device at all?

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

    No, you should be able to see the device in nRF Connect when using the UART examples.

    Are you using nRF Connect on a smartphone or nRF Connect for desktop?

    Best regards,
    Joakim.

  • Can you see the device in nRF Connect advertising with a wrong name, or can't you see the device at all?

    Exactly, I cant see anything in my Ios apps

    Are you using nRF Connect on a smartphone or nRF Connect for desktop?

    Im ussing the nrf Toolbox and nrf Connect apps in Ios 11.

    This is with ble_peripheral/ble_app_blinky

    And with ble_peripheral/ble_app_uart i cant see any ssid in the app.

    Otherwise in the uart example, the file retarget.c throws a error in line 100 

    int __putchar(int ch, FILE * p_file) and I renamed it  to
    int _putchar(int ch, FILE * p_file) ( the diference is a one '_' minus)




    Regards Joakim!
  • Ok, so when there is an error in your application, you won't see the device in your iOS app.
    This is because it probably won't be advertising.

    Are you sure this is an unmodified example? The uart example should run just fine out-of-the-box.
    You could try the pre-compiled hex file (containing both the softdevice and the application) and see if that works.
    The hex file can be found in your SDK_Folder/examples/ble_peripheral/ble_app_uart/hex

    As for the "int __putchar (int ch, FILE * p_file)", as far as I know there should be two '_'.
    What kind of error are you getting here?
    As suggested below, you should you try debugging to find out what is causing this error.

    Best regards,
    Joakim.

Reply
  • Ok, so when there is an error in your application, you won't see the device in your iOS app.
    This is because it probably won't be advertising.

    Are you sure this is an unmodified example? The uart example should run just fine out-of-the-box.
    You could try the pre-compiled hex file (containing both the softdevice and the application) and see if that works.
    The hex file can be found in your SDK_Folder/examples/ble_peripheral/ble_app_uart/hex

    As for the "int __putchar (int ch, FILE * p_file)", as far as I know there should be two '_'.
    What kind of error are you getting here?
    As suggested below, you should you try debugging to find out what is causing this error.

    Best regards,
    Joakim.

Children
No Data
Related