Bluetooth: Mesh: Provisioning: Add NetKeyIndex to complete callback

It may be useful for the app to know what the initial NetKeyIndex that
it was given during provisioning is.

Signed-off-by: Johan Hedberg <johan.hedberg@intel.com>
This commit is contained in:
Johan Hedberg 2017-11-14 09:51:50 +02:00 committed by Johan Hedberg
commit 255edcfde2
5 changed files with 8 additions and 6 deletions

View file

@ -58,7 +58,7 @@ struct bt_mesh_prov {
void (*link_open)(bt_mesh_prov_bearer_t bearer);
void (*link_close)(bt_mesh_prov_bearer_t bearer);
void (*complete)(u16_t addr);
void (*complete)(u16_t net_idx, u16_t addr);
void (*reset)(void);
};