This patch set makes the bluetooth-meshd daemon use the Kernel based mesh support *if available*. It defines and calls the MGMT commands and events needed so that a controller can be used without making it unavailable to the bluetoothd daemon. Brian Gix (7): mgmt: Add support for Mesh in the kernel mgmt: Mesh specific structures and defines mesh: Add common MGMT command accessors mesh: rework Mesh-IO for multiple transports mesh: Added default "auto" to command line parsing mesh: Add new MGMT based IO transport mesh: Make Provisioning requests more IO compatible Makefile.mesh | 9 +- doc/mgmt-api.txt | 180 ++++++++++ lib/mgmt.h | 54 +++ mesh/main.c | 39 +- mesh/mesh-io-api.h | 11 +- mesh/mesh-io-generic.c | 47 +-- mesh/mesh-io-mgmt.c | 787 +++++++++++++++++++++++++++++++++++++++++ mesh/mesh-io-mgmt.h | 11 + mesh/mesh-io-unit.c | 13 +- mesh/mesh-io.c | 191 +++++++--- mesh/mesh-io.h | 4 +- mesh/mesh-mgmt.c | 149 ++++++-- mesh/mesh-mgmt.h | 12 +- mesh/mesh.c | 6 +- mesh/mesh.h | 2 +- mesh/pb-adv.c | 9 +- 16 files changed, 1379 insertions(+), 145 deletions(-) create mode 100644 mesh/mesh-io-mgmt.c create mode 100644 mesh/mesh-io-mgmt.h -- 2.35.1