diff --git a/main_gui.py b/main_gui.py index f11d6a6..024efa4 100644 --- a/main_gui.py +++ b/main_gui.py @@ -595,7 +595,7 @@ def object_config_for_device(self): # WIZ5XX v1.0.8 이상은 modbus 사용 가능 #36 else: self.modbus_protocol.setEnabled(True) - if "WIZ750" in self.curr_dev: + if "WIZ750" in self.curr_dev or "W232N" in self.curr_dev: if version_compare("1.2.0", self.curr_ver) <= 0: # setcmd['TR'] = self.tcp_timeout.text() self.tcp_timeout.setEnabled(True) @@ -609,9 +609,16 @@ def object_config_for_device(self): # 20221208 Modify baud rate temperarily self.ch1_baud.removeItem(14) + self.ch1_baud.removeItem(15) + elif "W55RP20-S2E" in self.curr_dev: + # W55RP20-S2E의 경우 921600 baud rate 옵션 추가 + if self.ch1_baud.count() == 15: + self.ch1_baud.insertItem(15, "921600") else: if self.ch1_baud.count() == 14: self.ch1_baud.insertItem(14, "460800") + self.ch1_baud.removeItem(15) + # SC: Status pin option if "WIZ107" in self.curr_dev or "WIZ108" in self.curr_dev: @@ -3082,3 +3089,4 @@ def __del__(self): wizwindow = WIZWindow() wizwindow.show() app.exec_() + diff --git a/version b/version index eac1e0a..b108c61 100644 --- a/version +++ b/version @@ -1 +1 @@ -1.5.6 +1.5.6.1 diff --git a/wizcmdset.py b/wizcmdset.py index ea7b26b..453a010 100644 --- a/wizcmdset.py +++ b/wizcmdset.py @@ -27,7 +27,7 @@ "LP": ["Local port number", port_pattern, {}, "RW"], "RH": ["Remote Host IP address", ip_pattern, {}, "RW"], "RP": ["Remote Host Port number", port_pattern, {}, "RW"], - "BR": ["UART Baud rate", "^([0-9]|1[0-4])$", baudrate_option, "RW"], + "BR": ["UART Baud rate", "^([0-9]|1[0-5])$", baudrate_option, "RW"], "DB": ["UART Data bit length", "^[0-1]$", {"0": "7-bit", "1": "8-bit"}, "RW"], "PR": ["UART Parity bit", "^[0-2]$", {"0": "NONE", "1": "ODD", "2": "EVEN"}, "RW"], "SB": ["UART Stop bit length", "^[0-1]$", {"0": "1-bit", "1": "2-bit"}, "RW"], @@ -312,3 +312,4 @@ def iswritable(self, cmdstr): print(wizcmdset.getparamdescription(cmd, "2B2C2D")) print(wizcmdset.isvalidparameter(cmd, "192.168.11.3")) +