Parent: 9be85f867856195e16c9b94b605f65f6389eda33
Author: Brian Gix <brian.gix@intel.com>
Committer: Brian Gix <brian.gix@intel.com>
Date: 2021-04-10 20:28:14
Tree: 04fec0b5d714c3a5edb09ee9d9112f1ee1c01d26
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
| M | Makefile.mesh | | | 2 | ++ |
| M | mesh/main.c | | | 41 | ++++++++++++++++++++++++++++++- - - - - - - - - - - |
| A | mesh/mesh-io-unit.c | | | 533 | ++++++++++++++++++++++++++++++++++++++++ |
| A | mesh/mesh-io-unit.h | | | 11 | +++++++++++ |
| M | mesh/mesh-io.c | | | 9 | ++++- - - - - |
| M | mesh/mesh-io.h | | | 3 | ++- |
6 files changed, 582 insertions(+), 17 deletions(-)