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 OnNotification Request - Characteristic
Property Bits - Possible values for the characteristic properties bitfield. These specify the GATT procedures that are allowed for a particular characteristic.
- Client
Watch Services Request - Client
Watch Services Response - Descriptor
- Represents a local or remote GATT characteristic descriptor.
- Handle
- Local
Service Characteristic Configuration Request - Local
Service Peer Update Request - Local
Service Read Value Request - Local
Service Read Value Response - Local
Service Value Changed Credit Request - Local
Service Write Value Request - 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 Discover Characteristics Response - Remote
Service Read ByType Request - Remote
Service Read ByType Response - Remote
Service Read Characteristic Request - Remote
Service Read Characteristic Response - Remote
Service Read Descriptor Request - Remote
Service Read Descriptor Response - Remote
Service Write Characteristic Request - Remote
Service Write Descriptor Request - Security
Requirements - Represents encryption, authentication, and authorization permissions that can be assigned to a specific access permission.
- 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§
- Error
- Errors that are returned by bluetooth.gatt2.* methods.
- 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.
- 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