Struct blurz::bluetooth_gatt_characteristic::BluetoothGATTCharacteristic
[−]
[src]
pub struct BluetoothGATTCharacteristic { /* fields omitted */ }
Methods
impl BluetoothGATTCharacteristic
[src]
fn new(object_path: String) -> BluetoothGATTCharacteristic
[src]
fn get_id(&self) -> String
[src]
fn get_uuid(&self) -> Result<String, Box<Error>>
[src]
fn get_service(&self) -> Result<String, Box<Error>>
[src]
fn get_value(&self) -> Result<Vec<u8>, Box<Error>>
[src]
fn is_notifying(&self) -> Result<bool, Box<Error>>
[src]
fn get_flags(&self) -> Result<Vec<String>, Box<Error>>
[src]
fn get_gatt_descriptors(&self) -> Result<Vec<String>, Box<Error>>
[src]
fn read_value(&self, offset: Option<u16>) -> Result<Vec<u8>, Box<Error>>
[src]
fn write_value(
&self,
values: Vec<u8>,
offset: Option<u16>
) -> Result<(), Box<Error>>
[src]
&self,
values: Vec<u8>,
offset: Option<u16>
) -> Result<(), Box<Error>>
fn start_notify(&self) -> Result<(), Box<Error>>
[src]
fn stop_notify(&self) -> Result<(), Box<Error>>
[src]
Trait Implementations
impl Clone for BluetoothGATTCharacteristic
[src]
fn clone(&self) -> BluetoothGATTCharacteristic
[src]
Returns a copy of the value. Read more
fn clone_from(&mut self, source: &Self)
1.0.0[src]
Performs copy-assignment from source
. Read more