function sendAndComplete(obj) {
    if (!this._paired || this._finished) {
      this._log.error("Can't send data, no active pairing!");
      throw "No active pairing!";
    }
    this._data = JSON.stringify(obj);
    this._chain(this._encryptData,
                this._putStep,
                this._complete)();
  }
/**
   * Send data after a successful pairing.
   * 
   * @param obj
   *        Object containing the data to send. It will be serialized as JSON.
   */
Send data after a successful pairing.

@param obj
Object containing the data to send. It will be serialized as JSON.
Send data after a successful pairing . @param obj Object containing the data to send . It will be serialized as JSON .
function sendAndComplete(obj) {
    if (!this._paired || this._finished) {
      this._log.error("Can't send data, no active pairing!");
      throw "No active pairing!";
    }
    this._data = JSON.stringify(obj);
    this._chain(this._encryptData,
                this._putStep,
                this._complete)();
  }
function sendAndComplete ( obj ) { if ( ! this . _paired || this . _finished ) { this . _log . error ( "Can't send data, no active pairing!" ) ; throw "No active pairing!" ; } this . _data = JSON . stringify ( obj ) ; this . _chain ( this . _encryptData , this . _putStep , this . _complete ) ( ) ; }
Send data after a successful pairing.
Send data after a successful pairing .