Beware that this post is related to an SDK in maintenance mode
More Info: Consider nRF Connect SDK for new designs
This post is older than 2 years and might not be relevant anymore
More Info: Consider searching for newer posts

central and peripheral multilink problem

hi Nordic engineer

hard platform : N53832DK, 51822DK

software platform nRF52832 use SDK_14.2.0, nRF51822 use SDK 12.3.0

nRF52832 as ecntral and peripheral; nRF51822 as peripheral.

I 'm  using the ble_app_multilink_central demo to achieve central and peripheral multilink. now base function has achieved. However, some problems cannot be solved,

when more than one peripherals(nRF51822) connected with central(nRF52832)  and then some peripheral disconnected. when online peripheral send data to central will issue error.

for example : 3 peripherals and 1 central online then 1 peripheral offline, 1 peripheral send "nRF51822" . central log out  two times "nRF51822"

if 2 peripheral offline, 1peripheral send "nRF51822". central log out three times "nRF51822". 

if all peripheral online all devices working good.

i'm sure peripheral just send data once.

thanks very much 

Parents
  • Hi,

    I'm not sure if I understood all this.

    1. when online peripheral send data to central will issue error.
      What does this error say specifically?
    2. 1 peripheral send "nRF51822": 
      What do you mean by "send nRF51822"?
    3. Are you using an example from the SDK on your nRF51 peripherals too? If so, then which one?

    4. Is it possible for you to upload your project files?
  • I met the same issue.

    The situation step is,

    1.  Two peripheral connected with central

    2.  Two peripheral disconnected with central

    3.  If just one peripheral connect with central, and this peripheral send data to central, then central will get BLE_GATTC_EVT_HVX event twice, that means central got two package data, the same data. But peripheral was just send once.

    4. If the other peripheral connect, central will be ok.

Reply
  • I met the same issue.

    The situation step is,

    1.  Two peripheral connected with central

    2.  Two peripheral disconnected with central

    3.  If just one peripheral connect with central, and this peripheral send data to central, then central will get BLE_GATTC_EVT_HVX event twice, that means central got two package data, the same data. But peripheral was just send once.

    4. If the other peripheral connect, central will be ok.

Children
No Data
Related