lib/Advertiser.js
function Advertiser(accessoryInfo, mdnsConfig) {
  this.accessoryInfo = accessoryInfo;
  this._bonjourService = bonjour(mdnsConfig);
  this._advertisement = null;

  this._setupHash = this._computeSetupHash();
}
function Advertiser(accessoryInfo, mdnsConfig) {
  this.accessoryInfo = accessoryInfo;
  this._bonjourService = bonjour(mdnsConfig);
  this._advertisement = null;

  this._setupHash = this._computeSetupHash();
}
function Advertiser ( accessoryInfo , mdnsConfig ) { this . accessoryInfo = accessoryInfo ; this . _bonjourService = bonjour ( mdnsConfig ) ; this . _advertisement = null ; this . _setupHash = this . _computeSetupHash ( ) ; }
Advertiser uses mdns to broadcast the presence of an Accessory to the local network.

Note that as of iOS 9, an accessory can only pair with a single client. Instead of pairing your
accessories with multiple iOS devices in your home, Apple intends for you to use Home Sharing.
To support this requirement, we provide the ability to be "discoverable" or not (via a "service flag" on the
mdns payload).
Advertiser uses mdns to broadcast the presence of an Accessory to the local network .