@Override public void onMessageReceived(String message,String deviceAddress){
  boolean meantForMe=_deviceAddress.equals(deviceAddress);
  if (_debug)   Log.d(TAG,"onMessageReceived: message = " + message + ", meantForMe = "+ meantForMe+ ", messageHandler = "+ _messageHandler);
  if (meantForMe && (_messageHandler != null)) {
    _messageHandler.onMessageReceived(message);
  }
}

@ Override public void onMessageReceived ( String message , String deviceAddress ) { boolean meantForMe = _deviceAddress . equals ( deviceAddress ) ; if ( _debug ) Log . d ( TAG , "onMessageReceived: message = " + message + ", meantForMe = " + meantForMe + ", messageHandler = " + _messageHandler ) ; if ( meantForMe && ( _messageHandler != null ) ) { _messageHandler . onMessageReceived ( message ) ; } }
handle messages from bluetoothmessagehandler in bluetootservice
