lib/ble/address/index.js
function process(payload) {
  var advAString = payload.substr(10,2);
  advAString += payload.substr(8,2);
  advAString += payload.substr(6,2);
  advAString += payload.substr(4,2);
  advAString += payload.substr(2,2);
  advAString += payload.substr(0,2);
  return new identifier(identifier.ADVA48, advAString);
}
function process(payload) {
  var advAString = payload.substr(10,2);
  advAString += payload.substr(8,2);
  advAString += payload.substr(6,2);
  advAString += payload.substr(4,2);
  advAString += payload.substr(2,2);
  advAString += payload.substr(0,2);
  return new identifier(identifier.ADVA48, advAString);
}
function process ( payload ) { var advAString = payload . substr ( 10 , 2 ) ; advAString += payload . substr ( 8 , 2 ) ; advAString += payload . substr ( 6 , 2 ) ; advAString += payload . substr ( 4 , 2 ) ; advAString += payload . substr ( 2 , 2 ) ; advAString += payload . substr ( 0 , 2 ) ; return new identifier ( identifier . ADVA48 , advAString ) ; }
Convert a raw Bluetooth Low Energy advertiser address.
@param {string} payload The raw payload as a hexadecimal-string.
@return {Object} 48-bit advertiser address.
Convert a raw Bluetooth Low Energy advertiser address .