zephyr/include/bluetooth/mesh
Johan Hedberg 42d330406e Bluetooth: Mesh: Fix qualification test MESH/SR/HM/CFS/BV-02-C
The commit 8d0ef1eb85 attempted to fix
test case MESH/SR/HM/CFS/BV-02-C, however inadvertently ended up
introducing a hidden bug. This bug was unearthed thanks to commit
686f5c79cf. We have to keep always track
of the FastPeriodDivisor state whether we're using it (faults > 0) or
not (faults == 0). Introduce a boolean field to the model publication
that's used to indicate whether the FastPeriodDivisor should be
applied or not, instead of zeroing the divisor when there are no
faults (this would cause wrong behavior when faults appear again).

Additionally, the PTS seems to require that we wait until the end of
the existing period before sending the next Health Current Status,
rather than sending it immediately when the fault count changes.

Fixes #15365

Signed-off-by: Johan Hedberg <johan.hedberg@intel.com>
2019-04-11 21:24:55 +03:00
..
access.h Bluetooth: Mesh: Fix qualification test MESH/SR/HM/CFS/BV-02-C 2019-04-11 21:24:55 +03:00
cfg_cli.h Bluetooth: Mesh: Add header file support for C++ 2018-12-08 14:56:46 +02:00
cfg_srv.h Bluetooth: Mesh: Add header file support for C++ 2018-12-08 14:56:46 +02:00
health_cli.h Bluetooth: Mesh: Add header file support for C++ 2018-12-08 14:56:46 +02:00
health_srv.h Bluetooth: Mesh: Add header file support for C++ 2018-12-08 14:56:46 +02:00
main.h Bluetooth: Mesh: Add support for suspend/resume 2019-01-28 14:10:58 +02:00
proxy.h Bluetooth: Mesh: Add header file support for C++ 2018-12-08 14:56:46 +02:00