# Changelog
All notable changes to this project will be documented in this file.

The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.0.0/),
and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0.html).

## [Unreleased]
## [2.13.1] - 2025-03-12
### Changed
* Swap the 5G module slot index on V3400 series due to 2nd cut diagram changed

## [2.13.0] - 2025-02-26
### Added 
* Add mx-disk-hotswap-ctl for handling mount, umount and PLED behavior in udev rules

### Changed
* Move PLED control and scan disk behaviors to mx-disk-hotswap-ctl

## [2.12.3] - 2025-01-12
### Changed
* Change the mx-module-ctl slot index on v3400 series (slot 0 for 5G1, slot 1 for 5G2, slot 2 for LTE)

### Fixed
* Fix the typo on mx-module-ctl's disable option

## [2.12.2] - 2025-01-08
### Fixed
* Fix rtc-battery-detect the display message from V3400 SyRS
* Fix and align MCIM wrapper with current MCIM version 1.42.0
* Fix the wrapper test script as executable permissions

## [2.12.1] - 2024-12-30
### Fixed
* Fix up mx-module-ctl: 5G module SIM card select is controlled by AT command,
  instead of HW GPIO pin on V3400 series

## [2.12.0] - 2024-11-08
### Added
* Add support mx-uart-ctl for BXP-A101S series
* Add support mx-dio-ctl for BXP-A101S series
* Add support mx-module-ctl for BXP-A101S series

## [2.11.0] - 2024-11-06
### Added
* Add support mx-uart-ctl for RKP-C220 series
* Add support mx-dio-ctl for RKP-C220 series

### Fixed
* Set force access to the i2c device even if it is already busy in mx-common-lib

## [2.10.1] - 2024-10-24
### Fixed
* To replace awk in disk hot swap daemon time interval calculation
  by simple integer mathematical calculation

## [2.10.0] - 2024-10-16
### Added
* Add support disk hot swap daemon for V3400 series
* Add support ITxPT daemon for V3400 series
* Add support rtc battery detect for V3400 series
* Add support mPCIe LTE and m.2 5G module for V3400 series
* Add support LED control for V3400 series
* Add support DIO control for V3400 series
* Add module control test script
* Add rtc battery detect test script

### Changed
* Move mx-module-ctl and mx-m2b-module-ctl to legacy folder for reserved

### Fixed
* Fix up mx-uart-ctl return string when set as mode 3 on V3200 series

## [2.9.0] - 2024-08-22
### Added
* Add support mx-dio-ctl for DRP-A100/DRP-C100 full function board

## [2.8.0] - 2024-07-31
### Added
* Add support mx-dio-ctl for DA-681C

### Fixed
* Fix up mx-uart-ctl ft260_module_num_array index should use 0 for DA-681C

## [2.7.0] - 2024-07-11
### Added
* Support new daughter board (2 LAN 4 COM 1 mPCIe on UMC CV) on BXP-C100

## [2.6.0] - 2024-07-03
### Added
* Add MOXA Power Input State Tool for DA Series (mx-input-power-state)
* Add MOXA USB Power State Control Tool for DA Series (mx-usb-power-ctl)
* Add support mx-dio-ctl, mx-uart-ctl, mx-led-ctl and mx-relay-ctl for DA-820E model
* Add support mx-uart-ctl and mx-dio-ctl for DA-820C model
* Add support mx-uart-ctl and mx-dio-ctl for DA-682C model
* Add support mx-uart-ctl for DA-681C model

### Fixed
* support CentOS 7.9 for mx-relay-ctl and mx-led-ctl

## [2.5.0] - 2024-07-02
### Added
* Base on 1.x.x branch, refactor tool script for maintainability and readability: mx-relay-ctl, mx-led-ctl
* Add Moxa Computer Interface Manager (MCIM) wrapper in relay.
* Create test scripts for automation test: test_led, test_relay, test_wrapper (relay)
* Add support mx-dio-ctl and mx-uart-ctl for DA680

## [2.4.1] - 2024-06-12
### Changed
* mx-uart-ctl: Align the return string format with version 1.x.x for setserial method
* mx-uart-ctl: The RS-422/RS-485-4W mode should be shown correctly when set as mode 3

## [2.4.0] - 2024-05-31
### Added
* Add support libgpiod v1.x.x on get and set gpio value

### Fixed
* Fix wrong return string in set uart mode on it87 sysfs

## [2.3.0] - 2024-05-27
### Added
* Add support mx-dio-ctl and mx-uart-ctl for V3000

### Changed
* Update the the uart, dio and mcim wrapper test check return string format

## [2.2.1] - 2024-05-21
### Fixed
* Fix Quectel module power off sequence on mx-module-ctl for BXP-A101 (BYD) model

## [2.2.0] - 2024-05-17
### Added
* Add support mx-dio-ctl, mx-uart-ctl and mx-module-ctl for BXP-A101 (BYD) model

### Changed
* Align the return string format with version 1.x.x: mx-dio-ctl and mx-uart-ctl
* Update the the dio test check return string format

## [2.1.0] - 2024-05-13
### Added
* Add Moxa Computer Interface Manager (MCIM) wrapper in cellular, led, dio, serialport.
* Create test scripts for automation test: test_wrapper (cellular, led, dio, serialport)

### Fixed
* mx-led-ctl: check led index format
* mx-led-ctl: add error handling in setting state
* mx-module-ctl: V3000: remove bind 0x26 address due to unused on mPCIe form factor

## [2.0.0] - 2024-05-10
### Added
* Base on 1.x.x branch, refactor tool script for maintainability and readability: mx-uart-ctl, mx-dio-ctl
* Create test scripts for automation test: test_common_li, test_dio, test_uart

