ModbusPtl class

Constructors

ModbusPtl()

Properties

hashCode int
The hash code for this object.
no setterinherited
runtimeType Type
A representation of the runtime type of the object.
no setterinherited

Methods

noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
toString() String
A string representation of this object.
inherited

Operators

operator ==(Object other) bool
The equality operator.
inherited

Static Methods

byte2int(dynamic l, dynamic h) int
byte2register(Uint8List byte) Uint16List
callRegister(int slave, Uint16List data) Uint8List
callRegisterWithAddress(int slave, int address, Uint16List data) Uint8List
crc16(Uint8List data) int
crc8(Uint8List data) int
iap(int type, int subtype, int sn, Uint8List data) Uint8List
iap2modbus(int slave, int func, Uint8List data) Uint8List
modbus(int slave, int func, Uint8List data) Uint8List
modbusWriteMultiRegister(int slave, int start, Uint16List value) Uint8List
pdu0x10(int start, Uint16List value) Uint8List
r_modbus_backup(Uint8List msg) → Tuple3<int, int, Uint16List>?
r_modbus_read(Uint8List msg) → Tuple3<int, int, Uint16List>?
r_modbus_write(Uint8List msg) → Tuple4<int, int, int, int>?
readHoldingRegister(int slave, int addr, int size) Uint8List
readInputRegister(int slave, int addr, int size) Uint8List
readZeroRegister(int slave) Uint8List
register2byte(Uint16List reg) Uint8List
rtu0x10(int slave, int start, Uint16List value) Uint8List
saveRegister(int slave) Uint8List
upgradeStartByAddr(int slave, Uint8List addr) Uint8List
writeRegister(int slave, int addr, Uint16List data) Uint8List