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 has been 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")
})
The text was updated successfully, but these errors were encountered:
Sign up for freeto subscribe to this conversation on GitHub.
Already have an account?
Sign in.
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")
})
The text was updated successfully, but these errors were encountered: