Contents

networkPassphraseRequest(with:completion:)

Command NetworkPassphraseRequest

Declaration

func networkPassphraseRequest(with params: MTRWiFiNetworkManagementClusterNetworkPassphraseRequestParams?, completion: @escaping  @Sendable (MTRWiFiNetworkManagementClusterNetworkPassphraseResponseParams?, (any Error)?) -> Void)
func networkPassphraseRequest(with params: MTRWiFiNetworkManagementClusterNetworkPassphraseRequestParams?) async throws -> MTRWiFiNetworkManagementClusterNetworkPassphraseResponseParams

Discussion

This command is used to request the current WPA-Personal passphrase or PSK associated with the Wi-Fi network provided by this device.