pub enum DeviceTestRequest {
Reset {
responder: DeviceTestResetResponder,
},
GetNcpVersion {
responder: DeviceTestGetNcpVersionResponder,
},
GetCurrentRssi {
responder: DeviceTestGetCurrentRssiResponder,
},
GetFactoryMacAddress {
responder: DeviceTestGetFactoryMacAddressResponder,
},
GetCurrentMacAddress {
responder: DeviceTestGetCurrentMacAddressResponder,
},
GetCurrentChannel {
responder: DeviceTestGetCurrentChannelResponder,
},
GetPartitionId {
responder: DeviceTestGetPartitionIdResponder,
},
GetThreadRloc16 {
responder: DeviceTestGetThreadRloc16Responder,
},
GetThreadRouterId {
responder: DeviceTestGetThreadRouterIdResponder,
},
ReplaceMacAddressFilterSettings {
settings: MacAddressFilterSettings,
responder: DeviceTestReplaceMacAddressFilterSettingsResponder,
},
GetMacAddressFilterSettings {
responder: DeviceTestGetMacAddressFilterSettingsResponder,
},
GetNeighborTable {
responder: DeviceTestGetNeighborTableResponder,
},
}
Variants§
Reset
Resets this network interface, returning all volatile state to default values. Any information stored in non-volatile memory is preserved. If the interface was attached to a network, this method will cause the interface to detach. In that case, once the interface has finished initialization the interface will attempt to reattach to the previous network.
Fields
responder: DeviceTestResetResponder
GetNcpVersion
Returns the version string describing the firmware/stack version that is in use.
Fields
responder: DeviceTestGetNcpVersionResponder
GetCurrentRssi
Returns the current RSSI measured by the radio.
Fields
responder: DeviceTestGetCurrentRssiResponder
GetFactoryMacAddress
Returns the factory-assigned static MAC address.
Fields
responder: DeviceTestGetFactoryMacAddressResponder
GetCurrentMacAddress
Returns the currently used MAC address, which can differ from the static factory-assigned MAC address.
Fields
responder: DeviceTestGetCurrentMacAddressResponder
GetCurrentChannel
Returns the current channel index for the radio.
Fields
responder: DeviceTestGetCurrentChannelResponder
GetPartitionId
Returns the partition ID of the currently associated network partition.
Fields
responder: DeviceTestGetPartitionIdResponder
GetThreadRloc16
Fields
responder: DeviceTestGetThreadRloc16Responder
GetThreadRouterId
Fields
responder: DeviceTestGetThreadRouterIdResponder
ReplaceMacAddressFilterSettings
Updates the address filter settings.
Responds once the filter settings have taken effect.
Fields
settings: MacAddressFilterSettings
GetMacAddressFilterSettings
Returns the current address filter settings.
Fields
GetNeighborTable
Returns a snapshot of the current neighbor table.
Fields
responder: DeviceTestGetNeighborTableResponder
Implementations§
Source§impl DeviceTestRequest
impl DeviceTestRequest
pub fn into_reset(self) -> Option<DeviceTestResetResponder>
pub fn into_get_ncp_version(self) -> Option<DeviceTestGetNcpVersionResponder>
pub fn into_get_current_rssi(self) -> Option<DeviceTestGetCurrentRssiResponder>
pub fn into_get_factory_mac_address( self, ) -> Option<DeviceTestGetFactoryMacAddressResponder>
pub fn into_get_current_mac_address( self, ) -> Option<DeviceTestGetCurrentMacAddressResponder>
pub fn into_get_current_channel( self, ) -> Option<DeviceTestGetCurrentChannelResponder>
pub fn into_get_partition_id(self) -> Option<DeviceTestGetPartitionIdResponder>
pub fn into_get_thread_rloc16( self, ) -> Option<DeviceTestGetThreadRloc16Responder>
pub fn into_get_thread_router_id( self, ) -> Option<DeviceTestGetThreadRouterIdResponder>
pub fn into_replace_mac_address_filter_settings( self, ) -> Option<(MacAddressFilterSettings, DeviceTestReplaceMacAddressFilterSettingsResponder)>
pub fn into_get_mac_address_filter_settings( self, ) -> Option<DeviceTestGetMacAddressFilterSettingsResponder>
pub fn into_get_neighbor_table( self, ) -> Option<DeviceTestGetNeighborTableResponder>
Sourcepub fn method_name(&self) -> &'static str
pub fn method_name(&self) -> &'static str
Name of the method defined in FIDL