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

Queued Writes & NRF_SDH_BLE_VS_UUID_COUNT

Hi.

I want to ask about the Queued Writes module and the NRF_SDH_BLE_VS_UUID_COUNT.
In the  example ble_app_uart, in the "services_init(void)" function we initialize the QWR service  and the NUS service and on the NRF_SDH_BLE_VS_UUID_COUNT is 1, Isn't supposed to be 2?

/**@brief Function for initializing services that will be used by the application.
 */
static void services_init(void)
{
    uint32_t           err_code;
    ble_nus_init_t     nus_init;
    nrf_ble_qwr_init_t qwr_init = {0};

    // Initialize Queued Write Module.
    qwr_init.error_handler = nrf_qwr_error_handler;

    err_code = nrf_ble_qwr_init(&m_qwr, &qwr_init);
    APP_ERROR_CHECK(err_code);

    // Initialize NUS.
    memset(&nus_init, 0, sizeof(nus_init));

    nus_init.data_handler = nus_data_handler;

    err_code = ble_nus_init(&m_nus, &nus_init);
    APP_ERROR_CHECK(err_code);
}

Thanks.

Parents Reply Children
No Data
Related