function interpretDeviceIds(deviceIds, interpretedPacket) {
  if(Array.isArray(deviceIds)) {
    for(const deviceId of deviceIds) {
      let deviceIdElements = deviceId.split(SIGNATURE_SEPARATOR);

      switch(deviceIdElements[0]) {
        case UNICODE_CODE_POINT_UUID:
          interpretUnicodeCodePoint(deviceIdElements, interpretedPacket, false);
          break;
        case UNICODE_CODE_POINT_ELIDED_UUID:
          interpretUnicodeCodePoint(deviceIdElements, interpretedPacket, true);
          break;
        case BUTTON_UUID:
        case BUTTON_ELIDED_UUID:
          interpretButton(deviceIdElements, interpretedPacket);
          break;
        case FILE_MP3_UUID:
          interpretFile('.mp3', deviceIdElements, interpretedPacket, false);
          break;
        case FILE_MP3_ELIDED_UUID:
          interpretFile('.mp3', deviceIdElements, interpretedPacket, true);
          break;
        case BLUEUP_SAFETY_UUID:
          interpretBlueUpSafety(deviceIdElements, interpretedPacket);
          break;
      }
    }
  }
}
/**
 * Interpret the InteroperaBLE deviceIds in an advlib-standard packet,
 * appending properties to the given partially-interpreted packet.
 * @param {Array} deviceIds The deviceIds of the advlib-standard packet.
 * @param {Object} interpretedPacket The partially-interpreted packet.
 */
Interpret the InteroperaBLE deviceIds in an advlib-standard packet,
appending properties to the given partially-interpreted packet.
@param {Array} deviceIds The deviceIds of the advlib-standard packet.
@param {Object} interpretedPacket The partially-interpreted packet.
Interpret the InteroperaBLE deviceIds in an advlib - standard packet appending properties to the given partially - interpreted packet . @param { Array } deviceIds The deviceIds of the advlib - standard packet . @param { Object } interpretedPacket The partially - interpreted packet .
function interpretDeviceIds(deviceIds, interpretedPacket) {
  if(Array.isArray(deviceIds)) {
    for(const deviceId of deviceIds) {
      let deviceIdElements = deviceId.split(SIGNATURE_SEPARATOR);
      switch(deviceIdElements[0]) {
        case UNICODE_CODE_POINT_UUID:
          interpretUnicodeCodePoint(deviceIdElements, interpretedPacket, false);
          break;
        case UNICODE_CODE_POINT_ELIDED_UUID:
          interpretUnicodeCodePoint(deviceIdElements, interpretedPacket, true);
          break;
        case BUTTON_UUID:
        case BUTTON_ELIDED_UUID:
          interpretButton(deviceIdElements, interpretedPacket);
          break;
        case FILE_MP3_UUID:
          interpretFile('.mp3', deviceIdElements, interpretedPacket, false);
          break;
        case FILE_MP3_ELIDED_UUID:
          interpretFile('.mp3', deviceIdElements, interpretedPacket, true);
          break;
        case BLUEUP_SAFETY_UUID:
          interpretBlueUpSafety(deviceIdElements, interpretedPacket);
          break;
      }
    }
  }
}
function interpretDeviceIds ( deviceIds , interpretedPacket ) { if ( Array . isArray ( deviceIds ) ) { for ( const deviceId of deviceIds ) { let deviceIdElements = deviceId . split ( SIGNATURE_SEPARATOR ) ; switch ( deviceIdElements [ 0 ] ) { case UNICODE_CODE_POINT_UUID : interpretUnicodeCodePoint ( deviceIdElements , interpretedPacket , false ) ; break ; case UNICODE_CODE_POINT_ELIDED_UUID : interpretUnicodeCodePoint ( deviceIdElements , interpretedPacket , true ) ; break ; case BUTTON_UUID : case BUTTON_ELIDED_UUID : interpretButton ( deviceIdElements , interpretedPacket ) ; break ; case FILE_MP3_UUID : interpretFile ( '.mp3' , deviceIdElements , interpretedPacket , false ) ; break ; case FILE_MP3_ELIDED_UUID : interpretFile ( '.mp3' , deviceIdElements , interpretedPacket , true ) ; break ; case BLUEUP_SAFETY_UUID : interpretBlueUpSafety ( deviceIdElements , interpretedPacket ) ; break ; } } } }
Interpret the InteroperaBLE deviceIds in an advlib-standard packet,
 appending properties to the given partially-interpreted packet.
Interpret the InteroperaBLE deviceIds in an advlib - standard packet appending properties to the given partially - interpreted packet .