mirror of
https://github.com/3cky/mbusd.git
synced 2024-11-21 11:25:23 +01:00
pymodbus.server.async -> asynchronous
This commit is contained in:
parent
f8b6448b08
commit
e5a8dc9f0a
@ -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 $_
|
||||
|
@ -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
|
||||
|
Loading…
Reference in New Issue
Block a user