title: Jpos Bitmap field types - Set as hex
body: <p>I have a requirement for fields <code>127.25.1 &gt;&gt; 127.25.30</code>. They contain tlv data.
  Field <code>127.25.1</code> is a Bitmap, and they require the following format:
  b8 (Hex16) meaning the binary must be converted to hex. This field signifies the presence/absence of <code>127.25.2 &gt;&gt; 127.25.30</code>.
  The IsoFieldPackager for <code>127.25.1</code> is <code>IFA_BITMAP</code> len 16.
  I can set all the other fields with no issue.</p>
  
  <p>To view the out message and its data I used this to print:</p>
  
  <pre><code>ISOComponent c = isoMessage.getComponent("127.25");    
  Map m = c.getChildren();
  Iterator it = m.entrySet().iterator();
  while (it.hasNext()) {
     if(pair.getValue() instanceof ISOBitMap){
        ISOBitMap b = (ISOBitMap)pair.getValue();
        System.out.println(b.getFieldNumber() + "=" + b.getValue() );
     }
     if(pair.getValue() instanceof ISOField){
        ISOField b = (ISOField)pair.getValue();
        System.out.println(b.getFieldNumber() + "=" + b.getValue());
     }
  </code></pre>
  
  <p>From this, I can see bitmap in 127.25.1 printed as: </p>
  
  <pre><code>-1={2, 5, 6, 7, 12, 13, 18, 22, 24, 26, 27, 28, 30}
  </code></pre>
  
  <p>and all these fields have the correct values and are the fields I set. </p>
  
  <p>My issue is it fails when parsing on the remote system. Given the required format for <code>127.25.1 "b8 (Hex16)"</code>, am I using the correct data type of <code>IFA_BITMAP</code> with length 16?</p>