Skip to content

Profile with the same name as a preset can't be removed #29

Description

@Protected

Device

QC Ultra 2

Language

CLI (bosectl / bmapctl)

What happened?

(Don't know what to select in the language field, sorry.)

Hi and thanks for making this. I bought this headset today and I was trying to make a change in a default profile. I used profile set Aware, but instead a new profile was created.

Unfortunately this profile can't be deleted with profile rm because it's a "preset mode".

I also can't switch to this profile.

Expected behavior

The first non-preset profile with the given name should be deleted or there should be another way to remove a profile with the same name as a preset profile.

Probably set should also prevent duplicate profiles from being created with a preset name to begin with.

Steps to reproduce

  1. Have the headset connected
  2. ./bosectl profile set Aware cnc=5
  3. ./bosectl profiles
  4. ./bosectl profile rm Aware

Version

0.1.0

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't working

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions