Length = 021A
Byte length(b): 538 :: Incoming data HEX(d): 30323030F23E46D5A8E1930020000000000000203136353339393233323032313237323837343534313030303030303030303030303130303033303231313330303030303030373531313330303030333032313630323033303236303132393031303030303031324430303030303536364330303030303030303038363237373439373030363131313131313333353339393233323032313237323837343D313630323232313031363139373430313030303030303030303037353237303032333631323332393030303032342020202020504C4F5420313136312C4D656D2044726976652C4342444142554A41202020202020202041424E473030327E3035363633423036463534463733443446344130323334571002576F8C1A181B001FA6C423E30A68359FA710F29BD99B139ACEE28DC111CAF928F3009FAA0AFFFF9876543210E000F55A103531373733312A2A2A2A2A2A333037348407A00000000410109F3901055F3401009F2701809F02060000000001009F03060000000000009F34034203009F3501229F1E0831363030333838319F090200019F4104000001889F2608E3430A68B4B4BA6C9F10120110A00001220000000000000000000000FF820258009F36021A509F37040AAF8033950542800400009A031609149C01319F330360E8C89F150200009F0702FF005F25031509015F24031908319F1F00303034313531303033303135323131323031353133333434303032
<log realm="pos-server/192.168.3.205:40387" at="Wed Sep 14 16:45:42 WAT 2016.873" lifespan="13ms">
<receive>
<iso-exception>
org.jpos.iso.IFA_LLLBINARY: Problem unpacking field 55 (java.lang.ArrayIndexOutOfBoundsException) unpacking field=55, consumed=266
org.jpos.iso.ISOException: org.jpos.iso.IFA_LLLBINARY: Problem unpacking field 55 (java.lang.ArrayIndexOutOfBoundsException) unpacking field=55, consumed=266
at org.jpos.iso.ISOBasePackager.unpack(ISOBasePackager.java:273)
at org.jpos.iso.ISOMsg.unpack(ISOMsg.java:416)
at org.jpos.iso.BaseChannel.unpack(BaseChannel.java:903)
at org.jpos.iso.BaseChannel.receive(BaseChannel.java:671)
at org.jpos.iso.ISOServer$Session.run(ISOServer.java:130)
at org.jpos.util.ThreadPool$PooledThread.run(ThreadPool.java:71)
</iso-exception>
--- data ---
0000 30 32 30 30 F2 3E 46 D5 A8 E1 93 00 20 00 00 00 0200.>F..... ...
0010 00 00 00 20 31 36 35 33 39 39 32 33 32 30 32 31 ... 165399232021
0020 32 37 32 38 37 34 35 34 31 30 30 30 30 30 30 30 2728745410000000
0030 30 30 30 30 30 31 30 30 30 33 30 32 31 31 33 30 0000010003021130
0040 30 30 30 30 30 30 37 35 31 31 33 30 30 30 30 33 0000007511300003
0050 30 32 31 36 30 32 30 33 30 32 36 30 31 32 39 30 0216020302601290
0060 31 30 30 30 30 30 31 32 44 30 30 30 30 30 35 36 10000012D0000056
0070 36 43 30 30 30 30 30 30 30 30 30 38 36 32 37 37 6C00000000086277
0080 34 39 37 30 30 36 31 31 31 31 31 31 33 33 35 33 4970061111113353
0090 39 39 32 33 32 30 32 31 32 37 32 38 37 34 3D 31 99232021272874=1
00a0 36 30 32 32 32 31 30 31 36 31 39 37 34 30 31 30 6022210161974010
00b0 30 30 30 30 30 30 30 30 30 37 35 32 37 30 30 32 0000000007527002
00c0 33 36 31 32 33 32 39 30 30 30 30 32 34 20 20 20 3612329000024
00d0 20 20 50 4C 4F 54 20 31 31 36 31 2C 4D 65 6D 20 PLOT 1161,Mem
00e0 44 72 69 76 65 2C 43 42 44 41 42 55 4A 41 20 20 Drive,CBDABUJA
00f0 20 20 20 20 20 20 41 42 4E 47 30 30 32 7E 30 35 ABNG002~05
0100 36 36 33 42 30 36 46 35 34 46 37 33 44 34 46 34 663B06F54F73D4F4
0110 41 30 32 33 34 57 10 02 57 6F 8C 1A 18 1B 00 1F A0234W..Wo......
0120 A6 C4 23 E3 0A 68 35 9F A7 10 F2 9B D9 9B 13 9A ..#..h5.........
0130 CE E2 8D C1 11 CA F9 28 F3 00 9F AA 0A FF FF 98 .......(........
0140 76 54 32 10 E0 00 F5 5A 10 35 31 37 37 33 31 2A vT2....Z.517731*
0150 2A 2A 2A 2A 2A 33 30 37 34 84 07 A0 00 00 00 04 *****3074.......
0160 10 10 9F 39 01 05 5F 34 01 00 9F 27 01 80 9F 02 ...9.._4...'....
0170 06 00 00 00 00 01 00 9F 03 06 00 00 00 00 00 00 ................
0180 9F 34 03 42 03 00 9F 35 01 22 9F 1E 08 31 36 30 .4.B...5."...160
0190 30 33 38 38 31 9F 09 02 00 01 9F 41 04 00 00 01 03881......A....
01a0 88 9F 26 08 E3 43 0A 68 B4 B4 BA 6C 9F 10 12 01 ..&..C.h...l....
01b0 10 A0 00 01 22 00 00 00 00 00 00 00 00 00 00 00 ...."...........
01c0 FF 82 02 58 00 9F 36 02 1A 50 9F 37 04 0A AF 80 ...X..6..P.7....
01d0 33 95 05 42 80 04 00 00 9A 03 16 09 14 9C 01 31 3..B...........1
01e0 9F 33 03 60 E8 C8 9F 15 02 00 00 9F 07 02 FF 00 .3.`............
01f0 5F 25 03 15 09 01 5F 24 03 19 08 31 9F 1F 00 30 _%...._$...1...0
0200 30 34 31 35 31 30 30 33 30 31 35 32 31 31 32 30 0415100301521120
0210 31 35 31 33 33 34 34 30 30 32 1513344002
</receive>
</log>
<log realm="server.session/192.168.3.205" at="Wed Sep 14 16:45:42 WAT 2016.895">
<session-error>
<iso-exception>
org.jpos.iso.IFA_LLLBINARY: Problem unpacking field 55 (java.lang.ArrayIndexOutOfBoundsException) unpacking field=55, consumed=266
org.jpos.iso.ISOException: org.jpos.iso.IFA_LLLBINARY: Problem unpacking field 55 (java.lang.ArrayIndexOutOfBoundsException) unpacking field=55, consumed=266
at org.jpos.iso.ISOBasePackager.unpack(ISOBasePackager.java:273)
at org.jpos.iso.ISOMsg.unpack(ISOMsg.java:416)
at org.jpos.iso.BaseChannel.unpack(BaseChannel.java:903)
at org.jpos.iso.BaseChannel.receive(BaseChannel.java:671)
at org.jpos.iso.ISOServer$Session.run(ISOServer.java:130)
at org.jpos.util.ThreadPool$PooledThread.run(ThreadPool.java:71)
</iso-exception>
</session-error>
</log>
<log realm="server.session/192.168.3.205" at="Wed Sep 14 16:45:42 WAT 2016.913">
<session-end/>
</log>
09-14 18:19:33.062 9824-9824/com.os.sdk W/System.err: java.io.EOFException
09-14 18:19:33.062 9824-9824/com.os.sdk W/System.err: at libcore.io.Streams.readFully(Streams.java:83)
09-14 18:19:33.062 9824-9824/com.os.sdk W/System.err: at java.io.DataInputStream.readFully(DataInputStream.java:99)
09-14 18:19:33.062 9824-9824/com.os.sdk W/System.err: at com.os.sdk.iso.channel.PostChannel.getMessageLength(PostChannel.java:81)
09-14 18:19:33.062 9824-9824/com.os.sdk W/System.err: at com.os.sdk.iso.BaseChannel.receive(BaseChannel.java:548)
09-14 18:19:33.062 9824-9824/com.os.sdk W/System.err: at com.os.sdk.dao.ISOMessage.sendTransaction(ISOMessage.java:215)
09-14 18:19:33.062 9824-9824/com.os.sdk W/System.err: at com.os.sdk.dao.ISOBillPayment.doTransaction(ISOBillPayment.java:36)
09-14 18:19:33.062 9824-9824/com.os.sdk W/System.err: at com.os.sdk.fragment.Tab_Transaction.doBillPayment(Tab_Transaction.java:767)
09-14 18:19:33.072 9824-9824/com.os.sdk W/System.err: at com.os.sdk.fragment.Tab_Transaction.sendTransactionOnlineProcessResult(Tab_Transaction.java:453)
09-14 18:19:33.072 9824-9824/com.os.sdk W/System.err: at com.os.sdk.fragment.Tab_Transaction.onTransactionRequestOnlineProcess(Tab_Transaction.java:697)
09-14 18:19:33.072 9824-9824/com.os.sdk W/System.err: at os.sdk.lib.CommonLib.onDataReceived(Unknown Source)
09-14 18:19:33.072 9824-9824/com.os.sdk W/System.err: at os.sdk.lib.BTLib.onDataReceived(Unknown Source)
09-14 18:19:33.072 9824-9824/com.os.sdk W/System.err: at os.sdk.lib.bluetooth.k.handleMessage(Unknown Source)
09-14 18:19:33.072 9824-9824/com.os.sdk W/System.err: at android.os.Handler.dispatchMessage(Handler.java:102)
09-14 18:19:33.072 9824-9824/com.os.sdk W/System.err: at android.os.Looper.loop(Looper.java:136)
09-14 18:19:33.072 9824-9824/com.os.sdk W/System.err: at android.app.ActivityThread.main(ActivityThread.java:5111)
09-14 18:19:33.072 9824-9824/com.os.sdk W/System.err: at java.lang.reflect.Method.invokeNative(Native Method)
09-14 18:19:33.072 9824-9824/com.os.sdk W/System.err: at java.lang.reflect.Method.invoke(Method.java:515)
09-14 18:19:33.072 9824-9824/com.os.sdk W/System.err: at com.android.internal.os.ZygoteInit$MethodAndArgsCaller.run(ZygoteInit.java:780)
09-14 18:19:33.082 9824-9824/com.os.sdk W/System.err: at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:596)
09-14 18:19:33.082 9824-9824/com.os.sdk W/System.err: at dalvik.system.NativeStart.main(Native Method)
52 ==> IFA_BINARY
53==> IFA_NUMERIC
55 ==> IFA_LLLCHAR
52==> IFB_BINARY
53 ==> IFB_BINARY
55 ==> IFA_LLLBINARY
After testing for my Network Management, using JPOS, I tried out carrying out a financial transaction which gives the log below
52 ==> IFA_BINARY
53==> IFA_NUMERIC
55 ==> IFA_LLLCHAR
// The hex string taken from your --- data --- section and concatenated.
String hex = "30323030F23E46D5A8E1930020000000000000203136353339393233323032313237323837343534313030303030303030303030303130303033303231313330303030303030373531313330303030333032313630323033303236303132393031303030303031324430303030303536364330303030303030303038363237373439373030363131313131313333353339393233323032313237323837343D313630323232313031363139373430313030303030303030303037353237303032333631323332393030303032342020202020504C4F5420313136312C4D656D2044726976652C4342444142554A41202020202020202041424E473030327E3035363633423036463534463733443446344130323334571002576F8C1A181B001FA6C423E30A68359FA710F29BD99B139ACEE28DC111CAF928F3009FAA0AFFFF9876543210E000F55A103531373733312A2A2A2A2A2A333037348407A00000000410109F3901055F3401009F2701809F02060000000001009F03060000000000009F34034203009F3501229F1E0831363030333838319F090200019F4104000001889F2608E3430A68B4B4BA6C9F10120110A00001220000000000000000000000FF820258009F36021A509F37040AAF8033950542800400009A031609149C01319F330360E8C89F150200009F0702FF005F25031509015F24031908319F1F00303034313531303033303135323131323031353133333434303032";
GenericPackager pkg1 = new GenericPackager("postpack.xml");
msg.setPackager(pkg1);
try {
msg.unpack(ISOUtil.hex2byte(hex));//
msg.dump(System.out, "");
}
catch (ISOException ex) {
ex.printStackTrace();
msg.dump(System.out, "");
}
<isomsg direction="none">
<!-- org.jpos.iso.packager.GenericPackager[C:\Temp\jposmaster\jPOS-master\jpos\src\dist\cfg\packager\postpack.xml] -->
<field id="0" value="0200"/>
<field id="2" value="5399232021272874"/>
<field id="3" value="541000"/>
<field id="4" value="000000000100"/>
<field id="7" value="0302113000"/>
<field id="11" value="000075"/>
<field id="12" value="113000"/>
<field id="13" value="0302"/>
<field id="14" value="1602"/>
<field id="15" value="0302"/>
<field id="18" value="6012"/>
<field id="22" value="901"/>
<field id="23" value="000"/>
<field id="25" value="00"/>
<field id="26" value="12"/>
<field id="28" value="D00000566"/>
<field id="30" value="C00000000"/>
<field id="32" value="62774970"/>
<field id="33" value="111111"/>
<field id="35" value="5399232021272874=1602221016197401"/>
<field id="37" value="000000000075"/>
<field id="41" value="27002361"/>
<field id="42" value="2329000024 "/>
<field id="43" value="PLOT 1161,Mem Drive,CBDABUJA ABNG"/>
<field id="48" value="~0"/>
<field id="49" value="566"/>
<field id="52" value="3B06F54F73D4F4A0" type="binary"/>
<field id="55" value="WWo?�¦Ä#ã h5?§ò?Ù??Îâ?ÁÊù(ó�?ª ÿÿ?vT2à�õZ517731******3074? ���?9_4�?'??�����?������?4B�?5"?16003881?	�?A��??&ãC h´´ºl? �"�����������ÿ?X�?6P?7 ¯?3?B?��?	?1?3`èÈ?��?ÿ�_%	_$1?�"/>
<field id="56" value="1510"/>
<field id="67" value="03"/>
<field id="123" value="211201513344002"/>
</isomsg>
--
--
jPOS is licensed under AGPL - free for community usage for your open-source project. Licenses are also available for commercial usage. Please support jPOS, contact: sa...@jpos.org
Join us in IRC at http://webchat.freenode.net/?channels=jpos
You received this message because you are subscribed to the "jPOS Users" group.
Please see http://jpos.org/wiki/JPOS_Mailing_List_Readme_first
To post to this group, send email to jpos-...@googlegroups.com
To unsubscribe, send email to jpos-users+unsubscribe@googlegroups.com
For more options, visit this group at http://groups.google.com/group/jpos-users
---
You received this message because you are subscribed to the Google Groups "jPOS Users" group.
To unsubscribe from this group and stop receiving emails from it, send an email to jpos-users+unsubscribe@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/jpos-users/f81fec7f-f036-4984-9fdf-8e9535c76840%40googlegroups.com.