lib/ble/common/manufacturers/radiusnetworks/altbeacon.js
function process(advertiserData) {
  var altBeacon = {};
  var data = advertiserData.manufacturerSpecificData.data;

  altBeacon.id = data.substr(4,40);
  altBeacon.refRSSI = pdu.convertTxPower(data.substr(44,2));
  altBeacon.mfgReserved = data.substr(46,2);

  advertiserData.manufacturerSpecificData.altBeacon = altBeacon;
}
function process(advertiserData) {
  var altBeacon = {};
  var data = advertiserData.manufacturerSpecificData.data;

  altBeacon.id = data.substr(4,40);
  altBeacon.refRSSI = pdu.convertTxPower(data.substr(44,2));
  altBeacon.mfgReserved = data.substr(46,2);

  advertiserData.manufacturerSpecificData.altBeacon = altBeacon;
}
function process ( advertiserData ) { var altBeacon = { } ; var data = advertiserData . manufacturerSpecificData . data ; altBeacon . id = data . substr ( 4 , 40 ) ; altBeacon . refRSSI = pdu . convertTxPower ( data . substr ( 44 , 2 ) ) ; altBeacon . mfgReserved = data . substr ( 46 , 2 ) ; advertiserData . manufacturerSpecificData . altBeacon = altBeacon ; }
Parse AltBeacon manufacturer specific data.
@param {Object} advertiserData The object containing all parsed data.
Parse AltBeacon manufacturer specific data .