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

nRF Connect BLE app does not support scanning ADV_EXT_IND and AUX_ADV_IND?

Hi,

I'm using the BLE app (ver 3.6.0) in nRF Connect for Desktop together with a PCA10056.

I'm scanning for a device that sends three ADV_EXT_IND, one on each channel 37..39, on 1M PHY followed by an AUX_ADV_IND on 2M PHY. I can see the traffic in a Sniffer so the device behaves as expected. But the BLE app does not discover the device.

Is this setup supported by the BLE app?

BR / Björn

Parents
  • Hi,

    The BLE app in nRF connect for desktop does not support advertisment extensions, but nRF connect on both iOS and Android should as long as it is run on a phone that supports this BT feature. I tested this today with a Samsung A21s and an iPhone 11 pro max

    ble_app_uart modification to perform ext. advertising on 2M

    static void advertising_init(void)
    {
        uint32_t               err_code;
        ble_advertising_init_t init;
    
        memset(&init, 0, sizeof(init));
    
        init.advdata.name_type          = BLE_ADVDATA_FULL_NAME;
        init.advdata.include_appearance = false;
        init.advdata.flags              = BLE_GAP_ADV_FLAGS_LE_ONLY_LIMITED_DISC_MODE;
    
        init.advdata.uuids_complete.uuid_cnt = sizeof(m_adv_uuids) / sizeof(m_adv_uuids[0]);
        init.advdata.uuids_complete.p_uuids  = m_adv_uuids;
    
        init.config.ble_adv_fast_enabled  = true;
        init.config.ble_adv_fast_interval = APP_ADV_INTERVAL;
        init.config.ble_adv_fast_timeout  = APP_ADV_DURATION;
        init.config.ble_adv_extended_enabled = true;
        init.config.ble_adv_primary_phy      = BLE_GAP_PHY_1MBPS;
        init.config.ble_adv_secondary_phy    = BLE_GAP_PHY_2MBPS;
    
        init.evt_handler = on_adv_evt;
    
        err_code = ble_advertising_init(&m_advertising, &init);
        APP_ERROR_CHECK(err_code);
    
        ble_advertising_conn_cfg_tag_set(&m_advertising, APP_BLE_CONN_CFG_TAG);
    }

    Iphone 11 pro

    Samsung A21s

    Best regards,

    Vidar

  • Thanks Vidar, then I just have to find a mobile phone with the proper support

    BR / Björn

Reply Children
No Data
Related