pymodbus.server.async -> asynchronous

This commit is contained in:
nickma 2019-04-21 22:36:49 +02:00
parent f8b6448b08
commit e5a8dc9f0a
2 changed files with 2 additions and 2 deletions

View File

@ -62,7 +62,7 @@ test_x86:
- apt update -qq
- apt install -y -qq --no-install-recommends build-essential pkg-config cmake
- apt install -y -qq --no-install-recommends python-dev python-pip python-setuptools socat
- python -m pip install pymodbus service_identity twisted
- python -m pip install pymodbus==2.2.0 service_identity==18.1.0 twisted==18.9.0
script:
- mkdir -p output.dir/ && cd $_

View File

@ -14,7 +14,7 @@ import logging
#---------------------------------------------------------------------------#
#from pymodbus.server.async import StartTcpServer
#from pymodbus.server.async import StartUdpServer
from pymodbus.server.async import StartSerialServer
from pymodbus.server.asynchronous import StartSerialServer
from pymodbus.device import ModbusDeviceIdentification
from pymodbus.datastore import ModbusSequentialDataBlock