pc-ble-driver CODED PHY not working

Hi,

We are trying to work pc-ble-driver on Windows with CODED PHY.

it works with 1Mb PHY but not with CODED PHY.

I changed the MAX CONNECITON INTERVAL to 500, but getting error on connection of NRF_ERROR_RESOURCES.

Using nrf52840 dongle on Windows PC with connectivity FW "connectivity_4.1.4_usb_with_s140_6.1.1.hex"

Using pc-ble-driver Release 4.1.4 branch.

Attached my "main.c" used with "heart_rate_collector_sd_api_v6.exe"

Thanks,

Moshe

Parents Reply
  • Update: calling the below is not failing anymore on sd_ble_cfg_set(), but now sd_ble_gap_connect() is failing on NRF_ERROR_INVALID_STATE. Peripheral is Nordic Long-Range in CODED PHY mode. nRF Connect on phone is connecting with no issue. Please help to resolve. Thanks!

    memset(&ble_cfg, 0x00, sizeof(ble_cfg));
    ble_cfg.conn_cfg.conn_cfg_tag = conn_cfg_tag;
    ble_cfg.conn_cfg.params.gap_conn_cfg.event_length = BLE_GAP_EVENT_LENGTH_CODED_PHY_MIN *3;
    ble_cfg.conn_cfg.params.gap_conn_cfg.conn_count = BLE_GAP_CONN_COUNT_DEFAULT;

    error_code = sd_ble_cfg_set(m_adapter, BLE_CONN_CFG_GAP, &ble_cfg, ram_start);

Children
Related