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

BLE advertising

Hi,

I need an indication that BLE is currently advertising. Do I have it?

Thanks!

Parents
  • There are several ways of checking if the device is advertising:

    • Most of the examples in the SDK will indicate advertising by blinking LED 1 (BSP_INIDCATE_ADVERTISING). However, this may vary and you have to check with the specific application.
    • Download nRF Connect on the phone, and check if you see the device advertising with the name set in the application flashed onto the chip (through sd_ble_gap_device_name_set(..) )
    • Check if the return value of sd_ble_gap_adv_start(..) is NRF_SUCCESS (=0x00)

    Best regards,

    Simon

Reply
  • There are several ways of checking if the device is advertising:

    • Most of the examples in the SDK will indicate advertising by blinking LED 1 (BSP_INIDCATE_ADVERTISING). However, this may vary and you have to check with the specific application.
    • Download nRF Connect on the phone, and check if you see the device advertising with the name set in the application flashed onto the chip (through sd_ble_gap_device_name_set(..) )
    • Check if the return value of sd_ble_gap_adv_start(..) is NRF_SUCCESS (=0x00)

    Best regards,

    Simon

Children
Related