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

Long range IAS question and troubles

Hello,

I'm trying to create a long range IAS (Immediate Alert Service) unsing long range BLE 5.

On the server software I forced the PHY to BLE_GAP_PHY_CODED. I saw in the SoftDevice API that extended as to be set to 1 in this case. Is it not possible to use long range BLE5 without using extended advertising ?

static ble_gap_scan_params_t m_scan_param =
{
    .active        = 0x01,
    .interval      = NRF_BLE_SCAN_SCAN_INTERVAL,
    .window        = NRF_BLE_SCAN_SCAN_WINDOW,
    .filter_policy = BLE_GAP_SCAN_FP_WHITELIST,
    .timeout       = SCAN_DURATION_WITELIST,
    .scan_phys     = BLE_GAP_PHY_CODED, 
    .extended      = 1,
};

With this configuration, I get an error during the scan_start. The nrf_ble_scan_start returns NRF_ERROR_INVALID_LENGTH. What length is invalid, I didn't understand well.

It would be very nice if somebody can help me ! I use SDK : 15.3 / SoftDevice : S140 on PCA10056 board

Best regards 


Steve

Related