Macros

Pattern that matches an unknown PublishServiceError member.
Pattern that matches an unknown ReadOptions member.
Pattern that matches an unknown WriteMode member.

Structs

Specifies the access permissions for a specific attribute value.
Represents a local or remote GATT characteristic.
A Stream of incoming requests for CharacteristicNotifier
Possible values for the characteristic properties bitfield. These specify the GATT procedures that are allowed for a particular characteristic.
A Stream of incoming requests for Client
Represents a local or remote GATT characteristic descriptor.
A Stream of incoming requests for LocalService
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).
A result returned by RemoteService.ReadByType.
Wrapper around a possible truncated value received from the server.
A Stream of incoming requests for RemoteService
Represents encryption, authentication, and authorization permissions that can be assigned to a specific access permission.
A Stream of incoming requests for Server_
Represents a local or remote GATT service.
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.
The parameters used to signal a characteristic value change from a LocalService to a peer.
Represents the supported options to write a characteristic/descriptor value to a server.

Enums

Listens to characteristic notifications & indications.
Errors that are returned by bluetooth.gatt2.* methods.
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.
Errors that can occur during service publication.
Represents the supported options to read a characteristic or descriptor value from a server.
The kind (“type”) of a GATT Service as outlined in Bluetooth Core Spec v5.3 Vol. 1 Part A 6.5.1.
Represents the supported write modes for writing characteristics & descriptors to the server.

Constants

The amount of credits defined to be available for sending indications/notifications when a LocalService is first published.

Traits

Type Definitions