[PATCH BlueZ 0/6] tools/mesh-gatt meshctl tool improvements
From: Daniele Biagetti <hidden>
Date: 2021-12-07 22:56:11
Hi all,
The present patch series adds some functionalities and improvements to the meshctl tool.
More precisely:
- Add onoff set unacknowledge message to onoff client model
- Fix status messages processing
The status messages was processed and displayed even if they do
not belong to the present model. This fix ensure that the status
messages are processed only if they have the correct opcode.
- Fix unwanted return in onoff client model
Replaced the return statement with a warning message in case of
transmission or reception of messages coming from unknown addresses
(such as group addresses)
- Add subscription delete message to config client model
- Generic level model
Limited to the following messages:
* Generic Level Get
* Generic Level Set
* Generic LevelSet Unacknowledge
* Generic Level Status
- Generic OnPowerUp model
Best regards
Daniele Biagetti (6):
tools/mesh-gatt: Add onoff set unack message to onoff client model
tools/mesh-gatt: Fix status messages processing
tools/mesh-gatt: Fix unwanted return in onoff client model
tools/mesh-gatt: Add subscription delete message to config client
model
tools/mesh-gatt: Add generic level model support
tools/mesh-gatt: Add generic power onoff client model
Makefile.tools | 6 +-
tools/mesh-gatt/config-client.c | 40 +++++
tools/mesh-gatt/level-model.c | 288 ++++++++++++++++++++++++++++++
tools/mesh-gatt/level-model.h | 21 +++
tools/mesh-gatt/local_node.json | 10 +-
tools/mesh-gatt/node.c | 11 ++
tools/mesh-gatt/onoff-model.c | 56 +++---
tools/mesh-gatt/onpowerup-model.c | 250 ++++++++++++++++++++++++++
tools/mesh-gatt/onpowerup-model.h | 21 +++
tools/meshctl.c | 8 +
10 files changed, 688 insertions(+), 23 deletions(-)
create mode 100644 tools/mesh-gatt/level-model.c
create mode 100644 tools/mesh-gatt/level-model.h
create mode 100644 tools/mesh-gatt/onpowerup-model.c
create mode 100644 tools/mesh-gatt/onpowerup-model.h
--
2.25.1