[][src]Crate rustable

rustable

rustable is yet another library for interfacing bluez over DBus.

Supported Features

GATT Server

  • Creating local services
  • Reading/Writing local characteristics
  • Notifying/Indicating local characteristics with sockets.
  • Notifying/Indicating local characteristics with DBus signals.

To Do:

  • Descriptors as a server.

GATT Client

  • Receiving remote notification/indications with sockets.

To Do:

  • Descriptors as a client.

Development status

This library is unstable in alpha. There are planned functions in the API that have yet to be implemented. Unimplemented function are noted. The API is also subject to breaking changes.

Modules

gatt

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

interfaces

A series of constant strings used to communicate with DBus and Bluez.

Structs

Advertisement

See the Advertising API for more details about what each field does.

Bluetooth

Bluetooth is created to interact with Bluez over DBus and file descriptors.

RemoteDevice
RemoteDeviceBase

Enums

AdType
AddrType
Error
ValOrFn
Variant

Constants

MAX_APP_MTU
MAX_CHAR_LEN

Traits

Device
ToMAC
ToUUID

Functions

devmac_to_mac
mac_to_devmac
validate_devmac
validate_uuid

Type Definitions

MAC
UUID