@@ -152,7 +152,7 @@ async def run_async_server(args):
152152 allow_reuse_address = True , # allow the reuse of an address
153153 # ignore_missing_slaves=True, # ignore request to a missing slave
154154 # broadcast_enable=False, # treat unit_id 0 as broadcast address,
155- # TBD timeout=1, # waiting time for request to complete
155+ # timeout=1, # waiting time for request to complete
156156 # TBD strict=True, # use strict timing, t1.5 for Modbus RTU
157157 # defer_start=False, # Only define server do not activate
158158 )
@@ -168,7 +168,7 @@ async def run_async_server(args):
168168 # TBD allow_reuse_address=True, # allow the reuse of an address
169169 # ignore_missing_slaves=True, # ignore request to a missing slave
170170 # broadcast_enable=False, # treat unit_id 0 as broadcast address,
171- # TBD timeout=1, # waiting time for request to complete
171+ # timeout=1, # waiting time for request to complete
172172 # TBD strict=True, # use strict timing, t1.5 for Modbus RTU
173173 # defer_start=False, # Only define server do not activate
174174 )
@@ -178,7 +178,7 @@ async def run_async_server(args):
178178 server = await StartAsyncSerialServer (
179179 context = args .context , # Data storage
180180 identity = args .identity , # server identify
181- # timeout=0.005 , # waiting time for request to complete
181+ # timeout=1 , # waiting time for request to complete
182182 port = args .port , # serial port
183183 # custom_functions=[], # allow custom handling
184184 framer = args .framer , # The framer strategy to use
@@ -219,7 +219,7 @@ async def run_async_server(args):
219219 # reqclicert=False, # Force the sever request client"s certificate
220220 # ignore_missing_slaves=True, # ignore request to a missing slave
221221 # broadcast_enable=False, # treat unit_id 0 as broadcast address,
222- # TBD timeout=1, # waiting time for request to complete
222+ # timeout=1, # waiting time for request to complete
223223 # TBD strict=True, # use strict timing, t1.5 for Modbus RTU
224224 defer_start = False , # Only define server do not activate
225225 )
0 commit comments