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

Disconnection code 0x28

Hi,

Sometimes, disconnection occur with 0x28 code ( BLE_HCI_INSTANT_PASSED ) What is this mean ? How to avoid this ?

Regards,

Thomas

Parents
  • Hi Thomas,

    i have the same problem in nRF51822 module. I use SoftDevice 130 v.2.0.1 and SDK v.12.3.0, device works in both roles.

    I connect to device from another and periodically read some attributes. It works fine. Disconnection from Peripheral role occur ever when device connecting to one another as Central. Disconnection code is 0x28 (BLE_HCI_INSTANT_PASSED) always.

    Connection parameters for Peripheral:

    const uint16_t MIN_CONNECTION_INTERVAL = MSEC_TO_UNITS(20, UNIT_1_25_MS);
    const uint16_t MAX_CONNECTION_INTERVAL = MSEC_TO_UNITS(20, UNIT_1_25_MS);
    const uint16_t SLAVE_LATENCY = 0;
    const uint16_t SUPERVISION_TIMEOUT = MSEC_TO_UNITS(10000, UNIT_10_MS);
    

    Connection parameters for Central:

    const uint16_t MIN_CONNECTION_INTERVAL = MSEC_TO_UNITS(50, UNIT_1_25_MS);
    const uint16_t MAX_CONNECTION_INTERVAL = MSEC_TO_UNITS(100, UNIT_1_25_MS);
    const uint16_t SLAVE_LATENCY = 0;
    const uint16_t SUPERVISION_TIMEOUT = MSEC_TO_UNITS(30000, UNIT_10_MS);
    

    Do you resolve that issue? May be you know how to avoid this?

    Regards,

    Konstantin

Reply
  • Hi Thomas,

    i have the same problem in nRF51822 module. I use SoftDevice 130 v.2.0.1 and SDK v.12.3.0, device works in both roles.

    I connect to device from another and periodically read some attributes. It works fine. Disconnection from Peripheral role occur ever when device connecting to one another as Central. Disconnection code is 0x28 (BLE_HCI_INSTANT_PASSED) always.

    Connection parameters for Peripheral:

    const uint16_t MIN_CONNECTION_INTERVAL = MSEC_TO_UNITS(20, UNIT_1_25_MS);
    const uint16_t MAX_CONNECTION_INTERVAL = MSEC_TO_UNITS(20, UNIT_1_25_MS);
    const uint16_t SLAVE_LATENCY = 0;
    const uint16_t SUPERVISION_TIMEOUT = MSEC_TO_UNITS(10000, UNIT_10_MS);
    

    Connection parameters for Central:

    const uint16_t MIN_CONNECTION_INTERVAL = MSEC_TO_UNITS(50, UNIT_1_25_MS);
    const uint16_t MAX_CONNECTION_INTERVAL = MSEC_TO_UNITS(100, UNIT_1_25_MS);
    const uint16_t SLAVE_LATENCY = 0;
    const uint16_t SUPERVISION_TIMEOUT = MSEC_TO_UNITS(30000, UNIT_10_MS);
    

    Do you resolve that issue? May be you know how to avoid this?

    Regards,

    Konstantin

Children
No Data
Related