Closed GoogleCodeExporter closed 9 years ago
This is a generic ISO8583 library.
So we cannot adapt to each vendor that "change" the spec.
To help users that have problems like that, we can generate the ISO8583 easy,
and before send throw the socket the "official ISO8583" we get the ASCII
package, add the header and the size, example:
HEADER = 'WHIT'
iso = ISO8583()
iso.setMTI('0800')
(...)
isoASCII = iso.getRawIso()
vendorIso = HEADER + isoASCII
# Example: big-endian
netIso = struct.pack('!h',len(vendorIso))
netIso += vendorIso
# Now can send netIso to the vendor ...
Please refer PyDocPage's manual to understand getNetworkISO.
Original comment by igo...@gmail.com
on 9 Aug 2011 at 5:17
Original issue reported on code.google.com by
rich...@flafreeit.com
on 9 Aug 2011 at 2:16