I am having trouble with the escrow functionality in MEI BNR in linux using the Java SDK for Paylink: the BNR turns down if the user doesn't grab a returned escrow note in less than a minute aprox. This doesn't happen in a PayOut() operation.
The steps to reproduce are as follows:
- Start the driver, run the application, open the interface.
- Enable only the BNR with Read/WriteAcceptorDetails setting status to ACCEPTOR_OK
- EscrowEnable
- Insert a note in the BNR
- Issue a EscrowReturn command
- Wait for about a minute
- The leds on the bnr turns off and any other command concerning the BNR (even after removing the returned note) doesn't have any effect.
The only way I found to fix it is to restart the paylink driver and issuing an OpenMHE/OpenInterface again; but this workaround is not acceptable for production use.
Tested in firmware 1.12.81 and 1.12.9 (flashing genoa firmware and rebuilding Paylink and PaylinkBNR with MEIBNR.odll.1.13.2).
Paylink log shows the following:
Code: Select all
14:12:46.210 171:15
14:12:58.856 DP Merge: Note Escrow now on
14:12:58.856 MeiBnr: Enable
14:12:58.856 DP Merge: MeiBnr Status to 0
14:12:58.936 DP: Note Escrow now on
14:12:59.072 MeiBnr: Enabling, 2000
14:12:59.267 MeiBnr: Cash In Start Operation Occurred - 0, -1, 2000
14:12:59.291 MeiBnr: Enabled
14:12:59.567 MeiBnr: Request Note, 4000
14:13:25.111 MeiBnr: Status 6153 Occurred - XFS_S_CDR_CASHUNIT_CHANGED, -1/-1
14:13:25.173 MeiBnr: Status 6155 Occurred - XFS_S_CDR_CASHUNIT_THRESHOLD, -1/-1
14:13:25.235 MeiBnr: Cash In With Cashorder Operation Occurred - 0, -1, 4000
14:13:25.269 MeiBnr: Note Read: EUR-500 ^-2 0 [1] 2 1
14:13:25.269 MeiBnr: Note 10 (EUR500AA) also matched
14:13:25.269 MeiBnr: Note 11 (EUR500AB) in Escrow for 2
14:13:25.488 DP Merge: Escrow value 500 returned
14:13:25.784 MeiBnr: Returning Escrow Note, 8000
14:13:27.765 MeiBnr: Status 6223 Occurred - XFS_S_CDR_CASH_AVAILABLE, -1/-1
14:13:45.910 171:16
14:14:17.376 MeiBnr: Re-opened to try to clear timeout / error
14:14:17.376 Exec: Bump Now up by 4021
14:14:22.380 MeiBnr: The re-open didn't clear it
14:14:26.685 MeiBnr: Reseting Unit, 1
14:14:26.706 Exec: Bump Now up by 3996
14:14:26.735 DP Merge: MeiBnr Status to 20
14:14:27.014 MeiBnr: Status 6153 Occurred - XFS_S_CDR_CASHUNIT_CHANGED, -1/-1
14:14:27.075 MeiBnr: Status 6155 Occurred - XFS_S_CDR_CASHUNIT_THRESHOLD, -1/-1
14:14:27.116 MeiBnr: Reset Operation Occurred - 2001, -1, 1
14:14:27.133 MeiBnr: BNR Device Opened
14:14:27.654 MeiBnr: Unit Now Ready
14:14:27.894 MeiBnr: Coin 0 - 10000 EUR10000AA
14:14:27.894 MeiBnr: Coin 1 - 1000 EUR1000AA
14:14:27.894 MeiBnr: Coin 2 - 1000 EUR1000AB
14:14:27.894 MeiBnr: Coin 3 - 20000 EUR20000AA
14:14:27.894 MeiBnr: Coin 4 - 2000 EUR2000AA
14:14:27.894 MeiBnr: Coin 5 - 2000 EUR2000AB
14:14:27.894 MeiBnr: Coin 6 - 50000 EUR50000AA
14:14:27.894 MeiBnr: Coin 7 - 5000 EUR5000AA
14:14:27.894 MeiBnr: Coin 8 - 5000 EUR5000AB
14:14:27.894 MeiBnr: Coin 9 - 500 EUR500AA
14:14:27.894 MeiBnr: Coin 10 - 500 EUR500AB
14:14:28.122 MeiBnr: Logical 0 (1) is 1 RE4,OK 6019 EUR 1000 AA [1] Ok, Normal
14:14:28.122 MeiBnr: and EUR 1000 AB
14:14:28.122 MeiBnr: Logical 1 (2) is 9 RE3,OK 6019 EUR 500 AA [1] Ok, Empty
14:14:28.123 MeiBnr: and EUR 500 AB
14:14:28.123 MeiBnr: Logical 2 (3) is -1 BU,OK 6019 0 [0] Ok, Empty
14:14:28.123 MeiBnr: Logical 3 (4) is 1 RE4,OK 6018 EUR 1000 AA [1] Ok, Normal
14:14:28.123 MeiBnr: and EUR 1000 AB
14:14:28.123 MeiBnr: Recycler 1 (4), Serial <48791100294>, Bill 1000, recycling EUR1000AA, and EUR1000AB
14:14:28.123 DP Merge: RE4 Hopper S/N 487919, Addr 3, Value 1000
14:14:28.123 MeiBnr: Logical 4 (5) is 9 RE3,OK 6018 EUR 500 AA [1] Ok, Empty
14:14:28.123 MeiBnr: and EUR 500 AB
14:14:28.123 MeiBnr: Recycler 2 (5), Serial <48791100294>, Bill 500, recycling EUR500AA, and EUR500AB
14:14:28.123 DP Merge: RE3 Hopper S/N 487919, Addr 2, Value 500
14:14:28.123 MeiBnr: Logical 5 (6) is -1 CB,OK 6017 0 [0] Ok, Normal
14:14:28.123 MeiBnr: Logical 6 (7) is 2 CB,OK 6017 EUR 1000 AB [0] Ok, Normal
14:14:28.123 MeiBnr: Accepting coin 2 to unit 6
14:14:28.123 MeiBnr: Logical 7 (8) is 3 CB,OK 6017 EUR 20000 AA [0] Ok, Normal
14:14:28.123 MeiBnr: Accepting coin 3 to unit 7
14:14:28.123 MeiBnr: Logical 8 (9) is 4 CB,OK 6017 EUR 2000 AA [0] Ok, Normal
14:14:28.123 MeiBnr: Accepting coin 4 to unit 8
14:14:28.123 MeiBnr: Logical 9 (10) is 5 CB,OK 6017 EUR 2000 AB [0] Ok, Normal
14:14:28.123 MeiBnr: Accepting coin 5 to unit 9
14:14:28.124 MeiBnr: Logical 10 (11) is 6 CB,OK 6017 EUR 50000 AA [0] Ok, Normal
14:14:28.124 MeiBnr: Accepting coin 6 to unit 10
14:14:28.124 MeiBnr: Logical 11 (12) is 7 CB,OK 6017 EUR 5000 AA [0] Ok, Normal
14:14:28.124 MeiBnr: Accepting coin 7 to unit 11
14:14:28.124 MeiBnr: Logical 12 (13) is 8 CB,OK 6017 EUR 5000 AB [0] Ok, Normal
14:14:28.124 MeiBnr: Accepting coin 8 to unit 12
14:14:28.124 MeiBnr: Logical 13 (14) is 9 CB,OK 6017 EUR 500 AA [0] Ok, Normal
14:14:28.124 MeiBnr: Accepting coin 9 to unit 13
14:14:28.124 MeiBnr: Logical 14 (15) is 10 CB,OK 6017 EUR 500 AB [0] Ok, Normal
14:14:28.124 MeiBnr: Accepting coin 10 to unit 14
14:14:28.124 MeiBnr: Logical 15 (16) is 0 CB,OK 6017 EUR 10000 AA [0] Ok, Normal
14:14:28.124 MeiBnr: Accepting coin 0 to unit 15
14:14:28.124 MeiBnr: Logical 16 (17) is 1 CB,OK 6017 EUR 1000 AA [0] Ok, Normal
14:14:28.124 MeiBnr: Accepting coin 1 to unit 16
14:14:28.124 MeiBnr: Logical 1 maps to Recycler 1
14:14:28.124 MeiBnr: Logical 2 maps to Recycler 2
14:14:28.124 MeiBnr: Successfully discovered MEI BNR Main Module V1.1 with 11 bills.
14:14:28.124 DLL version 4.1.12.9 at Aug 20 2018 on 16:56:15
14:14:28.124 MeiBnr: **** Recycler Command lost *****
14:14:28.124 DP Merge: Adding USB devices
14:14:28.124 DP Merge: MeiBnr acceptor 120e0301 at a084 and 11 coins merged
14:14:28.124 Remote: 1, Value 100 @ 0de0, S/N 13224963, Status 1
14:14:28.125 DP Merge: Remote Hopper Hopper S/N 0, Addr 0, Value 100
14:14:28.125 Remote: 2, Value 50 @ 0e28, S/N 13224995, Status 1
14:14:28.125 DP Merge: Remote Hopper Hopper S/N 0, Addr 0, Value 50
14:14:28.125 Remote: 3, Value 20 @ 0e70, S/N 13224980, Status 1
14:14:28.125 DP Merge: Remote Hopper Hopper S/N 0, Addr 0, Value 20
14:14:28.125 Remote: 4, Value 10 @ 0ec0, S/N 13224962, Status 1
14:14:28.125 DP Merge: Remote Hopper Hopper S/N 0, Addr 0, Value 10
14:14:28.125 Remote: 5, Value 5 @ 0f08, S/N 13224986, Status 1
14:14:28.125 DP Merge: Remote Hopper Hopper S/N 0, Addr 0, Value 5
14:14:28.125 DP Merge: RE4 Hopper S/N 487919, Address 3, Value 1000 at a3c0 merged
14:14:28.125 DP Merge: RE3 Hopper S/N 487919, Address 2, Value 500 at a400 merged
14:14:28.168 MeiBnr: Returning Escrow Note, 2
14:14:28.189 MeiBnr: ************ Operation ID sequence jump from 1 to 2
14:14:28.205 MeiBnr: Cash In Rollback With Cashorder Operation Occurred - 1010, -1, 2
14:14:28.452 MeiBnr: Returning Escrow Note, 4
14:14:28.488 MeiBnr: Cash In Rollback With Cashorder Operation Occurred - 1010, -1, 4
14:14:28.772 MeiBnr: Returning Escrow Note, 8
14:14:28.811 MeiBnr: Cash In Rollback With Cashorder Operation Occurred - 1010, -1, 8
14:14:29.107 MeiBnr: Returning Escrow Note, 10
14:14:29.146 MeiBnr: Cash In Rollback With Cashorder Operation Occurred - 1010, -1, 10
14:14:29.410 MeiBnr: Returning Escrow Note, 20
14:14:29.640 MeiBnr: Cash In Rollback With Cashorder Operation Occurred - 1010, -1, 20
14:14:29.938 MeiBnr: Returning Escrow Note, 40
14:14:29.974 MeiBnr: Cash In Rollback With Cashorder Operation Occurred - 1010, -1, 40
14:14:30.257 MeiBnr: Returning Escrow Note, 80
14:14:30.296 MeiBnr: Cash In Rollback With Cashorder Operation Occurred - 1010, -1, 80
14:14:30.576 MeiBnr: Returning Escrow Note, 100
14:14:30.619 MeiBnr: Cash In Rollback With Cashorder Operation Occurred - 1010, -1, 100
14:14:30.912 MeiBnr: Returning Escrow Note, 200
14:14:30.953 MeiBnr: Cash In Rollback With Cashorder Operation Occurred - 1010, -1, 200
14:14:31.183 MeiBnr: Returning Escrow Note, 400
14:14:31.225 MeiBnr: Cash In Rollback With Cashorder Operation Occurred - 1010, -1, 400
14:14:31.486 MeiBnr: Returning Escrow Note, 800
14:14:31.671 MeiBnr: Cash In Rollback With Cashorder Operation Occurred - 1010, -1, 800
14:14:31.981 MeiBnr: Returning Escrow Note, 1000
14:14:32.024 MeiBnr: Cash In Rollback With Cashorder Operation Occurred - 1010, -1, 1000
14:14:32.285 MeiBnr: Returning Escrow Note, 2000
14:14:32.326 MeiBnr: Cash In Rollback With Cashorder Operation Occurred - 1010, -1, 2000
14:14:32.556 MeiBnr: Returning Escrow Note, 4000
14:14:32.589 MeiBnr: Cash In Rollback With Cashorder Operation Occurred - 1010, -1, 4000
14:14:32.876 MeiBnr: Returning Escrow Note, 8000
14:14:32.912 MeiBnr: Cash In Rollback With Cashorder Operation Occurred - 1010, -1, 8000
14:14:33.211 MeiBnr: Returning Escrow Note, 1
14:14:33.245 MeiBnr: Cash In Rollback With Cashorder Operation Occurred - 1010, -1, 1
14:14:33.546 MeiBnr: Returning Escrow Note, 2
14:14:33.698 MeiBnr: Cash In Rollback With Cashorder Operation Occurred - 1010, -1, 2
14:14:33.993 MeiBnr: Returning Escrow Note, 4
14:14:34.032 MeiBnr: Cash In Rollback With Cashorder Operation Occurred - 1010, -1, 4
14:14:34.296 MeiBnr: Returning Escrow Note, 8
14:14:34.334 MeiBnr: Cash In Rollback With Cashorder Operation Occurred - 1010, -1, 8
14:14:34.600 MeiBnr: Returning Escrow Note, 10
14:14:34.637 MeiBnr: Cash In Rollback With Cashorder Operation Occurred - 1010, -1, 10
14:14:34.904 MeiBnr: Returning Escrow Note, 20
14:14:34.941 MeiBnr: Cash In Rollback With Cashorder Operation Occurred - 1010, -1, 20
14:14:35.159 MeiBnr: Returning Escrow Note, 40
14:14:35.193 MeiBnr: Cash In Rollback With Cashorder Operation Occurred - 1010, -1, 40
14:14:35.478 MeiBnr: Returning Escrow Note, 80
14:14:35.728 MeiBnr: Cash In Rollback With Cashorder Operation Occurred - 1010, -1, 80
14:14:35.781 MeiBnr: Returning Escrow Note, 100
14:14:35.940 MeiBnr: Cash In Rollback With Cashorder Operation Occurred - 1010, -1, 100
14:14:36.260 MeiBnr: Returning Escrow Note, 200
14:14:36.294 MeiBnr: Cash In Rollback With Cashorder Operation Occurred - 1010, -1, 200
14:14:36.606 MeiBnr: Returning Escrow Note, 400
14:14:36.747 MeiBnr: Cash In Rollback With Cashorder Operation Occurred - 1010, -1, 400
14:14:37.075 MeiBnr: Returning Escrow Note, 800
14:14:37.111 MeiBnr: Cash In Rollback With Cashorder Operation Occurred - 1010, -1, 800
14:14:37.426 MeiBnr: Returning Escrow Note, 1000
14:14:37.463 MeiBnr: Cash In Rollback With Cashorder Operation Occurred - 1010, -1, 1000
14:14:37.729 MeiBnr: Returning Escrow Note, 2000
14:14:37.766 MeiBnr: Cash In Rollback With Cashorder Operation Occurred - 1010, -1, 2000
14:14:38.033 MeiBnr: Returning Escrow Note, 4000
14:14:38.069 MeiBnr: Cash In Rollback With Cashorder Operation Occurred - 1010, -1, 4000
14:14:38.288 MeiBnr: Returning Escrow Note, 8000
14:14:38.322 MeiBnr: Cash In Rollback With Cashorder Operation Occurred - 1010, -1, 8000
... (it repeats the last 31 lines indefinitely)
The pc specs are the following
- Operating system: Linux Debian 9 "Stretch"
- JDK/JRE 1.8
- Web server: Wildfly 12.0.0-final
Do you have any hints regarding this issue?
Thank you very much.
Kind regards.