Commit: 9e11b3eef4bbca51a3a831dfff377dfc4dd845e2
Parent: 9dfc56d7d4e73da42b3f4c81728ec57f5ac1c4f9
Author: MichaƂ Lowas-Rzechonek <michal.lowas-rzechonek@silvair.com>
Committer: Brian Gix <brian.gix@intel.com>
Date: 2019-07-04 20:18:52
Tree: d7b9d3b307072315100da0d24c361346e696d647

mesh: Implement DevKeySend() method on Node interface This patch implements D-Bus DevKeySend() method of org.bluez.mesh.Node1 interface, allowing the application to send messages encrypted using a known remote device key. At the moment the call ignores net_index argument and sends messages using the primary subnet. Also, it's no longer possible to use 'magic' key_index value 0x7fff (denoting local device key) when calling regular Send(). Applications should use DevKeySend() instead.

Diffstat

M mesh/model.c | 9 ++++++++-
M mesh/node.c | 55 ++++++++++++++++++++++++++++++++++++++++- -

2 files changed, 61 insertions(+), 3 deletions(-)

View Full Diff | Patch