Trait rumcake::bluetooth::BluetoothKeyboard
source · pub trait BluetoothKeyboard: Keyboard + HIDDevice {
const BLE_VID: u16;
const BLE_PID: u16;
const BLE_PRODUCT_VERSION: &'static str = Self::HARDWARE_REVISION;
}
Expand description
A trait that keyboards must implement to communicate with host devices over Bluetooth (LE).
Required Associated Constants§
Provided Associated Constants§
sourceconst BLE_PRODUCT_VERSION: &'static str = Self::HARDWARE_REVISION
const BLE_PRODUCT_VERSION: &'static str = Self::HARDWARE_REVISION
Product version for the keyboard.
Object Safety§
This trait is not object safe.