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

BLE Invalid LMP Parameters

Hi,

I'm working on nRF51822 with SDK 11.0.0 softdevice s130

I have an nRF module acting as central and smartphones (iOS and Android) acting as peripheral. I tested all iPhone frome 4S to 6S and I had no problem I tested Samsung Galaxy S5 and Samsung J7 and I had no problem

But today I test Motorola G4 plus and I can't keep the connection active cause the smartphone disconnect with error code BLE_HCI_STATUS_CODE_INVALID_LMP_PARAMETERS (0x1E).

I can't found any information about what is this error ?

Can someone help me ?

Thanks a lot !

  • FormerMember
    0 FormerMember

    From Bluetooth Core Specification v.4.3, Vol 2, Part D, chapter 2.30, the error code invalid LMP parameters should occur when:

    The Invalid LMP Parameters / Invalid LL Parameters error code indicates that some LMP PDU / LL Control PDU parameters were invalid. This shall be used when:

    • the PDU length is invalid.

    • a parameter is odd when it is required to be even.

    • a parameter is outside of the specified range.

    • two or more parameters have inconsistent values.

    Could you use the sniffer to check what is being transferred before this error occurs? And also upload the sniffer trace here?

    The sniffer should be used with Wireshark, and it works best with version 1.10, not one of the newer versions. Wireshark can be downloaded here:

Related