****************************************************************************************
									2023-07-26	apk version: V
****************************************************************************************
2023-07-26 : Improvement[lihua.zhang]: add four firmwares.
			 Now, click "Update fw" button will turn the devide to slave. 
			 Then the user have to re-download the master firmware(WhiteDemon_Master.bin) if he wants to take the devide as master.
				1. app/src/main/java/com/wizarpos/mdbtest/MainActivity.java
				2. app/src/main/assets/WhiteDemonCpu24mSched2ms_0016.bin
				3. app/src/main/assets/WhiteDemonCpu24mSched5ms_0016.bin
				4. app/src/main/assets/WhiteDemonCpu72MSched5ms_0015.bin
				5. app/src/main/assets/WhiteDemonCpu72mSched2ms_0015.bin
				6. app/src/main/assets/mib-WhiteDemon-PCBA-0016-20230707-q3a7.bin
2023-10-09 : Improvement[lihua.zhang]: merge some latest versions of MDB firmware to this apk
				1. app/src/main/java/com/wizarpos/mdbtest/MainActivity.java
				2. app/src/main/assets/WhiteDemon_0014.bin
				3. app/src/main/assets/WhiteDemon_0015.bin
				4. app/src/main/assets/WhiteDemon_0017.bin
				5. app/src/main/assets/WhiteDemon_0018.bin
				6. app/src/main/assets/WhiteDemon_debug_0018.bin
				7. app/src/main/res/values/arrays.xml
****************************************************************************************
									2023-10-25	apk version: V
****************************************************************************************
2023-10-25 : Improvement[lihua.zhang]: remove master version, now the devices will be default slave
				1. app/src/main/java/com/wizarpos/mdbtest/MainActivity.java
2023-11-03 : Fix bug[lihua.zhang]: display price not correct. Add changelog.txt
				1. app/src/main/java/com/wizarpos/mdbtest/MainActivity.java
****************************************************************************************
									2023-12-22	apk version: V
****************************************************************************************

2023-12-22 : Improvement[lihua.zhang #28816]: add more mdb command(REVALUE LIMIT REQUEST)
                                              add log after write data success
                1. app/src/main/java/com/wizarpos/mdbtest/MainActivity.java
****************************************************************************************
									2024-09-02	apk version: V2.0.2
****************************************************************************************

2023-12-22 : Improvement[lihua.zhang]: update versionNo to 2, modify UI to navigation drawer
                1. app/build.gradle
                2. app/src/main/AndroidManifest.xml
                3. app/src/main/assets/WhiteDemon_0021.bin
                4. app/src/main/java/com/wizarpos/mdbtest/DataSendListener.java
                5. app/src/main/java/com/wizarpos/mdbtest/HomeFragment.java
                6. app/src/main/java/com/wizarpos/mdbtest/MainActivity.java
                7. app/src/main/java/com/wizarpos/mdbtest/PulseFragment.java
                8. app/src/main/java/com/wizarpos/mdbtest/SettingDialog.java
                9. app/src/main/java/com/wizarpos/mdbtest/TransactionFragment.java
                10. app/src/main/java/com/wizarpos/util/MDBUtils.java
                11. app/src/main/res/layout/activity_main.xml
                12. app/src/main/res/layout/fragment_home.xml
                13. app/src/main/res/layout/fragment_pulse.xml
                14. app/src/main/res/layout/fragment_transaction.xml
                15. app/src/main/res/layout/nav_header.xml
                16. app/src/main/res/menu/menu_nav.xml
                17. app/src/main/res/values/arrays.xml
                18. app/src/main/res/values/dimens.xml
                19. app/src/main/res/values/strings.xml
                20. app/src/main/res/values/themes.xml
                21. build.gradle
****************************************************************************************
									2024-12-26	apk version: V3.0.2
****************************************************************************************

2024-12-26 : New Feature[lihua.zhang]: add new interface trigger pulse one shot, no longer need to trigger one by one,
                                       disable UI when trigger pulse, implement diagnose_hardware button(but hidden by default)
                1. app/src/main/assets/WhiteDemon_0022.bin
                2. app/src/main/java/com/wizarpos/mdbtest/DataSendListener.java
                3. app/src/main/java/com/wizarpos/mdbtest/HomeFragment.java
                4. app/src/main/java/com/wizarpos/mdbtest/MainActivity.java
                5. app/src/main/java/com/wizarpos/mdbtest/PulseFragment.java
                6. app/src/main/java/com/wizarpos/util/MDBUtils.java
                7. app/src/main/res/layout/fragment_home.xml
                8. app/src/main/res/layout/fragment_pulse.xml
                9. app/src/main/res/values/arrays.xml
                10. changelog.txt
****************************************************************************************
                                    2025-01-14	apk version: V3.0.14
****************************************************************************************

2025-01-14 : New Feature[lihua.zhang#33602]: firmware >= 23 will be downloaded from ftp, fix some bugs

****************************************************************************************
                                    2025-02-11	apk version: V3.1.0
****************************************************************************************

2025-02-11 : New Feature[lihua.zhang#34058]: add adaption to Level3 and add negative vend command

****************************************************************************************
                                    2025-03-27	apk version: V3.1.10
****************************************************************************************

2025-03-27 : New Feature[lihua.zhang]: remove jni, will use MDBDownloadFw.apk to update firmware in the future

****************************************************************************************
                                    2025-04-21	apk version: V3.1.12
****************************************************************************************

2025-04-21 : New Feature[lihua.zhang]: atomize each action && adapt q3mu && add mdb start and mdb stop button to control start and stop of mdb transaction

****************************************************************************************
                                    2025-04-21	apk version: V3.1.13
****************************************************************************************
2025-04-21 : New Feature[lihua.zhang]: remove pulse duration limitation

****************************************************************************************
                                    2025-04-23	apk version: V3.1.16
****************************************************************************************
2025-04-23 : New Feature[lihua.zhang]: modify exception to avoid crash when find card failed

****************************************************************************************
                                    2025-07-09	apk version: V3.1.24
****************************************************************************************
2025-07-10 : New Feature[lihua.zhang]:
                    1. add stepper views to manually modify scale factor(x) and decimal places(y)
                    2. remove set balance button, instead, balance will be set automatically when switch to other fragment

****************************************************************************************
                                    2025-07-10	apk version: V3.1.25
****************************************************************************************
2025-07-10 : Improvement: add tips when balance out of range

****************************************************************************************
                                    2025-07-11	apk version: V3.1.26
****************************************************************************************
2025-07-11 : Improvement: add log of X and Y. Fix Bug: log do not show when calculate decimal P

****************************************************************************************
                                    2025-07-11	apk version: V3.1.27
****************************************************************************************
2025-07-11 : Fix Bug: init current value of svY is 1, which result in the first increase of Y jump to 2

****************************************************************************************
                                    2025-07-16	apk version: V3.1.28
****************************************************************************************
2025-07-16 : New Feature[redmine#37140] : add support to cashless device2(0x60)

****************************************************************************************
                                    2025-07-17	apk version: V3.1.29
****************************************************************************************
2025-07-17 : New Feature[redmine#37284] : try reset 3 times when get version failed

****************************************************************************************
                                    2025-07-30	apk version: V3.1.30
****************************************************************************************
2025-07-30 : Fix bug[redmine#37140] : device2 reset not response

****************************************************************************************
                                    2025-08-07	apk version: V3.1.31(not self-tested)
****************************************************************************************
2025-08-07 : New Feature[redmine#37645] : adapt set&get parameter interface,
                                        including cashless address, default active status, duration, voltage, factory mode,
                                      adapt active MDB interface

****************************************************************************************
                                    2025-08-08	apk version: V3.1.32
****************************************************************************************
2025-08-08 : Fix bug[redmine#37645] : remove close at the end of active mdb, so that message from vmc will not be lost

****************************************************************************************
                                    2025-08-08	apk version: V3.1.33
****************************************************************************************
2025-08-08 : Fix bug : mdb thread keeps running, which results in data mixed

****************************************************************************************
                                    2025-08-11	apk version: V3.1.34
****************************************************************************************
2025-08-11 : Fix bug : mdb thread keeps running, which results in data mixed

****************************************************************************************
                                    2025-08-18	apk version: V3.1.35
****************************************************************************************
2025-08-18 : New Feature: add ack to cash sale(0x13, 0x05) && read 0x0D to make log more readable

****************************************************************************************
                                    2025-08-21	apk version: V3.2.1
****************************************************************************************
2025-08-21 : Improvement: modify code to avoid creating too many threads, which may cause crash

****************************************************************************************
                                    2025-08-22	apk version: V3.2.2
****************************************************************************************
2025-08-22 : Improvement: readActiveCashlessResp will drop byte arrays which are not (0x01, 0x96)

****************************************************************************************
                                    2025-08-25	apk version: V3.2.3
****************************************************************************************
2025-08-25 : New Feature: add new checkBox default cashless enable to compatible with old firmwares, details:
            1. will get version while open transaction fragment
            2. if firmware version WhiteDemon >= 28 || Equinox >= 5, get default active status and set the checkbox,
            3. click the checkbox to change the default active status

****************************************************************************************
                                    2025-08-26	apk version: V3.2.4
****************************************************************************************
2025-08-26 : Fix Bug: When checkbox default cashless connected is checked, MDBStart will set default active status to 1, which is disable active function,
                    but the checkbox is still checked, it should be unchecked

****************************************************************************************
                                    2025-10-20	apk version: V3.2.5
****************************************************************************************
2025-10-20 : Fix bug: when receive disable reader cmd, will still enable reader. This version is just self-tested.

****************************************************************************************
                                    2025-10-21	apk version: V3.2.6
****************************************************************************************
2025-10-21 : 1. Fix bug: optional feature reset failed when receive reset cmd, which results in checked options not working.
             2. Improvement: auto-check always idle when choose level 3(just leave the other options alone)

****************************************************************************************
                                    2025-10-24(Programmer Day!)	apk version: V3.2.7
****************************************************************************************
2025-10-24 : [redmine#39209]Fix bug: Processing UI in sub thread results in block after receiving reader cancel or vend cancel command