ewhitebloom / iso8583py

Automatically exported from code.google.com/p/iso8583py
GNU General Public License v3.0
0 stars 0 forks source link

Field 18 worngly mapped to LL instead of N #1

Closed GoogleCodeExporter closed 8 years ago

GoogleCodeExporter commented 8 years ago
What steps will reproduce the problem?
1. p = ISO8583()
2. p.setBit(18, 6011)
3. v1 = p.getBitsAndValues()

What is the expected output? What do you see instead?
6011 , 0046011

What version of the product are you using? On what operating system?
Module1.0

Please provide any additional information below.

Original issue reported on code.google.com by Sunday.A...@gmail.com on 5 Jun 2009 at 2:10

GoogleCodeExporter commented 8 years ago
[deleted comment]
GoogleCodeExporter commented 8 years ago
Hi,

This error do not proceed.

This expected output depends the ISO8583 version that the user choose.

In the ISO8583py we use a version that in ISO8583 this bit is LLLVAR.

For example, in the ISO8583 specification (2003) we can see: 

 Bit: 18 
 Name: Message Error Indicator
 Format: LLLVAR

If the user need to change the behavior, it can use the method "redefineBit" 
(See
PydocPage usage example).

Original comment by igo...@gmail.com on 6 Jul 2009 at 2:19