Directed advertising with coded PHY without bonding

Hello,

I am trying to do directed advertising while using the coded PHY whithout bonding the devices but i am running into some problems.

The device with the BT-address i am directing towards (BLE_GAP_ADDR_TYPE_RANDOM_STATIC) does not see/identify the advertising packets meant for it. When i disable directed advertising the device has no problems recognizing the broadcast advertising packets.

I've looked at the advertising packets for both directed and undirected advertising with the nRF Sniffer tool and the only differences i could find where:

  1. Obviously in directed advertising mode there was a destination address which matches the desired device.
  2. There was no advertising data in the "AUX_ADV_IND" packet when using directed mode.

The setup has already worked when using directed advertising with the 1M PHY.

I am wondering if i may be missing something obvious or if what i am trying to do is even supported. If it is in fact possible i was wondering if maybe there is an example or code snippet showing the necessary steps to achieve it.

Thanks in advance!

Parents
  • hi

    use these settings

    To test the example, you need two radio boards.

    1. Create an SoC-Empty example for one of the radio boards in Simplicity Studio.

    2. Copy the attached app_advertiser.c in the project replacing the existing app.c.

    3. Set DEBUG_LEVEL to 1 in app.h.

    4. Build and flash the project to the radio board.

    5. Create an SoC-Empty example for the other radio board.

    6. Copy the attached app_scanner.c in the project replacing the existing app.c.

    7. Set DEBUG_LEVEL to 1 in app.h.

    8. Build and flash the project to the radio board.

    and check the resource: docs.silabs.com/.../app_advertiser.c

Reply
  • hi

    use these settings

    To test the example, you need two radio boards.

    1. Create an SoC-Empty example for one of the radio boards in Simplicity Studio.

    2. Copy the attached app_advertiser.c in the project replacing the existing app.c.

    3. Set DEBUG_LEVEL to 1 in app.h.

    4. Build and flash the project to the radio board.

    5. Create an SoC-Empty example for the other radio board.

    6. Copy the attached app_scanner.c in the project replacing the existing app.c.

    7. Set DEBUG_LEVEL to 1 in app.h.

    8. Build and flash the project to the radio board.

    and check the resource: docs.silabs.com/.../app_advertiser.c

Children
No Data
Related