void init(IsoAcse.AcseAuthenticationParameter acseAuthPar) { // Defaults hostname = "localhost"; port = 102; IsoCotp.TSelector selector1 = new IsoCotp.TSelector(2, 0); IsoCotp.TSelector selector2 = new IsoCotp.TSelector(2, 1); setLocalAddresses(1, 1, selector1); setLocalApTitle("1.1.1.999", 12); setRemoteAddresses(1, 1, selector2); setRemoteApTitle("1.1.1.999.1", 12); acseAuthParameter = acseAuthPar; }
public void setRemoteAddresses(uint pSelector, ushort sSelector, IsoCotp.TSelector tSelector) { remotePSelector = pSelector; remoteSSelector = sSelector; remoteTSelector = tSelector; }
public void setLocalAddresses(uint pSelector, ushort sSelector, IsoCotp.TSelector tSelector) { localPSelector = pSelector; localSSelector = sSelector; localTSelector = tSelector; }