Crate fidl_fuchsia_bluetooth_gatt2

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.
CharacteristicNotifierControlHandle
CharacteristicNotifierEventStream
CharacteristicNotifierMarker
CharacteristicNotifierOnNotificationRequest
CharacteristicNotifierOnNotificationResponder
CharacteristicNotifierProxy
CharacteristicNotifierRequestStream
A Stream of incoming requests for fuchsia.bluetooth.gatt2/CharacteristicNotifier.
CharacteristicNotifierSynchronousProxy
CharacteristicPropertyBits
Possible values for the characteristic properties bitfield. These specify the GATT procedures that are allowed for a particular characteristic.
ClientConnectToServiceRequest
ClientControlHandle
ClientEventStream
ClientMarker
ClientProxy
ClientRequestStream
A Stream of incoming requests for fuchsia.bluetooth.gatt2/Client.
ClientSynchronousProxy
ClientWatchServicesRequest
ClientWatchServicesResponder
ClientWatchServicesResponse
Descriptor
Represents a local or remote GATT characteristic descriptor.
Handle
LocalServiceCharacteristicConfigurationRequest
LocalServiceCharacteristicConfigurationResponder
LocalServiceControlHandle
LocalServiceEventStream
LocalServiceMarker
LocalServiceOnIndicateValueRequest
LocalServicePeerUpdateRequest
LocalServicePeerUpdateResponder
LocalServiceProxy
LocalServiceReadValueRequest
LocalServiceReadValueResponder
LocalServiceReadValueResponse
LocalServiceRequestStream
A Stream of incoming requests for fuchsia.bluetooth.gatt2/LocalService.
LocalServiceSynchronousProxy
LocalServiceValueChangedCreditRequest
LocalServiceWriteValueRequest
LocalServiceWriteValueResponder
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.
RemoteServiceControlHandle
RemoteServiceDiscoverCharacteristicsResponder
RemoteServiceDiscoverCharacteristicsResponse
RemoteServiceEventStream
RemoteServiceMarker
RemoteServiceProxy
RemoteServiceReadByTypeRequest
RemoteServiceReadByTypeResponder
RemoteServiceReadByTypeResponse
RemoteServiceReadCharacteristicRequest
RemoteServiceReadCharacteristicResponder
RemoteServiceReadCharacteristicResponse
RemoteServiceReadDescriptorRequest
RemoteServiceReadDescriptorResponder
RemoteServiceReadDescriptorResponse
RemoteServiceRegisterCharacteristicNotifierRequest
RemoteServiceRegisterCharacteristicNotifierResponder
RemoteServiceRequestStream
A Stream of incoming requests for fuchsia.bluetooth.gatt2/RemoteService.
RemoteServiceSynchronousProxy
RemoteServiceWriteCharacteristicRequest
RemoteServiceWriteCharacteristicResponder
RemoteServiceWriteDescriptorRequest
RemoteServiceWriteDescriptorResponder
SecurityRequirements
Represents encryption, authentication, and authorization permissions that can be assigned to a specific access permission.
ServerPublishServiceRequest
Server_ControlHandle
Server_EventStream
Server_Marker
Server_Proxy
Server_PublishServiceResponder
Server_RequestStream
A Stream of incoming requests for fuchsia.bluetooth.gatt2/Server.
Server_SynchronousProxy
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§

CharacteristicNotifierEvent
CharacteristicNotifierRequest
Listens to characteristic notifications & indications.
ClientEvent
ClientRequest
Error
Errors that are returned by bluetooth.gatt2.* methods.
LocalServiceEvent
LocalServiceRequest
Interface for serving a local GATT service. Closing the server_end of this protocol causes the GATT service to be removed from the local GATT database. Similarly, closure of the client_end of this protocol means the Bluetooth stack has removed this service from its GATT database.
PublishServiceError
Errors that can occur during service publication.
ReadOptions
Represents the supported options to read a characteristic or descriptor value from a server.
RemoteServiceEvent
RemoteServiceRequest
Server_Event
Server_Request
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

Traits§

CharacteristicNotifierProxyInterface
ClientProxyInterface
LocalServiceProxyInterface
RemoteServiceProxyInterface
Server_ProxyInterface

Type Aliases§

LocalServiceReadValueResult
LocalServiceWriteValueResult
RemoteServiceReadByTypeResult
RemoteServiceReadCharacteristicResult
RemoteServiceReadDescriptorResult
RemoteServiceRegisterCharacteristicNotifierResult
RemoteServiceWriteCharacteristicResult
RemoteServiceWriteDescriptorResult
ServerPublishServiceResult