diff options
author | Brian Gix <brian.gix@intel.com> | 2021-03-19 13:38:24 -0700 |
---|---|---|
committer | Brian Gix <brian.gix@intel.com> | 2021-04-10 10:28:14 -0700 |
commit | c4cfcf085ce40af2e90f44f47eff333ef2f670a9 (patch) | |
tree | 04fec0b5d714c3a5edb09ee9d9112f1ee1c01d26 /Makefile.mesh | |
parent | 9be85f867856195e16c9b94b605f65f6389eda33 (diff) | |
download | bluez-c4cfcf085ce40af2e90f44f47eff333ef2f670a9.tar.gz |
mesh: Add unit test IO
This adds a new type of mesh IO that is used for non-interactive testing.
The new io option can be specified on command line as:
--io unit:<socket_name>
When the bluetooth-meshd daemon starts with the "unit" IO type,
the daemon opens a socket (fd to open is provided after "unit:"
in <socket_name>). The communication with the daemon is done either
through the loop-back using mesh DBus-based APIs or the specified
named socket.
Diffstat (limited to 'Makefile.mesh')
-rw-r--r-- | Makefile.mesh | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/Makefile.mesh b/Makefile.mesh index 228dd1b5f..73eaded4a 100644 --- a/Makefile.mesh +++ b/Makefile.mesh @@ -17,6 +17,8 @@ mesh_sources = mesh/mesh.h mesh/mesh.c \ mesh/error.h mesh/mesh-io-api.h \ mesh/mesh-io-generic.h \ mesh/mesh-io-generic.c \ + mesh/mesh-io-unit.h \ + mesh/mesh-io-unit.c \ mesh/net.h mesh/net.c \ mesh/crypto.h mesh/crypto.c \ mesh/friend.h mesh/friend.c \ |