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

Python example on BlueZ with nrf52840 stop connection after 30 seconds

Using the BlueZ Python example in BlueZ /test/example-gatt-server with the dongle nf52840 will fail with "Failed to call gattsExchangeMtuReply (NRF_ERROR_INVALID_PARAM)"

and then disconnect after 30 seconds.

With the phone it will not connect and stop connection after 30 seconds.

Using nRF Connect.

With other means it is connecting OK.

What could be wrong with Nordic?

Parents Reply
  • jean-marc said:
    But where do you see that example-gatt-server ask for >247 bytes.

    I used wireshark to see the MTU. I do not have enough knowledge about bluez and its inner workings in order to tell where this value is overridden. 517 is likely the default unless otherwise stated on either the device (maybe hciconfig / btmgmt can override this?) or more likely: in the bluez gatts object.

    jean-marc said:

    And what about the link you give me. Does Nordic will care about a fix?

    Thank you for reporting the issue back to us, and providing a way for us to recreate the scenario. I have added my .log to the internal bug report, and made the developers aware of this, and hopefully they will look into this soon.

     

    Kind regards,

    Håkon

Children
Related