lib/barnowlhuawei.js
/**
   * Add a listener to the given hardware interface.
   * @param {Class} ListenerClass The (uninstantiated) listener class.
   * @param {Object} options The options as a JSON object.
   */
Add a listener to the given hardware interface.
@param {Class} ListenerClass The (uninstantiated) listener class.
@param {Object} options The options as a JSON object.
Add a listener to the given hardware interface . @param { Class } ListenerClass The ( uninstantiated ) listener class . @param { Object } options The options as a JSON object .
addListener(ListenerClass, options) {
    options = options || {};
    options.decoder = this.huaweiDecoder;
    let listener = new ListenerClass(options);
    this.listeners.push(listener);
  }
addListener ( ListenerClass , options ) { options = options || { } ; options . decoder = this . huaweiDecoder ; let listener = new ListenerClass ( options ) ; this . listeners . push ( listener ) ; }
Add a listener to the given hardware interface.
Add a listener to the given hardware interface .