Connecting multiple clients

Sysprogs forums Forums VisualGDB Connecting multiple clients

Viewing 4 posts - 1 through 4 (of 4 total)
  • Author
    Posts
  • #23612
    djlins
    Participant

    Hi there,

    I’m getting the hang of this now. I have followed the tutorial called:
    Using the nRF51 device in a Bluetooth LE Central role
    and I have it working fine with 1 device connected through to my nrf51 dongle and it is working brilliantly.
    I am sure I saw somewhere that it is possible to connect up to 8 devices to the dongle but I am having trouble finding out how.

    I tried a couple of quick things like commenting out the
    // sd_ble_gap_scan_stop();

    in BLE_GAP_EVT_ADV_REPORT
    or letting it run through and starting a new scan up again with:
    scan_start();

    but that causes issues with the connection of the original 1 device.

    Is there a tutorial or any help I can get with how I then carry on registering a second, third and fourth client device?

    Thanks in advance,

    Lindsay.

     

     

     

    #23616
    djlins
    Participant

    Further info is:

    When I finish registering a device I then call scan_start() again but my
    CENTRAL_LINK_COUNT  is still 1

    if I up that to 8 then I get the fatal error where I think I should adjust the RAM settings.

    Am I correct in thinking

    • CENTRAL_LINK_COUNT is the number of BLE boards
    • PERIPHERAL_LINK_COUNT is the number of nrf51 dongles

     

    I think I need a tutorial for multiple device connections.

    Can anyone point me towards some samples please?

     

    : )

    #23618
    djlins
    Participant

    I know a picture paints a thousand words so to illustrate exactly what I am trying to do. It is what nRF Connect is doing in the image here (connecting 2 MIDI BLE devices to 1 nRF51 dongle)

    But doing it in VisualGDB

    Illustration of 2 devices connecting to one nrf51 dongle

    Cheers,

    Lindsay.

    #23622
    support
    Keymaster

    Hi,

    Sorry, this looks like a question about the Nordic SDK capabilities, not about the VisualGDB features. Please try posting a question on the Nordic DevZone – you should be able to get support for Nordic-specific issues there.

Viewing 4 posts - 1 through 4 (of 4 total)
  • You must be logged in to reply to this topic.