Struct esp32_nimble::BLEService
source · pub struct BLEService { /* private fields */ }
Implementations§
source§impl BLEService
impl BLEService
pub fn uuid(&self) -> BleUuid
pub fn create_characteristic( &mut self, uuid: BleUuid, properties: NimbleProperties, ) -> Arc<Mutex<BLECharacteristic>>
sourcepub async fn get_characteristic(
&self,
uuid: BleUuid,
) -> Option<&Arc<Mutex<BLECharacteristic>>>
pub async fn get_characteristic( &self, uuid: BleUuid, ) -> Option<&Arc<Mutex<BLECharacteristic>>>
Get the characteristic object for the UUID.