Exemplo n.º 1
0
        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;
        }
Exemplo n.º 2
0
 public void setRemoteAddresses(uint pSelector, ushort sSelector, IsoCotp.TSelector tSelector)
 {
     remotePSelector = pSelector;
     remoteSSelector = sSelector;
     remoteTSelector = tSelector;
 }
Exemplo n.º 3
0
 public void setLocalAddresses(uint pSelector, ushort sSelector, IsoCotp.TSelector tSelector)
 {
     localPSelector = pSelector;
     localSSelector = sSelector;
     localTSelector = tSelector;
 }