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
  • Hi Petter,

    Thanks for your response. I got the NUS working with the mobile device. But the problem is that I am not able to connect multiple
    mobile device with the module. When i connect with the single mobile, module is not able to advertise so the other mobile device is not able to connect. Can you please tell me how to connect multiple clients with the peripheral device ?

    Thanks

Children
No Data
Related