Skip to content

nrf5340 audio DK running auracast.py transmit error #787

@chelalv

Description

@chelalv

I have a problem with the nrf52840dongle, it does not support BIS encryption. https://docs.nordicsemi.com/bundle/ncs-latest/page/nrfxlib/softdevice_controller/README.html
I switched to nrf5340 audio DK, which supports encryption
BUMBLE_LOGLEVEL=DEBUG python auracast.py transmit --input file:audioclub.wav --input-format auto --broadcast-name bumble --broadcast-code 0x12345678 serial:/dev/ttyACM1,1000000
DEBUG:bumble.host:### HOST -> CONTROLLER: HCI_LE_CREATE_BIG_COMMAND:
big_handle: 0
advertising_handle: 0
num_bis: 2
sdu_interval: 10000
max_sdu: 100
max_transport_latency: 65
rtn: 4
phy: PhyBit.LE_2M
packing: 0
framing: 0
encryption: 1
broadcast_code: 31323334350000000000000000000000
DEBUG:bumble.host:### CONTROLLER -> HOST: HCI_COMMAND_STATUS_EVENT:
status: PENDING
num_hci_command_packets: 1
command_opcode: HCI_LE_CREATE_BIG_COMMAND
DEBUG:bumble.host:### CONTROLLER -> HOST: HCI_LE_CREATE_BIG_COMPLETE_EVENT:
status: HCI_SUCCESS
big_handle: 0
big_sync_delay: 5950
transport_latency_big: 35950
phy: 2
nse: 5
bn: 1
pto: 1
irc: 2
max_pdu: 100
iso_interval: 8
connection_handle[0]: 6
connection_handle[1]: 5

But there is another problem,
DEBUG:bumble.host:### CONTROLLER -> HOST: HCI_COMMAND_STATUS_EVENT:
status: HCI_UNKNOWN_HCI_COMMAND_ERROR
num_hci_command_packets: 1
command_opcode: [OGF=0x19, OCF=0x0000]
WARNING:bumble.host:!!! no pending response future to set
I see that both HCI_LE_SETUP_ISO_DATA_PATH_COMMAND above have returned HCI_SUCCESS, so why do I get the error HCI_UNKNOWN_HCI_COMMAND_ERROR?
The following is the complete log:

audiodk-HCI_UNKNOWN_HCI_COMMAND_ERROR.txt

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions