[][src]Module rustable::gatt

Module containing structures and traits for interacting with remote GATT services/characteristics/descriptors and creating local GATT services.

Structs

AttValue

Represents the value of a characteristic or descriptor.

CharFlags

Flags for GATT characteristics.

DescFlags

Flags for GATT descriptors.

LocalChar

Represents a characteristic hosted by a local instance of Bluetooth.

LocalCharBase

LocalCharBase is used to create GATT characteristics to be added to LocalServiceBase.

LocalDesc

Represents a descriptor hosted by local instance of Bluetooth.

LocalDescBase

LocalDescBase is used to create GATT descriptors to be added to LocalServiceBase

LocalService

Struct representing service currently being hosted by the local GATT server

LocalServiceBase

LocalServiceBase is used to construct local service to be provided by the local GATT server.

RemoteChar

Represents a characteristic present on a remote device.

RemoteDesc

Represents a descriptor present on a remote device.

RemoteService

Return type for RemoteDevice::get_service(). It represents a service on another device.

Enums

CharVar
ValOrFn

Use to set the value of a local characteristic or descriptor. The value can be an actual value or it can be callback that returns value.

WriteType

Represents the different write types when writing to characteristics.

Traits

AssignedAtt

AttObjects implementing this type have 16-bit UUID assigned by the Bluetooth SIG.

AttObject

Types implementing this trait represent Bluetooth ATT (services/characteristics,descriptors), and their associated DBus path.

FlaggedAtt
HasChildren

Objects implementing this trait have child attributes.

ReadableAtt

AttObjects implementing this trait are readable, if flags allow for it.

Service

Describes the methods avaliable on remote and local GATT services

WritableAtt

AttObjects implementing this trait are writeable, if flags allow for it.