_sendDataPerInterval(socket, timeout) {
        this.dataSendTimeout = setTimeout(() => {
            const data = dataResponses[Math.floor(Math.random() * dataResponses.length)];
            debug(`Send out random new data: ${data.toString('hex')}`);
            socket.write(data);
            this._sendDataPerInterval(socket, 6000);
        }, timeout || 6000);
    }
/**
     * Send new data in regular intervals
     *
     * @param {Socket} socket Socket to send data to
     * @param {number} timeout Timeout in ms in which data are sent
     * @private
     */
Send new data in regular intervals
@param {Socket} socket Socket to send data to
@param {number} timeout Timeout in ms in which data are sent
@private
Send new data in regular intervals @param { Socket } socket Socket to send data to @param { number } timeout Timeout in ms in which data are sent @private
_sendDataPerInterval(socket, timeout) {
        this.dataSendTimeout = setTimeout(() => {
            const data = dataResponses[Math.floor(Math.random() * dataResponses.length)];
            debug(`Send out random new data: ${data.toString('hex')}`);
            socket.write(data);
            this._sendDataPerInterval(socket, 6000);
        }, timeout || 6000);
    }
_sendDataPerInterval ( socket , timeout ) { this . dataSendTimeout = setTimeout ( ( ) => { const data = dataResponses [ Math . floor ( Math . random ( ) * dataResponses . length ) ] ; debug ( ` ${ data . toString ( 'hex' ) } ` ) ; socket . write ( data ) ; this . _sendDataPerInterval ( socket , 6000 ) ; } , timeout || 6000 ) ; }
Send new data in regular intervals
 @param {Socket} socket Socket to send data to
 @param {number} timeout Timeout in ms in which data are sent
 @private
Send new data in regular intervals @param { Socket } socket Socket to send data to @param { number } timeout Timeout in ms in which data are sent @private