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

Multi connection with NUS

Hi,

I am new to the BLE and Soft device stack, I am working on Multi link peripheral example with SDK version 9.0. I have flashed the S110_nRF51_8.0.0 into the nRF51-DK using nRF go Studio.

I want a peripheral with multiple link and should use NUC service for communication. I have flashed the application in the dev borad. In the Master control application it is showing the NUC service but I am not able to send/receive the data.

One more thing, my application int is look like:

int main(void)
{
    uint32_t err_code;
    bool erase_bonds;
    uint8_t  start_string[] = START_STRING;

    // Initialize.
    APP_TIMER_INIT(APP_TIMER_PRESCALER, APP_TIMER_MAX_TIMERS,                      APP_TIMER_OP_QUEUE_SIZE, NULL);
    uart_init();
    buttons_leds_init(&erase_bonds);
    ble_stack_init();
    device_manager_init(erase_bonds);
    gap_params_init();
    services_init();
    advertising_init();
    //conn_params_init();

    printf("%s",start_string);
    err_code = ble_advertising_start(BLE_ADV_MODE_FAST);
    APP_ERROR_CHECK(err_code);

    for (;;)
    {
        power_manage();
    }
}

Please help me to get out of the problem.

Thanks.

Parents Reply Children
No Data
Related