ble_peripheral_rust/gatt/properties.rs
1#[derive(Debug, Clone, PartialEq)]
2pub enum CharacteristicProperty {
3 Broadcast,
4 Read,
5 WriteWithoutResponse,
6 Write,
7 AuthenticatedSignedWrites,
8 Notify,
9 NotifyEncryptionRequired,
10 Indicate,
11 IndicateEncryptionRequired,
12 ExtendedProperties,
13}
14
15#[derive(Debug, Clone, PartialEq)]
16pub enum AttributePermission {
17 Readable,
18 Writeable,
19 ReadEncryptionRequired,
20 WriteEncryptionRequired,
21}