examples/deprecated/easyble/tisensortag/easyble.dist.js
function arrayToUUID(array, offset)
			{
				var k=0;
				var string = '';
				var UUID_format = [4, 2, 2, 2, 6];
				for (var l=0; l<UUID_format.length; l++)
				{
					if (l != 0)
					{
						string += '-';
					}
					for (var j=0; j<UUID_format[l]; j++, k++)
					{
						string += evothings.util.toHexString(array[offset+k], 1);
					}
				}
				return string;
			}
function arrayToUUID(array, offset)
			{
				var k=0;
				var string = '';
				var UUID_format = [4, 2, 2, 2, 6];
				for (var l=0; l<UUID_format.length; l++)
				{
					if (l != 0)
					{
						string += '-';
					}
					for (var j=0; j<UUID_format[l]; j++, k++)
					{
						string += evothings.util.toHexString(array[offset+k], 1);
					}
				}
				return string;
			}
function arrayToUUID ( array , offset ) { var k = 0 ; var string = '' ; var UUID_format = [ 4 , 2 , 2 , 2 , 6 ] ; for ( var l = 0 ; l < UUID_format . length ; l ++ ) { if ( l != 0 ) { string += '-' ; } for ( var j = 0 ; j < UUID_format [ l ] ; j ++ , k ++ ) { string += evothings . util . toHexString ( array [ offset + k ] , 1 ) ; } } return string ; }
Convert 16-byte Uint8Array to RFC-4122-formatted UUID.
Convert 16 - byte Uint8Array to RFC - 4122 - formatted UUID .