bt_mesh_subnet_kr_phase_get() function
Get the Subnet's Key Refresh phase.
Syntax
uint8_t bt_mesh_subnet_kr_phase_get(uint16_t net_idx,
uint8_t *phase);
Arguments
phase
Pointer to the Key Refresh variable to fill.
Return value
STATUS_SUCCESS Successfully populated the @c phase variable. STATUS_INVALID_NETKEY The NetIdx is unknown.