Unable to see BLE advertising

Hi All,

I have flashed one of the samples on our custom board based on NRF52833. 

SDK : nrf connect v1.7

IDE : Vs Code

OS : Windows 10

I can see the that code is running when I connect a debugger and have played around BLE advertising options. 

Still I couldn't see device advertising in nrf Connect mobile application.

Does the provided examples only work on development kits?

"I have to build an application which can switch between central and peripheral roles on receiving a command from UART."

which example shall I pick to start my development?

I'm relatively newbie in BLE development and completely new to RTOS applications. Need a little help here.

Parents
  • Hi,

    Still I couldn't see device advertising in nrf Connect mobile application.

    You should normally see the advertising packets from a phone, though there can be some exceptions. Which sample have you programmed?

    Does the provided examples only work on development kits?

    Yes. Most samples work on all development kits, as long as you build for the correct board.

    "I have to build an application which can switch between central and peripheral roles on receiving a command from UART."

    Perhaps it makes sense to start with a multirole sample. For instance Bluetooth: Central and Peripheral HRS.

  • I have used peripheral_uart sample and peripheral_hr sample. Built the samples without any modification and flashed into our custom board.

    I am expecting at least the advertising visible in my mobile.

  • Hi,

    The periphearl_hr_coded advertise on coded PHY so you will not see that with your mobile pone (which generally does not support coded PHY). The peripheral_uart sample advertises out of the box, though, so you should see packet from that.

    Have you tested the radio on your custom board before, so that you know if the basics are in place? And have you made a board file or overlay that you build for so that the project fits your custom board? Please explain what you have done.

    If everything looks good from an SW perspective and you see no issues when debugging I suggest you check your HW. The first thing could be to test with the Radio test sample and a spectrum analyzer. Output a carrier and verify that you measure it with a sensible strength and at the correct frequency. If that is good you should also be able to receive Bluetooth advertising packets from that device.

Reply
  • Hi,

    The periphearl_hr_coded advertise on coded PHY so you will not see that with your mobile pone (which generally does not support coded PHY). The peripheral_uart sample advertises out of the box, though, so you should see packet from that.

    Have you tested the radio on your custom board before, so that you know if the basics are in place? And have you made a board file or overlay that you build for so that the project fits your custom board? Please explain what you have done.

    If everything looks good from an SW perspective and you see no issues when debugging I suggest you check your HW. The first thing could be to test with the Radio test sample and a spectrum analyzer. Output a carrier and verify that you measure it with a sensible strength and at the correct frequency. If that is good you should also be able to receive Bluetooth advertising packets from that device.

Children
No Data
Related