7#ifndef _BT_MESH_APP_KEYS_H_
8#define _BT_MESH_APP_KEYS_H_
10#include "../include/mesh/mesh.h"
14void bt_mesh_app_keys_reset(
void);
25int bt_mesh_app_key_set(uint16_t app_idx, uint16_t net_idx,
26 const uint8_t old_key[16],
const uint8_t new_key[16]);
44 const uint8_t **app_key, uint8_t *aid);
56uint16_t bt_mesh_app_key_find(
bool dev_key, uint8_t aid,
57 struct bt_mesh_net_rx *rx,
58 int (*cb)(
struct bt_mesh_net_rx *rx,
59 const uint8_t key[16],
void *cb_data),
62extern void (*bt_mesh_app_key_cb_list[1]) (uint16_t app_idx, uint16_t net_idx,
63 enum bt_mesh_key_evt evt);
66void bt_mesh_app_key_pending_store(
void);
67void bt_mesh_app_key_init(
void);