Crate idasen

Source

Structs§

Idasen
PositionSpeed

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_position_speed
convert desk response from bytes to tenth of millimeters and a speed of unknown dimension
get_desks
get_instance
Get instance of Idasen struct. The desk will be discovered by the name. If multiple are applicable a random one will be choosen.
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.