diff --git a/examples/client_calls.py b/examples/client_calls.py index 23d253bfd..8e36c5faa 100755 --- a/examples/client_calls.py +++ b/examples/client_calls.py @@ -224,7 +224,7 @@ async def _execute_information_requests(client): async def _execute_diagnostic_requests(client): """Execute extended diagnostic requests.""" _logger.info("### Running diagnostic requests.") - message = b"long test" + message = b"OK" rr = _check_call( await client.execute( req_diag.ReturnQueryDataRequest(message=message, slave=SLAVE) diff --git a/examples/server_async.py b/examples/server_async.py index 0df9dadab..2b449c53c 100755 --- a/examples/server_async.py +++ b/examples/server_async.py @@ -221,5 +221,8 @@ async def run_async_server(args): if __name__ == "__main__": - run_args = setup_server(description="Run asynchronous server.") + run_args = setup_server( + description="Run asynchronous server.", + cmdline=["--log", "debug", "--framer", "rtu"], + ) asyncio.run(run_async_server(run_args), debug=True)