[−][src]Trait rustable::gatt::Descriptor
Describes the methods avaliable on local and remote GATT descriptors.
Required methods
fn read(&mut self) -> Result<([u8; 512], usize), Error>
Reads the value of the descriptor.
fn read_cached(&mut self) -> Result<([u8; 512], usize), Error>
Returns a previous value of the GATT descriptor. Check the individual implementors, for a more precise definition.
fn write(&mut self, val: &[u8]) -> Result<(), Error>
Writes a value to a GATT descriptors.
fn uuid(&mut self) -> UUID
Get the UUID of the descriptor.
fn flags(&mut self) -> DescFlags
Get the flags present on the descritptors