Searched refs:g_internal (Results 1 – 1 of 1) sorted by relevance
74 static bluetooth::gatt::ServerInternals *g_internal = nullptr; variable137 g_internal->server_if = server_if; in RegisterServerCallback()144 g_internal->gatt->server->add_service( in RegisterServerCallback()153 std::lock_guard<std::mutex> lock(g_internal->lock); in ServiceAddedCallback()154 g_internal->server_if = server_if; in ServiceAddedCallback()155 g_internal->service_handle = srvc_handle; in ServiceAddedCallback()156 g_internal->service_id = *srvc_id; in ServiceAddedCallback()158 g_internal->api_synchronize.notify_one(); in ServiceAddedCallback()164 std::lock_guard<std::mutex> lock(g_internal->lock); in RequestReadCallback()166 bluetooth::gatt::Characteristic &ch = g_internal->characteristics[attr_handle]; in RequestReadCallback()[all …]