You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository was archived by the owner on Nov 22, 2022. It is now read-only.
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")
})