Skip to content

client: align 'io-cap' and 'pair' cmds with the docs

Christian Eggers linux-bluetooth 1 version Applied

Status from this message: This series was applied to bluetooth/bluez.git (master)

Get series with b4
b4 am [email protected]

Versions newest first

  1. v2 Latest4 patches 1 replyApplied

Changes in v2 from the cover letter

- Split the first patch into two parts
- Use an enum instead of preprocessor defines
- Remove obsolete documentation update for l2test's -O <mtu> option

Patches in v2 Applied

#Subject and filesSizeRepliesApplied
1/4shared/mgmt: Add mgmt_parse_io_capabilitysrc/shared/mgmt.c src/shared/mgmt.h+43 -01 reply
2/4adapter/agent/device: migrate to shared enum/parser for IO capabilitiessrc/adapter.c src/adapter.h src/agent.c +3 more+36 -490 replies
3/4client/mgmt: align implementation cmd_io_cap with its documentationclient/mgmt.c src/shared/mgmt.c src/shared/mgmt.h+36 -30 replies
4/4client/mgmt: align implementation cmd_pair with its documentationclient/mgmt.c+17 -40 replies

Reviews trailers per patch

No Reviewed-by, Acked-by or Tested-by trailers for v2 yet.

Read the v2 thread

Cover letter [PATCH Bluez v2 0/4] client: align 'io-cap' and 'pair' cmds with the docs

According to doc/bluetoothctl-mgmt.rst, the 'io-cap' and 'pair' cmds should have a string type <cap> argument. But in the current implementation, the parser expects an integer (and doesn't complain if something else is passed).

v2:
- Split the first patch into two parts
- Use an enum instead of preprocessor defines
- Remove obsolete documentation update for l2test's -O <mtu> option