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 -> MTRWiFiNetworkManagementClusterNetworkPassphraseResponseParamsDiscussion
This command is used to request the current WPA-Personal passphrase or PSK associated with the Wi-Fi network provided by this device.