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

Parameters returned by the HAL Get Firmware Revision command.

Status returned by the HAL Write Config Data command.

Parameters returned by the HAL Read Config Data command.

Status returned by the HAL Set Tx Power Level command.

Status returned by the HAL Device Standby command.

Parameters returned by the HAL Get Tx Test Packet Count command.

Status returned by the HAL Start Tone command.

Status returned by the HAL Stop Tone command.

Status returned by the HAL Get Link Status command.

Parameters returned by the HAL Get Anchor Period command.

Status returned by the GAP Set Non-Discoverable command.

Status returned by the GAP Set Discoverable command.

Status returned by the GAP Set Direct Connectable command.

Status returned by the GAP Set IO Capability command.

Status returned by the GAP Set Authentication Requirement command.

Status returned by the GAP Set Authorization Requirement command.

Status returned by the GAP Pass Key Response command.

Status returned by the GAP Authorization Response command.

Parameters returned by the GAP Init command.

Parameters returned by the GAP Set Non-Connectable command.

Parameters returned by the GAP Set Undirected Connectable command.

Parameters returned by the GAP Update Advertising Data command.

Parameters returned by the GAP Delete AD Type command.

Parameters returned by the GAP Get Security Level command.

Parameters returned by the GAP Set Event Mask command.

Parameters returned by the GAP Configure White List command.

Parameters returned by the GAP Clear Security Database command.

Parameters returned by the GAP Allow Rebond command.

Parameters returned by the GAP Terminate Procedure command.

Parameters returned by the GAP Resolve Private Address command.

Parameters returned by the GAP Get Bonded Devices command.

Parameters returned by the GAP Set Broadcast Mode command.

Parameters returned by the GAP Start Observation Procedure command.

Parameters returned by the GAP Is Device Bonded command.

Parameters returned by the GATT Init command.

Parameters returned by the GATT Add Service command.

Parameters returned by the GATT Include Service command.

Parameters returned by the GATT Add Characteristic command.

Parameters returned by the GATT Add Characteristic Descriptor command.

Parameters returned by the GATT Update Characteristic Value command.

Parameters returned by the GATT Delete Characteristic command.

Parameters returned by the GATT Delete Service command.

Parameters returned by the GATT Delete Included Service command.

Parameters returned by the GATT Set Event Mask command.

Parameters returned by the GATT Write Without Response command.

Parameters returned by the GATT Signed Write Without Response command.

Parameters returned by the GATT Confirm Indication command.

Parameters returned by the GATT Write Response command.

Parameters returned by the GATT Allow Read command.

Parameters returned by the GATT Set Security Permission command.

Parameters returned by the GATT Set Descriptor Value command.

Parameters returned by the GATT Read Handle Value command.

Parameters returned by the GATT Read Handle Value command.

Parameters returned by the GATT Update Long Characteristic Value command.

Status returned by the L2CAP Connection Parameter Update Response command.

Trait Implementations

impl Clone for ReturnParameters
[src]

Returns a copy of the value. Read more

Performs copy-assignment from source. Read more

impl Debug for ReturnParameters
[src]

Formats the value using the given formatter. Read more

impl VendorReturnParameters for ReturnParameters
[src]

Enumeration of vendor-specific errors that may occur when deserializing return parameters for vendor-specific commands. Read more

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