Lines Matching +full:2 +full:- +full:phase

8  * SPDX-License-Identifier: Apache-2.0
39 /* Key Refresh Phase */
94 * @retval -ENOTSUP The Mesh Private beacon feature is not supported.
95 * @retval -EINVAL Invalid parameter.
96 * @retval -EALREADY Already in the given state.
138 * @retval -EINVAL Invalid TTL value.
148 /** @brief Get the current Mesh On-Demand Private Proxy state.
150 * @retval 0 or positive value represents On-Demand Private Proxy feature state
151 * @retval -ENOTSUP The On-Demand Private Proxy feature is not supported.
155 /** @brief Set state of Mesh On-Demand Private Proxy.
157 * Support for the On-Demand Private Proxy state must be enabled with @c
160 * @param on_demand_proxy New Mesh On-Demand Private Proxy state. Value of 0x00 means that
162 * Values in range 0x01 - 0xFF set interval of this advertising after
165 * @retval 0 Successfully changed the Mesh On-Demand Private Proxy feature state.
166 * @retval -ENOTSUP The On-Demand Private Proxy feature is not supported.
167 * @retval -EINVAL Invalid parameter.
168 * @retval -EALREADY Already in the given state.
210 * @retval -ENOTSUP The Relay feature is not supported.
211 * @retval -EINVAL Invalid parameter.
212 * @retval -EALREADY Already using the given parameters.
248 * @retval -ENOTSUP The GATT Proxy feature is not supported.
249 * @retval -EINVAL Invalid parameter.
250 * @retval -EALREADY Already in the given state.
271 * @retval -ENOTSUP The Private GATT Proxy feature is not supported.
272 * @retval -EINVAL Invalid parameter.
273 * @retval -EALREADY Already in the given state.
296 * @retval -ENOTSUP The Friend feature is not supported.
297 * @retval -EINVAL Invalid parameter.
298 * @retval -EALREADY Already in the given state.
335 * receiving messages using both) until the Subnet enters Key Refresh phase 2.
375 /** @brief Set the Subnet's Key Refresh phase.
378 * @ref bt_mesh_subnet_update. This puts the Subnet in Key Refresh Phase 1.
379 * Once all nodes have received the new Subnet key, Key Refresh Phase 2 can be
381 * key. Finally, to revoke the old key, set the Key Refresh Phase to 3. This
383 * single-key operation with the new key set.
386 * @param phase Pointer to the new Key Refresh phase. Will return the actual
387 * Key Refresh phase after updating.
389 * @retval STATUS_SUCCESS The Key Refresh phase of the Subnet was successfully
392 * @retval STATUS_CANNOT_UPDATE The given phase change is invalid.
394 uint8_t bt_mesh_subnet_kr_phase_set(uint16_t net_idx, uint8_t *phase);
396 /** @brief Get the Subnet's Key Refresh phase.
399 * @param phase Pointer to the Key Refresh variable to fill.
401 * @retval STATUS_SUCCESS Successfully populated the @c phase variable.
404 uint8_t bt_mesh_subnet_kr_phase_get(uint16_t net_idx, uint8_t *phase);
486 * function fills all available entries and returns @c -ENOMEM. In this
500 * @return The number of indexes added to the @c net_idxs array, or @c -ENOMEM
546 * Subnet enters Key Refresh phase 2. Once the Subnet enters Key Refresh phase
550 * Refresh phase 1.
595 * -ENOMEM. In this case, the next @c max entries of the list can be read out
611 * @return The number of indexes added to the @c app_idxs array, or @c -ENOMEM