示例#1
0
        public J2534Device(J2534.J2534Device jport, ILogger logger) : base(logger)
        {
            J2534Port              = new J2534_Struct();
            J2534Port.Functions    = new J2534Extended();
            J2534Port.LoadedDevice = jport;

            this.MaxSendSize    = 4096 + 10 + 2; // Driver or protocol limit?
            this.MaxReceiveSize = 4096 + 10 + 2; // Driver or protocol limit?
            this.Supports4X     = true;
        }
示例#2
0
        public J2534Device(J2534.J2534Device jport, ILogger logger) : base(logger)
        {
            J2534Port              = new J2534_Struct();
            J2534Port.Functions    = new J2534Extended();
            J2534Port.LoadedDevice = jport;

            this.MaxSendSize    = 12;    // Driver or protocol limit?
            this.MaxReceiveSize = 12;    // Driver or protocol limit?
            this.Supports4X     = false; // TODO: add code to support the switch to 4x and update this flag
        }