function process(advertiserData, cursor) {
  var handoff = {};
  var data = advertiserData.manufacturerSpecificData.data;
  var length = parseInt(data.substr(cursor + 2, 2), 16);

  handoff.length = length;
  handoff.data = data.substr(cursor + 4, length * 2); // TODO: decipher

  advertiserData.manufacturerSpecificData.handoff = handoff;

  return cursor + 4 + (length * 2);
}
/**
 * Parse Apple handoff manufacturer specific data.
 * @param {Object} advertiserData The object containing all parsed data.
 * @param {Number} cursor The current index into the raw data.
 */
Parse Apple handoff manufacturer specific data.
@param {Object} advertiserData The object containing all parsed data.
@param {Number} cursor The current index into the raw data.
Parse Apple handoff manufacturer specific data . @param { Object } advertiserData The object containing all parsed data . @param { Number } cursor The current index into the raw data .
function process(advertiserData, cursor) {
  var handoff = {};
  var data = advertiserData.manufacturerSpecificData.data;
  var length = parseInt(data.substr(cursor + 2, 2), 16);
  handoff.length = length;
  handoff.data = data.substr(cursor + 4, length * 2); 
  advertiserData.manufacturerSpecificData.handoff = handoff;
  return cursor + 4 + (length * 2);
}
function process ( advertiserData , cursor ) { var handoff = { } ; var data = advertiserData . manufacturerSpecificData . data ; var length = parseInt ( data . substr ( cursor + 2 , 2 ) , 16 ) ; handoff . length = length ; handoff . data = data . substr ( cursor + 4 , length * 2 ) ; advertiserData . manufacturerSpecificData . handoff = handoff ; return cursor + 4 + ( length * 2 ) ; }
Parse Apple handoff manufacturer specific data.
Parse Apple handoff manufacturer specific data .
// TODO: decipher