Back to project page BTSerialConsole.
The source code is released under:
MIT License
If you think the Android project BTSerialConsole listed in this page is inappropriate, such as containing malicious code/tools or violating the copyright, please email info at java2s dot com, thanks.
package com.neykov.bluetoothserialconsole.connection; //from www . ja va 2 s.c om public interface IDeviceDriverCallback { public abstract void onOpenConnectionAttempt(DeviceDriver device); public abstract void onOpenConnectionSuccess(DeviceDriver device); public abstract void onOpenConnectionFailed(DeviceDriver device); public abstract void onCloseConnection(DeviceDriver device); public abstract void onReadFailed(DeviceDriver device, String errorMessage); public abstract void onWriteFailed(DeviceDriver device, String errorMessage); }