Hi,
Sometimes, disconnection occur with 0x28 code ( BLE_HCI_INSTANT_PASSED ) What is this mean ? How to avoid this ?
Regards,
Thomas
Hi,
Sometimes, disconnection occur with 0x28 code ( BLE_HCI_INSTANT_PASSED ) What is this mean ? How to avoid this ?
Regards,
Thomas
I don't know if you will find this helpful at all, the Core Bluetooth spec defines that error as:
2.40 INSTANT PASSED (0x28) The Instant Passed error code indicates that an LMP PDU or LL PDU that includes an instant cannot be performed because the instantwhen this would have occurred has passed.
The section on the error codes specifically states that they basically won't go into detail on what exactly can trigger an error status because they can be implementation dependent. That said, I think you can read into the explanation that some sort of PDU is being processed after the time it required to be processed. I have no idea on how you would avoid this.
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
Can I solve it, I need help
don't reply to 3 year old answered threads. If you want help, start a new thread and reference this one. And put more than a few words of explanation as well.