mirror of
https://github.com/espressif/esp-nimble.git
synced 2026-10-14 09:47:22 +00:00
nimble/mesh: Fix bt_mesh_keys_resolve declaration
app_key is expected to be a pointer to pointer and not artay of pointers.
This commit is contained in:
@@ -495,7 +495,7 @@ ssize_t bt_mesh_app_keys_get(uint16_t net_idx, uint16_t app_idxs[], size_t max,
|
||||
|
||||
int bt_mesh_keys_resolve(struct bt_mesh_msg_ctx *ctx,
|
||||
struct bt_mesh_subnet **sub,
|
||||
const uint8_t *app_key[16], uint8_t *aid)
|
||||
const uint8_t **app_key, uint8_t *aid)
|
||||
{
|
||||
struct app_key *app = NULL;
|
||||
|
||||
|
||||
@@ -41,7 +41,7 @@ int bt_mesh_app_key_set(uint16_t app_idx, uint16_t net_idx,
|
||||
*/
|
||||
int bt_mesh_keys_resolve(struct bt_mesh_msg_ctx *ctx,
|
||||
struct bt_mesh_subnet **sub,
|
||||
const uint8_t *app_key[16], uint8_t *aid);
|
||||
const uint8_t **app_key, uint8_t *aid);
|
||||
|
||||
/** @brief Iterate through all matching application keys and call @c cb on each.
|
||||
*
|
||||
|
||||
Reference in New Issue
Block a user