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

No BLE device founfd

CHip:52840

Flash Assign:softdevice S140 0x00000000-0x0026000   Ram 0x20000000-0x20003000

                         SDK  v15.3    0x0026000-0x00800000        Ram 0x20003000-0x40000000

example:  ble_app_hids_mouse

Compile OK

But Can not  find BLE device  in app.how?

Parents Reply
  • If you don't see the device advertising, then there is something wrong. You should find it in windows as well as in the nRF Connect app for mobile with the name "nRF5_Mouse".

    Could you install the nRF Connect app on your mobile and see if you see your device as followed:

    Also, could you enable logging by setting the following configs in sdk_config.h:

    • NRF_LOG_BACKEND_UART_ENABLED 1
    • NRF_FPRINTF_FLAG_AUTOMATIC_CR_ON_LF_ENABLED 0
    • NRF_LOG_ENABLED 1

    Then, try to erase the chip: nrfjprog --eraseall, and build and flash the example

    When you have done that, open Termite with the following settings:

    If you get the following logs, it should work fine:

    <info> app: HID Mouse example started.
    <info> app: 	m_whitelist_peer_cnt 2, MAX_PEERS_WLIST 8
    <info> app: Fast advertising with whitelist.

    Best regards,

    Simon

Children
Related