Enum bluenrg::event::command::ReturnParameters [−][src]
pub enum ReturnParameters { HalGetFirmwareRevision(HalFirmwareRevision), HalWriteConfigData(Status<Status>), HalReadConfigData(HalConfigData), HalSetTxPowerLevel(Status<Status>), HalDeviceStandby(Status<Status>), HalGetTxTestPacketCount(HalTxTestPacketCount), HalStartTone(Status<Status>), HalStopTone(Status<Status>), HalGetLinkStatus(HalLinkStatus), HalGetAnchorPeriod(HalAnchorPeriod), GapSetNonDiscoverable(Status<Status>), GapSetDiscoverable(Status<Status>), GapSetDirectConnectable(Status<Status>), GapSetIoCapability(Status<Status>), GapSetAuthenticationRequirement(Status<Status>), GapSetAuthorizationRequirement(Status<Status>), GapPassKeyResponse(Status<Status>), GapAuthorizationResponse(Status<Status>), GapInit(GapInit), GapSetNonConnectable(Status<Status>), GapSetUndirectedConnectable(Status<Status>), GapUpdateAdvertisingData(Status<Status>), GapDeleteAdType(Status<Status>), GapGetSecurityLevel(GapSecurityLevel), GapSetEventMask(Status<Status>), GapConfigureWhiteList(Status<Status>), GapClearSecurityDatabase(Status<Status>), GapAllowRebond(Status<Status>), GapTerminateProcedure(Status<Status>), GapResolvePrivateAddress(GapResolvePrivateAddress), GapGetBondedDevices(GapBondedDevices), GapSetBroadcastMode(Status<Status>), GapStartObservationProcedure(Status<Status>), GapIsDeviceBonded(Status<Status>), GattInit(Status<Status>), GattAddService(GattService), GattIncludeService(GattService), GattAddCharacteristic(GattCharacteristic), GattAddCharacteristicDescriptor(GattCharacteristicDescriptor), GattUpdateCharacteristicValue(Status<Status>), GattDeleteCharacteristic(Status<Status>), GattDeleteService(Status<Status>), GattDeleteIncludedService(Status<Status>), GattSetEventMask(Status<Status>), GattWriteWithoutResponse(Status<Status>), GattSignedWriteWithoutResponse(Status<Status>), GattConfirmIndication(Status<Status>), GattWriteResponse(Status<Status>), GattAllowRead(Status<Status>), GattSetSecurityPermission(Status<Status>), GattSetDescriptorValue(Status<Status>), GattReadHandleValue(GattHandleValue), GattReadHandleValueOffset(GattHandleValue), GattUpdateLongCharacteristicValue(Status<Status>), L2CapConnectionParameterUpdateResponse(Status<Status>), }
Vendor-specific commands that may generate the Command Complete event. If the commands have defined return parameters, they are included in the enum.
Variants
HalGetFirmwareRevision(HalFirmwareRevision)
Parameters returned by the HAL Get Firmware Revision command.
HalWriteConfigData(Status<Status>)
Status returned by the HAL Write Config Data command.
HalReadConfigData(HalConfigData)
Parameters returned by the HAL Read Config Data command.
HalSetTxPowerLevel(Status<Status>)
Status returned by the HAL Set Tx Power Level command.
HalDeviceStandby(Status<Status>)
Status returned by the HAL Device Standby command.
HalGetTxTestPacketCount(HalTxTestPacketCount)
Parameters returned by the HAL Get Tx Test Packet Count command.
HalStartTone(Status<Status>)
Status returned by the HAL Start Tone command.
HalStopTone(Status<Status>)
Status returned by the HAL Stop Tone command.
HalGetLinkStatus(HalLinkStatus)
Status returned by the HAL Get Link Status command.
HalGetAnchorPeriod(HalAnchorPeriod)
Parameters returned by the HAL Get Anchor Period command.
GapSetNonDiscoverable(Status<Status>)
Status returned by the GAP Set Non-Discoverable command.
GapSetDiscoverable(Status<Status>)
Status returned by the GAP Set Discoverable command.
GapSetDirectConnectable(Status<Status>)
Status returned by the GAP Set Direct Connectable command.
GapSetIoCapability(Status<Status>)
Status returned by the GAP Set IO Capability command.
GapSetAuthenticationRequirement(Status<Status>)
Status returned by the GAP Set Authentication Requirement command.
GapSetAuthorizationRequirement(Status<Status>)
Status returned by the GAP Set Authorization Requirement command.
GapPassKeyResponse(Status<Status>)
Status returned by the GAP Pass Key Response command.
GapAuthorizationResponse(Status<Status>)
Status returned by the GAP Authorization Response command.
GapInit(GapInit)
Parameters returned by the GAP Init command.
GapSetNonConnectable(Status<Status>)
Parameters returned by the GAP Set Non-Connectable command.
GapSetUndirectedConnectable(Status<Status>)
Parameters returned by the GAP Set Undirected Connectable command.
GapUpdateAdvertisingData(Status<Status>)
Parameters returned by the GAP Update Advertising Data command.
GapDeleteAdType(Status<Status>)
Parameters returned by the GAP Delete AD Type command.
GapGetSecurityLevel(GapSecurityLevel)
Parameters returned by the GAP Get Security Level command.
GapSetEventMask(Status<Status>)
Parameters returned by the GAP Set Event Mask command.
GapConfigureWhiteList(Status<Status>)
Parameters returned by the GAP Configure White List command.
GapClearSecurityDatabase(Status<Status>)
Parameters returned by the GAP Clear Security Database command.
GapAllowRebond(Status<Status>)
Parameters returned by the GAP Allow Rebond command.
GapTerminateProcedure(Status<Status>)
Parameters returned by the GAP Terminate Procedure command.
GapResolvePrivateAddress(GapResolvePrivateAddress)
Parameters returned by the GAP Resolve Private Address command.
GapGetBondedDevices(GapBondedDevices)
Parameters returned by the GAP Get Bonded Devices command.
GapSetBroadcastMode(Status<Status>)
Parameters returned by the GAP Set Broadcast Mode command.
GapStartObservationProcedure(Status<Status>)
Parameters returned by the GAP Start Observation Procedure command.
GapIsDeviceBonded(Status<Status>)
Parameters returned by the GAP Is Device Bonded command.
GattInit(Status<Status>)
Parameters returned by the GATT Init command.
GattAddService(GattService)
Parameters returned by the GATT Add Service command.
GattIncludeService(GattService)
Parameters returned by the GATT Include Service command.
GattAddCharacteristic(GattCharacteristic)
Parameters returned by the GATT Add Characteristic command.
GattAddCharacteristicDescriptor(GattCharacteristicDescriptor)
Parameters returned by the GATT Add Characteristic Descriptor command.
GattUpdateCharacteristicValue(Status<Status>)
Parameters returned by the GATT Update Characteristic Value command.
GattDeleteCharacteristic(Status<Status>)
Parameters returned by the GATT Delete Characteristic command.
GattDeleteService(Status<Status>)
Parameters returned by the GATT Delete Service command.
GattDeleteIncludedService(Status<Status>)
Parameters returned by the GATT Delete Included Service command.
GattSetEventMask(Status<Status>)
Parameters returned by the GATT Set Event Mask command.
GattWriteWithoutResponse(Status<Status>)
Parameters returned by the GATT Write Without Response command.
GattSignedWriteWithoutResponse(Status<Status>)
Parameters returned by the GATT Signed Write Without Response command.
GattConfirmIndication(Status<Status>)
Parameters returned by the GATT Confirm Indication command.
GattWriteResponse(Status<Status>)
Parameters returned by the GATT Write Response command.
GattAllowRead(Status<Status>)
Parameters returned by the GATT Allow Read command.
GattSetSecurityPermission(Status<Status>)
Parameters returned by the GATT Set Security Permission command.
GattSetDescriptorValue(Status<Status>)
Parameters returned by the GATT Set Descriptor Value command.
GattReadHandleValue(GattHandleValue)
Parameters returned by the GATT Read Handle Value command.
GattReadHandleValueOffset(GattHandleValue)
Parameters returned by the GATT Read Handle Value command.
GattUpdateLongCharacteristicValue(Status<Status>)
Parameters returned by the GATT Update Long Characteristic Value command.
L2CapConnectionParameterUpdateResponse(Status<Status>)
Status returned by the L2CAP Connection Parameter Update Response command.
Trait Implementations
impl Clone for ReturnParameters
[src]
impl Clone for ReturnParameters
fn clone(&self) -> ReturnParameters
[src]
fn clone(&self) -> ReturnParameters
Returns a copy of the value. Read more
fn clone_from(&mut self, source: &Self)
1.0.0[src]
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from source
. Read more
impl Debug for ReturnParameters
[src]
impl Debug for ReturnParameters
fn fmt(&self, f: &mut Formatter) -> Result
[src]
fn fmt(&self, f: &mut Formatter) -> Result
Formats the value using the given formatter. Read more
impl VendorReturnParameters for ReturnParameters
[src]
impl VendorReturnParameters for ReturnParameters
type Error = BlueNRGError
Enumeration of vendor-specific errors that may occur when deserializing return parameters for vendor-specific commands. Read more
fn new(bytes: &[u8]) -> Result<Self, Error<Self::Error>>
[src]
fn new(bytes: &[u8]) -> Result<Self, Error<Self::Error>>
Deserializes vendor-specific return parameters from the contents of the buffer. The buffer is the full payload of the command complete event, starting with the length (1 byte) and opcode (2 bytes). Read more
Auto Trait Implementations
impl Send for ReturnParameters
impl Send for ReturnParameters
impl Sync for ReturnParameters
impl Sync for ReturnParameters