export * from './encode-string-to-parameters' ; export * from './response-parser' ; export * from './usb' ; export * from './snooze' ; export const convertToHexString = ( arr ) : string => { let str = '' ; for ( const n of arr ) { let hex = n . toString ( 16 ) ; if ( hex . length < 2 ) { hex = '0' + hex ; } if ( str . length > 0 ) { str += ' ' ; } str += hex ; } return str ; } ;