Parent: 9e11b3eef4bbca51a3a831dfff377dfc4dd845e2
Author: MichaĆ Lowas-Rzechonek <michal.lowas-rzechonek@silvair.com>
Committer: Brian Gix <brian.gix@intel.com>
Date: 2019-07-04 20:18:59
Tree: f9a2afbdeb5c4181f171b1431a0eee12de0e1e90
mesh: Handle messages encrypted with a remote device key This adds ability to receive messages encrypted using known remote device key. Such a key must be added to the node's keyring using ImportRemoteNode() method of org.bluez.mesh.Management1 interface. Decrypted messages are then forwarded to the application using DevKeyMessageReceived() D-Bus API. Also, messages originating from a local node and encrypted using local device key are forwarde to the application as well, if they weren't handled by internal model. This allows e.g. receiving status messages from a local Config Server in the application.
Diffstat
| M | mesh/model.c | | | 61 | ++++++++++++++++++++++++++++++++++++++++- - - - - - |
1 files changed, 55 insertions(+), 6 deletions(-)