Struct blurmac::BluetoothGATTCharacteristic
[−]
[src]
pub struct BluetoothGATTCharacteristic { /* fields omitted */ }
Methods
impl BluetoothGATTCharacteristic
[src]
pub fn new(
service: Arc<BluetoothGATTService>,
uuid: String
) -> BluetoothGATTCharacteristic
[src]
service: Arc<BluetoothGATTService>,
uuid: String
) -> BluetoothGATTCharacteristic
pub fn get_id(&self) -> String
[src]
pub fn get_uuid(&self) -> Result<String, Box<Error>>
[src]
pub fn get_value(&self) -> Result<Vec<u8>, Box<Error>>
[src]
pub fn read_value(&self) -> Result<Vec<u8>, Box<Error>>
[src]
pub fn write_value(&self, values: Vec<u8>) -> Result<(), Box<Error>>
[src]
pub fn is_notifying(&self) -> Result<bool, Box<Error>>
[src]
pub fn start_notify(&self) -> Result<(), Box<Error>>
[src]
pub fn stop_notify(&self) -> Result<(), Box<Error>>
[src]
pub fn get_gatt_descriptors(&self) -> Result<Vec<String>, Box<Error>>
[src]
pub fn get_flags(&self) -> Result<Vec<String>, 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