Updating the connection transmit data length parameters leads opcode 0x2022 status 0x01 error

I've tried to follow the exercises from the Bluetooth Low Energy Fundamentals course. When I try to run the solution for lesson 3 exercise 2 I get the following error messagen when I connect with the board:

[00:01:22.417,602] <wrn> bt_hci_core: opcode 0x2022 status 0x01 
[00:01:22.417,633] <err> Lesson3_Exercise2: data_len_update failed (err -5)

The error message originates from calling the bt_conn_le_data_len_update function.

I'm using the v2.9.0 toolchain and SDK. The board is a nRF5340 Development Kit.

According to sdc_hci_cmd_le.h the opcode means that the data length could not be set and the status means "UNKNOWN HCI COMMAND" (BLUETOOTH CORE SPECIFICATION Version 5.3 | Vol 1, Part F, section 2.2). Is this correct?

BR

Martin

Parents Reply Children
No Data
Related