@Override
 public void onDataReceived(byte[] data, String message) {
   //            Toast.makeText(mContext, message, Toast.LENGTH_SHORT).show();
   if (mBlueConnectListener != null) {
     mBlueConnectListener.onRecvMsg(message);
   }
 }
 @Override
 public void onDeviceDisconnected() {
   //            Toast.makeText(mContext
   //                    , "Connection lost", Toast.LENGTH_SHORT).show();
   if (mBlueConnectListener != null) {
     mBlueConnectListener.onDisconnected();
   }
 }
 @Override
 public void onDeviceConnectionFailed() {
   //            Toast.makeText(mContext
   //                    , "Unable to connect", Toast.LENGTH_SHORT).show();
   if (mBlueConnectListener != null) {
     mBlueConnectListener.onConnectFailed();
   }
 }
 @Override
 public void onDeviceConnected(String name, String address) {
   //            Toast.makeText(mContext
   //                    , "Connected to " + name + "\n" + address
   //                    , Toast.LENGTH_SHORT).show();
   if (mBlueConnectListener != null) {
     mBlueConnectListener.onConnected(name, address);
   }
 }