class FakeGATTService

Defined at line 22 of file ../../src/connectivity/weave/adaptation/tests/fake_gatt_server.h

Fake implementation of the |fuchsia.bluetooth.gatt2.Server| capability.

Public Members

static const uint8_t[] kBtpConnectReqValue
static Handle kCharacteristicHandle
static PeerId kPeerId

Public Methods

void NotImplemented_ (const std::string & name)

Defined at line 28 of file ../../src/connectivity/weave/adaptation/tests/fake_gatt_server.h

void PublishService (fuchsia::bluetooth::gatt2::ServiceInfo info, fidl::InterfaceHandle<fuchsia::bluetooth::gatt2::LocalService> service, PublishServiceCallback callback)

Defined at line 30 of file ../../src/connectivity/weave/adaptation/tests/fake_gatt_server.h

fidl::InterfaceRequestHandler<fuchsia::bluetooth::gatt2::Server> GetHandler (async_dispatcher_t * dispatcher)

Defined at line 41 of file ../../src/connectivity/weave/adaptation/tests/fake_gatt_server.h

void WriteRequest (fuchsia::bluetooth::gatt2::testing::LocalService_TestBase::WriteValueCallback callback)

Defined at line 49 of file ../../src/connectivity/weave/adaptation/tests/fake_gatt_server.h

void OnCharacteristicConfiguration ()

Defined at line 61 of file ../../src/connectivity/weave/adaptation/tests/fake_gatt_server.h

void OnIndicateValue (fuchsia::bluetooth::gatt2::ValueChangedParameters update, zx::eventpair confirmation)

Defined at line 66 of file ../../src/connectivity/weave/adaptation/tests/fake_gatt_server.h

bool WeaveConnectionConfirmed ()

Defined at line 72 of file ../../src/connectivity/weave/adaptation/tests/fake_gatt_server.h