Macros§
- Publish
Service Error Unknown - Pattern that matches an unknown
PublishServiceError
member. - Read
Options Unknown - Pattern that matches an unknown
ReadOptions
member. - Write
Mode Unknown - Pattern that matches an unknown
WriteMode
member.
Structs§
- Attribute
Permissions - Specifies the access permissions for a specific attribute value.
- Characteristic
- Represents a local or remote GATT characteristic.
- Characteristic
Notifier Control Handle - Characteristic
Notifier Event Stream - Characteristic
Notifier Marker - Characteristic
Notifier OnNotification Request - Characteristic
Notifier OnNotification Responder - Characteristic
Notifier Proxy - Characteristic
Notifier Request Stream - A Stream of incoming requests for fuchsia.bluetooth.gatt2/CharacteristicNotifier.
- Characteristic
Notifier Synchronous Proxy - Characteristic
Property Bits - Possible values for the characteristic properties bitfield. These specify the GATT procedures that are allowed for a particular characteristic.
- Client
Connect ToService Request - Client
Control Handle - Client
Event Stream - Client
Marker - Client
Proxy - Client
Request Stream - A Stream of incoming requests for fuchsia.bluetooth.gatt2/Client.
- Client
Synchronous Proxy - Client
Watch Services Request - Client
Watch Services Responder - Client
Watch Services Response - Descriptor
- Represents a local or remote GATT characteristic descriptor.
- Handle
- Local
Service Characteristic Configuration Request - Local
Service Characteristic Configuration Responder - Local
Service Control Handle - Local
Service Event Stream - Local
Service Marker - Local
Service OnIndicate Value Request - Local
Service Peer Update Request - Local
Service Peer Update Responder - Local
Service Proxy - Local
Service Read Value Request - Local
Service Read Value Responder - Local
Service Read Value Response - Local
Service Request Stream - A Stream of incoming requests for fuchsia.bluetooth.gatt2/LocalService.
- Local
Service Synchronous Proxy - Local
Service Value Changed Credit Request - Local
Service Write Value Request - Local
Service Write Value Responder - Long
Read Options - 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).
- Read
ByType Result - A result returned by
RemoteService.ReadByType
. - Read
Value - Wrapper around a possible truncated value received from the server.
- Remote
Service Control Handle - Remote
Service Discover Characteristics Responder - Remote
Service Discover Characteristics Response - Remote
Service Event Stream - Remote
Service Marker - Remote
Service Proxy - Remote
Service Read ByType Request - Remote
Service Read ByType Responder - Remote
Service Read ByType Response - Remote
Service Read Characteristic Request - Remote
Service Read Characteristic Responder - Remote
Service Read Characteristic Response - Remote
Service Read Descriptor Request - Remote
Service Read Descriptor Responder - Remote
Service Read Descriptor Response - Remote
Service Register Characteristic Notifier Request - Remote
Service Register Characteristic Notifier Responder - Remote
Service Request Stream - A Stream of incoming requests for fuchsia.bluetooth.gatt2/RemoteService.
- Remote
Service Synchronous Proxy - Remote
Service Write Characteristic Request - Remote
Service Write Characteristic Responder - Remote
Service Write Descriptor Request - Remote
Service Write Descriptor Responder - Security
Requirements - Represents encryption, authentication, and authorization permissions that can be assigned to a specific access permission.
- Server
Publish Service Request - Server_
Control Handle - Server_
Event Stream - Server_
Marker - Server_
Proxy - Server_
Publish Service Responder - Server_
Request Stream - A Stream of incoming requests for fuchsia.bluetooth.gatt2/Server.
- Server_
Synchronous Proxy - Service
Handle - Service
Info - Represents a local or remote GATT service.
- Short
Read Options - 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.
- Value
Changed Parameters - The parameters used to signal a characteristic value change from a LocalService to a peer.
- Write
Options - Represents the supported options to write a characteristic/descriptor value to a server.
Enums§
- Characteristic
Notifier Event - Characteristic
Notifier Request - Listens to characteristic notifications & indications.
- Client
Event - Client
Request - Error
- Errors that are returned by bluetooth.gatt2.* methods.
- Local
Service Event - Local
Service Request - 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.
- Publish
Service Error - Errors that can occur during service publication.
- Read
Options - Represents the supported options to read a characteristic or descriptor value from a server.
- Remote
Service Event - Remote
Service Request - Server_
Event - Server_
Request - Service
Kind - The kind (“type”) of a GATT Service as outlined in Bluetooth Core Spec v5.3 Vol. 1 Part A 6.5.1.
- Write
Mode - 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§
- Characteristic
Notifier Proxy Interface - Client
Proxy Interface - Local
Service Proxy Interface - Remote
Service Proxy Interface - Server_
Proxy Interface
Type Aliases§
- Local
Service Read Value Result - Local
Service Write Value Result - Remote
Service Read ByType Result - Remote
Service Read Characteristic Result - Remote
Service Read Descriptor Result - Remote
Service Register Characteristic Notifier Result - Remote
Service Write Characteristic Result - Remote
Service Write Descriptor Result - Server
Publish Service Result