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
I'm trying to understand your example code to use it myself.
plug := p100.New("192.168.0.100", "[email protected]", "password")
if err := device.Handshake(); err != nil {
log.Panic(err)
}
Why do you use device.Handshake()? And not plug.Handshake() or p100.Handshake()?
Where is the word device come from?
Thanks in advance, best regards
Jan Willem
The text was updated successfully, but these errors were encountered:
I'm trying to understand your example code to use it myself.
plug := p100.New("192.168.0.100", "[email protected]", "password")
if err := device.Handshake(); err != nil {
log.Panic(err)
}
Why do you use device.Handshake()? And not plug.Handshake() or p100.Handshake()?
Where is the word device come from?
Thanks in advance, best regards
Jan Willem
The text was updated successfully, but these errors were encountered: