protected String getPacketData(String pack) {
        String out="",ob="";
        for(int i=0;i<pack.length();i++) {
            if(i!=0) out += " ";
            ob = Integer.toString((int) pack.charAt(i), 16).toUpperCase();
            if(ob.length()<=1) out += "0";
            out += ob;
        }
        return out;
    }