Get a list of all known Application key indexes. Builds a list of all Application indexes for the given network index in the @c app_idxs array. If the @c app_idxs array cannot fit all bound Applications, this function fills all available entries and returns @c -ENOMEM. In this case, the next @c max entries of the list can be read out by calling
bt_mesh_app_keys_get(net_idx, list, max, max);
Note that any changes to the Application key list between calls to this function could change the order and number of entries in the list.