Crate idasen[][src]

Structs

Idasen

Enums

Error

Constants

MAX_HEIGHT
MIN_HEIGHT

Traits

Device

Peripheral is the device that you would like to communicate with (the “server” of BLE). This struct contains both the current state of the device (its properties, characteristics, etc.) as well as functions for communication.

Functions

bytes_to_tenth_millimeters

convert desk response from bytes to meters

get_instance

Get instance of Idasen struct. The desk will be discovered by the name.

get_instance_by_mac

Get the desk instance by it’s Bluetooth MAC address (BD_ADDR). The address can be obtained also by accessing mac_addr property on instantiated Idasen instance.