nl:: Weave:: Profiles:: NetworkProvisioning:: NetworkProvisioningDelegate
This is an abstract class.
#include <src/lib/profiles/network-provisioning/NetworkProvisioning.h>
Delegate class for implementing Network Provisioning operations.
Summary
Inheritance
Inherits from: nl::Weave::WeaveServerDelegateBaseDirect Known Subclasses:
nl::Weave::DeviceLayer::Internal::GenericNetworkProvisioningServerImpl< NetworkProvisioningServerImpl >
nl::Weave::DeviceLayer::Internal::GenericNetworkProvisioningServerImpl< ImplClass >
Public attributes |
|
---|---|
Server
|
[READ ONLY] The server object to which this delegate is attached.
|
Public functions |
|
---|---|
EnforceAccessControl(ExchangeContext *ec, uint32_t msgProfileId, uint8_t msgType, const WeaveMessageInfo *msgInfo, AccessControlResult & result)
|
virtual void
Enforce message-level access control for an incoming Network Provisioning request message.
|
HandleAddNetwork(PacketBuffer *networkInfoTLV)=0
|
virtual WEAVE_ERROR
Add a particular network.
|
HandleDisableNetwork(uint32_t networkId)=0
|
virtual WEAVE_ERROR
Disable the specified network.
|
HandleEnableNetwork(uint32_t networkId)=0
|
virtual WEAVE_ERROR
Enable the specified network.
|
HandleGetNetworks(uint8_t flags)=0
|
virtual WEAVE_ERROR
Get the configured networks.
|
HandleGetWirelessRegulatoryConfig(void)
|
virtual WEAVE_ERROR
Get wireless regulatory configuration information.
|
HandleRemoveNetwork(uint32_t networkId)=0
|
virtual WEAVE_ERROR
Remove a configured network.
|
HandleScanNetworks(uint8_t networkType)=0
|
virtual WEAVE_ERROR
Perform a network scan.
|
HandleSetRendezvousMode(uint16_t rendezvousMode)=0
|
virtual WEAVE_ERROR
Set the rendezvous mode.
|
HandleSetWirelessRegulatoryConfig(PacketBuffer *regConfigTLV)
|
virtual WEAVE_ERROR
Set wireless regulatory configuration information.
|
HandleTestConnectivity(uint32_t networkId)=0
|
virtual WEAVE_ERROR
Test the connectivity of the specified network.
|
HandleUpdateNetwork(PacketBuffer *networkInfoTLV)=0
|
virtual WEAVE_ERROR
Update a network's configuration.
|
IsPairedToAccount() const
|
virtual bool
Called to determine if the device is currently paired to an account.
|
Public attributes
Server
NetworkProvisioningServer * Server
[READ ONLY] The server object to which this delegate is attached.
Public functions
EnforceAccessControl
virtual void EnforceAccessControl( ExchangeContext *ec, uint32_t msgProfileId, uint8_t msgType, const WeaveMessageInfo *msgInfo, AccessControlResult & result )
Enforce message-level access control for an incoming Network Provisioning request message.
Details | |||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|
Parameters |
|
HandleAddNetwork
virtual WEAVE_ERROR HandleAddNetwork( PacketBuffer *networkInfoTLV )=0
Add a particular network.
Details | |||||
---|---|---|---|---|---|
Parameters |
|
||||
Return Values |
|
NetworkProvisioningDataElementTags for valid types.
HandleDisableNetwork
virtual WEAVE_ERROR HandleDisableNetwork( uint32_t networkId )=0
Disable the specified network.
Details | |||||
---|---|---|---|---|---|
Parameters |
|
||||
Return Values |
|
HandleEnableNetwork
virtual WEAVE_ERROR HandleEnableNetwork( uint32_t networkId )=0
Enable the specified network.
Details | |||||
---|---|---|---|---|---|
Parameters |
|
||||
Return Values |
|
HandleGetNetworks
virtual WEAVE_ERROR HandleGetNetworks( uint8_t flags )=0
Get the configured networks.
Details | |||||
---|---|---|---|---|---|
Parameters |
|
||||
Return Values |
|
HandleGetWirelessRegulatoryConfig
virtual WEAVE_ERROR HandleGetWirelessRegulatoryConfig( void )
Get wireless regulatory configuration information.
Details | |||||
---|---|---|---|---|---|
Return Values |
|
HandleRemoveNetwork
virtual WEAVE_ERROR HandleRemoveNetwork( uint32_t networkId )=0
Remove a configured network.
Details | |||||
---|---|---|---|---|---|
Parameters |
|
||||
Return Values |
|
HandleScanNetworks
virtual WEAVE_ERROR HandleScanNetworks( uint8_t networkType )=0
Perform a network scan.
Details | |||||
---|---|---|---|---|---|
Parameters |
|
||||
Return Values |
|
NetworkType for valid types.
HandleSetRendezvousMode
virtual WEAVE_ERROR HandleSetRendezvousMode( uint16_t rendezvousMode )=0
Set the rendezvous mode.
Details | |||||
---|---|---|---|---|---|
Parameters |
|
||||
Return Values |
|
RendezvousModeFlags for valid modes.
HandleSetWirelessRegulatoryConfig
virtual WEAVE_ERROR HandleSetWirelessRegulatoryConfig( PacketBuffer *regConfigTLV )
Set wireless regulatory configuration information.
Details | |||||
---|---|---|---|---|---|
Parameters |
|
||||
Return Values |
|
HandleTestConnectivity
virtual WEAVE_ERROR HandleTestConnectivity( uint32_t networkId )=0
Test the connectivity of the specified network.
Details | |||||
---|---|---|---|---|---|
Parameters |
|
||||
Return Values |
|
HandleUpdateNetwork
virtual WEAVE_ERROR HandleUpdateNetwork( PacketBuffer *networkInfoTLV )=0
Update a network's configuration.
Details | |||||
---|---|---|---|---|---|
Parameters |
|
||||
Return Values |
|
NetworkProvisioningDataElementTags for valid types.
IsPairedToAccount
virtual bool IsPairedToAccount() const
Called to determine if the device is currently paired to an account.