LMP response timeout

⚠️
Hi there.. thanks for coming to the forums. Exciting news! we’re now in the process of moving to our new forum platform that will offer better functionality and is contained within the main Dialog website. All posts and accounts have been migrated. We’re now accepting traffic on the new forum only - please POST any new threads at https://www.dialog-semiconductor.com/support . We’ll be fixing bugs / optimising the searching and tagging over the coming days.
6 posts / 0 new
Last post
matthieuW
Offline
Last seen: 4 months 2 weeks ago
Joined: 2015-11-20 14:55
LMP response timeout

Hi dialog,

I implemented a da14681 with SD1.0.14 on a custom board.

I developped my application from the ble peripheral project, my application working as a ble slave.

Our use case in a smartphone application connecting to the DA, which send a few commands (10 per second max), and then i send command over spi to a peripheral.

I recently encountered a disconnection problem.

This disconnection appears randomly after a certain time of connection, can be 10min or 2h.

We verified on our app and the disconnection error message is BLE_HCI_STATUS_CODE_LMP_RESPONSE_TIMEOUT .

i suppose this is handled some in the SDK but i did not find where. If you can give some hints on the subject.

Best regards

Matthieu

Device: 
MHv_Dialog
Offline
Last seen: 1 year 1 month ago
Staff
Joined: 2013-12-06 15:10
Hi Matthieu,

Hi Matthieu,

I have escalated your support request to our internal support team. This is not an issue I have any personal experience with. We should hear back soon.

/MHv

MHv_Dialog
Offline
Last seen: 1 year 1 month ago
Staff
Joined: 2013-12-06 15:10
Hi Matthieu,

Hi Matthieu,

The team is asking if you can provide a Bluetooth trace of the occurence.

/MHv

matthieuW
Offline
Last seen: 4 months 2 weeks ago
Joined: 2015-11-20 14:55
Hi MHv,

Hi MHv,

sorry for the delay i was not notified of your answer.

I have an android log is it ok for you?

Best regards

matthieu

Attachment: 
PM_Dialog
Offline
Last seen: 5 months 2 weeks ago
Staff
Joined: 2018-02-08 11:03
Hi matthieu,

Hi matthieu,

Sorry for jumping in, but we have escalated your inputs internally. Thanks MHv_Dialog for the escalation!

Thanks, PM_Dialog

PM_Dialog
Offline
Last seen: 5 months 2 weeks ago
Staff
Joined: 2018-02-08 11:03
Hi matthieu,

Hi matthieu,

This might be due to the Supervision Timeout. The same error can also occur due to Link Layer timeout. Please refer to Bluetooth LE 4.0 core specification, section 2.4.1 LMP Response Timeout. However, we would like to have a sniffer capture of the case in order to have a clear view for what happens.

Thanks, PM_Dialog