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

  var ra28 = new identifier(identifier.RA28, payload.substr(0, 7));
  var eui64 = ra28.toType(identifier.EUI64);
  eui64.flags = flags.process(payload.substr(7, 1));
  if (payload.length === 12) {
    eui64.data = data.process(payload.substr(8, 4));
  }
  return eui64;
}
function process(payload) {
  payload = payload.toLowerCase();

  var ra28 = new identifier(identifier.RA28, payload.substr(0, 7));
  var eui64 = ra28.toType(identifier.EUI64);
  eui64.flags = flags.process(payload.substr(7, 1));
  if (payload.length === 12) {
    eui64.data = data.process(payload.substr(8, 4));
  }
  return eui64;
}
function process ( payload ) { payload = payload . toLowerCase ( ) ; var ra28 = new identifier ( identifier . RA28 , payload . substr ( 0 , 7 ) ) ; var eui64 = ra28 . toType ( identifier . EUI64 ) ; eui64 . flags = flags . process ( payload . substr ( 7 , 1 ) ) ; if ( payload . length === 12 ) { eui64 . data = data . process ( payload . substr ( 8 , 4 ) ) ; } return eui64 ; }
Process a raw reelyActive radio payload into semantically meaningful
information.
@param {string} payload The raw payload as a hexadecimal-string.
@return {EUI64} EUI-64 identifier.
Process a raw reelyActive radio payload into semantically meaningful information .