Crate fidl_fuchsia_bluetooth_gatt2_common

Source

Macros§

PublishServiceErrorUnknown
Pattern that matches an unknown PublishServiceError member.
ReadOptionsUnknown
Pattern that matches an unknown ReadOptions member.
WriteModeUnknown
Pattern that matches an unknown WriteMode member.

Structs§

AttributePermissions
Specifies the access permissions for a specific attribute value.
Characteristic
Represents a local or remote GATT characteristic.
CharacteristicNotifierOnNotificationRequest
CharacteristicPropertyBits
Possible values for the characteristic properties bitfield. These specify the GATT procedures that are allowed for a particular characteristic.
ClientWatchServicesRequest
ClientWatchServicesResponse
Descriptor
Represents a local or remote GATT characteristic descriptor.
Handle
LocalServiceCharacteristicConfigurationRequest
LocalServicePeerUpdateRequest
LocalServiceReadValueRequest
LocalServiceReadValueResponse
LocalServiceValueChangedCreditRequest
LocalServiceWriteValueRequest
LongReadOptions
Represents the supported options to read a long characteristic or descriptor value from a server. Long values are those that may not fit in a single message (longer than 22 bytes).
ReadByTypeResult
A result returned by RemoteService.ReadByType.
ReadValue
Wrapper around a possible truncated value received from the server.
RemoteServiceDiscoverCharacteristicsResponse
RemoteServiceReadByTypeRequest
RemoteServiceReadByTypeResponse
RemoteServiceReadCharacteristicRequest
RemoteServiceReadCharacteristicResponse
RemoteServiceReadDescriptorRequest
RemoteServiceReadDescriptorResponse
RemoteServiceWriteCharacteristicRequest
RemoteServiceWriteDescriptorRequest
SecurityRequirements
Represents encryption, authentication, and authorization permissions that can be assigned to a specific access permission.
ServiceHandle
ServiceInfo
Represents a local or remote GATT service.
ShortReadOptions
Represents the options for reading a short characteristic or descriptor value from a server. Short values are those that fit in a single message, which is at least 22 bytes. This is an empty placeholder for now, as there are no options.
ValueChangedParameters
The parameters used to signal a characteristic value change from a LocalService to a peer.
WriteOptions
Represents the supported options to write a characteristic/descriptor value to a server.

Enums§

Error
Errors that are returned by bluetooth.gatt2.* methods.
PublishServiceError
Errors that can occur during service publication.
ReadOptions
Represents the supported options to read a characteristic or descriptor value from a server.
ServiceKind
The kind (“type”) of a GATT Service as outlined in Bluetooth Core Spec v5.3 Vol. 1 Part A 6.5.1.
WriteMode
Represents the supported write modes for writing characteristics & descriptors to the server.

Constants§

INITIAL_VALUE_CHANGED_CREDITS
The amount of credits defined to be available for sending indications/notifications when a LocalService is first published.
MAX_ATTRIBUTE_COUNT
MAX_CHARACTERISTIC_COUNT
MAX_DESCRIPTOR_COUNT
MAX_SERVICE_COUNT
MAX_VALUE_LENGTH