lib/ble/index.js
function process(payload) {
  payload = payload.toLowerCase();

  var advA48 = address.process(payload.substr(4,12));
  advA48.advHeader = header.process(payload.substr(0,4));
  advA48.advData = data.process(payload.substr(16));
  return advA48;
}
function process(payload) {
  payload = payload.toLowerCase();

  var advA48 = address.process(payload.substr(4,12));
  advA48.advHeader = header.process(payload.substr(0,4));
  advA48.advData = data.process(payload.substr(16));
  return advA48;
}
function process ( payload ) { payload = payload . toLowerCase ( ) ; var advA48 = address . process ( payload . substr ( 4 , 12 ) ) ; advA48 . advHeader = header . process ( payload . substr ( 0 , 4 ) ) ; advA48 . advData = data . process ( payload . substr ( 16 ) ) ; return advA48 ; }
Process a raw Bluetooth Low Energy radio payload into semantically
meaningful information.
address.  Note that the payload is LSB first.
@param {string} payload The raw payload as a hexadecimal-string.
@return {AdvA48} Advertiser address identifier.
Process a raw Bluetooth Low Energy radio payload into semantically meaningful information . address . Note that the payload is LSB first .