_receiveData(raw_data) {
		// log_debug('Radio._receiveData(raw_data):');
		this.streamBuffer += raw_data.toString('utf8');

		let idx;
		while ((idx = this.streamBuffer.indexOf('\n')) >= 0) {
			const response = this.streamBuffer.substring(0, idx);
			this.streamBuffer = this.streamBuffer.substring(idx + 1);

			this._receiveMessage(response);
		}
	}
// Accumulates it and passes off individual lines to be handled
Accumulates it and passes off individual lines to be handled
Accumulates it and passes off individual lines to be handled
_receiveData(raw_data) {
		this.streamBuffer += raw_data.toString('utf8');
		let idx;
		while ((idx = this.streamBuffer.indexOf('\n')) >= 0) {
			const response = this.streamBuffer.substring(0, idx);
			this.streamBuffer = this.streamBuffer.substring(idx + 1);
			this._receiveMessage(response);
		}
	}
_receiveData ( raw_data ) { this . streamBuffer += raw_data . toString ( 'utf8' ) ; let idx ; while ( ( idx = this . streamBuffer . indexOf ( '\n' ) ) >= 0 ) { const response = this . streamBuffer . substring ( 0 , idx ) ; this . streamBuffer = this . streamBuffer . substring ( idx + 1 ) ; this . _receiveMessage ( response ) ; } }
Accumulates it and passes off individual lines to be handled
Accumulates it and passes off individual lines to be handled
// log_debug('Radio._receiveData(raw_data):');