All Downloads are FREE. Search and download functionalities are using the official Maven repository.

fr.inria.powerapi.sensor.powerspy.BluetoothDevice Maven / Gradle / Ivy

Go to download

PowerAPI sensor providing power metrics from a PowerSpy outlet under a Linux platform. See also http://www.alciom.com/fr/produits/powerspy2.html

The newest version!
/**
 * Copyright (C) 2012 Inria, University Lille 1.
 *
 * This file is part of PowerAPI.
 *
 * PowerAPI is free software: you can redistribute it and/or modify
 * it under the terms of the GNU Affero General Public License as
 * published by the Free Software Foundation, either version 3 of the
 * License, or (at your option) any later version.
 *
 * PowerAPI is distributed in the hope that it will be useful,
 * but WITHOUT ANY WARRANTY; without even the implied warranty of
 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
 * GNU Affero General Public License for more details.
 *
 * You should have received a copy of the GNU Affero General Public License
 * along with PowerAPI. If not, see .
 *
 * Contact: [email protected].
 */
package fr.inria.powerapi.sensor.powerspy;

import java.io.Closeable;

public interface BluetoothDevice extends Closeable {

	public void send(String message);

	public String recv(long timeout, boolean errorOnTimeout);
}




© 2015 - 2025 Weber Informatics LLC | Privacy Policy