This repository was archived by the owner on Nov 22, 2022. It is now read-only.

Description
I call swiftLibModbus.connect(), and connect successful( print connected message ).
but I call swiftLibModbus.readBitsFrom(), return value is wrong
//--------------------------------------------------------------------------------------
let swiftLibModbus = SwiftLibModbus(ipAddress: "192.168.2.10", port: 502, device: 1)
swiftLibModbus.connect(
{ () -> Void in
//connected and ready to do modbus calls
print("connected")
},
failure: { (error: NSError) -> Void in
//Handle error
print("error")
})