How to enable bt related shell cmds in nrf5340_audio project?

Hi there:

We are now successed in setting up 5340_audio (ncs 2.2.0) related demo. It will be useful for us to do more detailed investigation with BT releted shell cmds enabled.

I have tried adding CONFIG_BT_SHELL=y in prj.conf, after fixing some compiler errors, trying to input some cmds but no response from the console.

Would you mind briefly let me know how to do this?

Parents
  • Hello,

    I tried to test the same here, but I did not get any compile errors after adding CONFIG_BT_SHELL=y. I did however have increase the stack size of the shell thread after this change (CONFIG_SHELL_STACK_SIZE) as the default size was too small to work with the BT commands.

    Here are the config settings I used:

    CONFIG_BT_SHELL=y

    CONFIG_SHELL_STACK_SIZE=4000
    # Enable shell over UART/USB. Set to =n by default
    CONFIG_SHELL_BACKEND_SERIAL=y
    Does the "bt name" command also fail for you? 
    Best regards,
    Vidar
Reply
  • Hello,

    I tried to test the same here, but I did not get any compile errors after adding CONFIG_BT_SHELL=y. I did however have increase the stack size of the shell thread after this change (CONFIG_SHELL_STACK_SIZE) as the default size was too small to work with the BT commands.

    Here are the config settings I used:

    CONFIG_BT_SHELL=y

    CONFIG_SHELL_STACK_SIZE=4000
    # Enable shell over UART/USB. Set to =n by default
    CONFIG_SHELL_BACKEND_SERIAL=y
    Does the "bt name" command also fail for you? 
    Best regards,
    Vidar
Children
Related