diff options
author | Inga Stotland <inga.stotland@intel.com> | 2019-05-14 15:54:06 -0700 |
---|---|---|
committer | Brian Gix <brian.gix@intel.com> | 2019-05-15 09:12:38 -0700 |
commit | 0af87c6c6ca335ccc1f80de99096d40f7872c388 (patch) | |
tree | 481bb8ead131e7ee8b0a31a98fd2e91e3065a6ac /mesh/mesh.h | |
parent | e0856d53a25ebf1701602d2a8590a12b64ed849d (diff) | |
download | bluez-0af87c6c6ca335ccc1f80de99096d40f7872c388.tar.gz |
mesh: Add check for org.bluez.mesh.Provisioner1 interface
This adds check for the presence of org.bluez.mesh.Provisioner1
interface when collecting information about mesh application
that is received in callback of GetManagedObjects() method.
Set "provisioner" flag in the node structure to trueto indicate
that the node may act aa a provisioner.
Diffstat (limited to 'mesh/mesh.h')
-rw-r--r-- | mesh/mesh.h | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/mesh/mesh.h b/mesh/mesh.h index ff4e04fa1..9b63500d1 100644 --- a/mesh/mesh.h +++ b/mesh/mesh.h @@ -2,7 +2,7 @@ * * BlueZ - Bluetooth protocol stack for Linux * - * Copyright (C) 2018 Intel Corporation. All rights reserved. + * Copyright (C) 2018-2019 Intel Corporation. All rights reserved. * * * This library is free software; you can redistribute it and/or @@ -24,6 +24,7 @@ #define MESH_ELEMENT_INTERFACE "org.bluez.mesh.Element1" #define MESH_APPLICATION_INTERFACE "org.bluez.mesh.Application1" #define MESH_PROVISION_AGENT_INTERFACE "org.bluez.mesh.ProvisionAgent1" +#define MESH_PROVISIONER_INTERFACE "org.bluez.mesh.Provisioner1" #define ERROR_INTERFACE "org.bluez.mesh.Error" typedef void (*prov_rx_cb_t)(void *user_data, const uint8_t *data, |