nl::Weave::DeviceLayer::Internal::GenericNetworkProvisioningServerImpl
Summary
Inheritance
Inherits from:
nl::Weave::Profiles::NetworkProvisioning::NetworkProvisioningServer
nl::Weave::Profiles::NetworkProvisioning::NetworkProvisioningDelegate
Protected types
Protected attributes
mScanNetworkType
uint8_t mScanNetworkType
mTestConnectivityResult
struct nl::Weave::DeviceLayer::Internal::GenericNetworkProvisioningServerImpl::@405 mTestConnectivityResult
Public attributes
mStatusCode
uint16_t mStatusCode
mStatusProfileId
uint32_t mStatusProfileId
Protected functions
ContinueThreadConnectivityTest
void ContinueThreadConnectivityTest(
void
)
ContinueWiFiConnectivityTest
void ContinueWiFiConnectivityTest(
void
)
GetCurrentOp
int16_t GetCurrentOp(
void
) const
HandleConnectivityTestSuccess
void HandleConnectivityTestSuccess(
void
)
HandleDisableNetwork
virtual WEAVE_ERROR HandleDisableNetwork(
uint32_t networkId
) override
Disable the specified network.
Details |
Parameters |
[in] networkId
|
The ID of the network to disable.
|
|
Return Values |
WEAVE_NO_ERROR
|
On success.
|
other
|
Other Weave or platform-specific error codes indicating that an error occurred preventing the device from disabling the network.
|
|
HandleEnableDisableNetwork
WEAVE_ERROR HandleEnableDisableNetwork(
uint32_t networkId,
bool enable
)
HandleEnableNetwork
virtual WEAVE_ERROR HandleEnableNetwork(
uint32_t networkId
) override
Enable the specified network.
Details |
Parameters |
[in] networkId
|
The ID of the network to enable.
|
|
Return Values |
WEAVE_NO_ERROR
|
On success.
|
other
|
Other Weave or platform-specific error codes indicating that an error occurred preventing the device from enabling the network.
|
|
HandleGetNetworks
virtual WEAVE_ERROR HandleGetNetworks(
uint8_t flags
) override
Get the configured networks.
Details |
Parameters |
[in] flags
|
Flags to filter the retrieved networks.
|
|
Return Values |
WEAVE_NO_ERROR
|
On success.
|
other
|
Other Weave or platform-specific error codes indicating that an error occurred preventing the device from getting the configured networks.
|
|
HandleRemoveNetwork
virtual WEAVE_ERROR HandleRemoveNetwork(
uint32_t networkId
) override
Remove a configured network.
Details |
Parameters |
[in] networkId
|
The ID of the network to remove.
|
|
Return Values |
WEAVE_NO_ERROR
|
On success.
|
other
|
Other Weave or platform-specific error codes indicating that an error occurred preventing the device from removing the network.
|
|
HandleScanNetworks
virtual WEAVE_ERROR HandleScanNetworks(
uint8_t networkType
) override
Perform a network scan.
Details |
Parameters |
[in] networkType
|
The technology (for example, WiFi or Thread) to scan.
|
|
Return Values |
WEAVE_NO_ERROR
|
On success.
|
other
|
Other Weave or platform-specific error codes indicating that an error occurred preventing the device from performing a network scan.
|
|
See also:#NetworkType for valid types.
HandleSetRendezvousMode
virtual WEAVE_ERROR HandleSetRendezvousMode(
uint16_t rendezvousMode
) override
Set the rendezvous mode.
Details |
Parameters |
[in] rendezvousMode
|
The rendezvous mode to use.
|
|
Return Values |
WEAVE_NO_ERROR
|
On success.
|
other
|
Other Weave or platform-specific error codes indicating that an error occurred preventing the device from setting the rendezvous mode.
|
|
See also:#RendezvousModeFlags for valid modes.
HandleTestConnectivity
virtual WEAVE_ERROR HandleTestConnectivity(
uint32_t networkId
) override
Test the connectivity of the specified network.
Details |
Parameters |
[in] networkId
|
The ID of the network to test the connectivity of.
|
|
Return Values |
WEAVE_NO_ERROR
|
On success.
|
other
|
Other Weave or platform-specific error codes indicating that an error occurred preventing the device from testing connectivity.
|
|
IsPairedToAccount
virtual bool IsPairedToAccount(
void
) const override
Called to determine if the device is currently paired to an account.
ValidateThreadProvision
WEAVE_ERROR ValidateThreadProvision(
bool isUpdate,
const DeviceNetworkInfo & netInfo,
uint32_t & statusProfileId,
uint16_t & statusCode
)
ValidateWiFiStationProvision
WEAVE_ERROR ValidateWiFiStationProvision(
const DeviceNetworkInfo & netInfo,
uint32_t & statusProfileId,
uint16_t & statusCode
)
_GetDelegate
NetworkProvisioningDelegate * _GetDelegate(
void
)
_ScanInProgress
bool _ScanInProgress(
void
)
_StartPendingScan
void _StartPendingScan(
void
)
Protected static functions
HandleConnectivityTestTimeOut
void HandleConnectivityTestTimeOut(
::nl::Weave::System::Layer *aLayer,
void *aAppState,
::nl::Weave::System::Error aError
)