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

central_scanner example cannot detect beacon

Hi Nordic Community,

    I have two nrf52840 feather boards, and I configured one of them as central scanner with the central_scanner example. It works well and was able to scan ble devices.

    Another one I configured as a beacon with the beacon example. However, the scanner was not able to detect the beacon after I check for the uuids of all printed devices. But with my nrf connect app, I can see the nrf beacon with the correct manufacture id and beacon uuid. 

    I am new to nordic development, what am I possibily missing?

Thank you,

Parents Reply Children
  • Hi Karl,

    I started with the examples on Adafruit Arduino, and I wasn't sure about what SDK do they have in their libs, sorry...

    I tried the central_scan example here. I only modified the parameters to see the device name from ble_gap_evt_adv_report_t so that I could verify whether it is actually the beacon that I have.

    Thanks,

  • Hi,

    I am not familiar with the Adafruit Bluefruit library, as it is not developed by us here at Nordic Semiconductor.
    If you are able to see the advertised data in your nRF Connect app, it would seem that the error is with the Bluefruit central_scan example.

    The beacon you have programmed, is it running the ble_peripheral/ble_app_beacon example from the SDK v16.0.0?
    If not, which beacon application is it running?

    If you are new to embedded/bluetooth development the task of familiarizing yourself with all the concepts might seem daunting, but under the surface it is all neatly connected.
    I recommend these guides if you wish to read up on some of the core concepts:
    Ble Advertising tutorial
    Ble services tutorial

    If you have any questions or encounter any issues when starting your development, please let me know!

    Best regards,
    Karl


  • Hi Karl,

    Thanks for the detailed explanation! It does seem like I am missing some of the basic knowledge of embedded/bluetooth development. I think I will spend some time and go through what you have mentioned above before I can ask more related questions. 

    Thanks for the help!

  • Hello,

    No problem at all - I am happy to help!
    That sounds like a great idea. Are you familiar with embedded programming?
    If you are not, the code for the examples we provide in the SDK might seem massive at first - in that case it might help a lot to read the accompanying documentation to understand what is being done. All the BLE example's documentation can be found here.

    If you get stuck, or have any other issues - come back and let me know any time!
    If you have new questions on separate topics, please open a new ticket - if you tag me, I'll help you along.

    Best regards,
    Karl

Related