Dear Nordic support,
I'd assume it should be OK to allow nrf52840 to advertise in dual phy mode - primary in 1Mbps and secondary coded phy so that phones with and without long range support can pickup the advertising?
Can you please show me some example (link/or doc) on how to make a peripheral advertise on both phys so that we can achieve that?
here is what I got:
#define DUAL_PHY 1
#if DUAL_PHY
/**< PHY for the primary advertising. @ref BLE_GAP_PHYS (BLE_GAP_PHY_1MBPS, BLE_GAP_PHY_2MBPS or BLE_GAP_PHY_CODED). */
init.config.ble_adv_primary_phy = BLE_GAP_PHY_1MBPS;
init.config.ble_adv_secondary_phy = BLE_GAP_PHY_CODED;/**< Enable or disable extended advertising. */
init.config.ble_adv_extended_enabled = true;/**< Enable or disable extended advertising. */
#else
init.config.ble_adv_primary_phy = BLE_GAP_PHY_1MBPS;
//init.config.properties.type = BLE_GAP_ADV_TYPE_CONNECTABLE_SCANNABLE_UNDIRECTED;
#endif
But looks like it is not working as expected - seems the extended adv enable or not plays a big role here.
Your support is appreciated,
Lichang