Home
last modified time | relevance | path

Searched refs:gattService (Results 1 - 4 of 4) sorted by relevance

/foundation/communication/bluetooth/frameworks/js/napi/src/ble/
H A Dnapi_bluetooth_gatt_server.cpp171 std::unique_ptr<GattService> gattService {nullptr}; in AddService()
172 auto status = CheckGattsAddService(env, info, server, gattService); in AddService()
175 int ret = server->AddService(*gattService); in AddService()
/foundation/communication/bluetooth/frameworks/inner/c_adapter/
H A Dohos_bt_gatt_client.cpp581 std::optional<std::reference_wrapper<GattService>> gattService = client->GetService(uuid); in BleGattcGetService() local
582 if (gattService == std::nullopt) { in BleGattcGetService()
583 HILOGE("get service failed, gattService is null."); in BleGattcGetService()
586 GattService service = gattService->get(); in BleGattcGetService()
H A Dohos_bt_gatt_server.cpp109 GattService *gattService; member
133 #define GATTSERVICE(x, y) GATTSERVICES(x, y).gattService
/foundation/communication/bluetooth/frameworks/inner/src/
H A Dbluetooth_gatt_server.cpp410 GattService gattService(UUID::ConvertFrom128Bits(service.uuid_.ConvertTo128Bits()), in BuildService()
431 gattService.AddCharacteristic(std::move(gattcharacter)); in BuildService()
434 return gattService; in BuildService()

Completed in 7 milliseconds