Exemplo n.º 1
0
        public static string GetTIPdInfo(SdkTbtBase controller)
        {
            string text  = BitConverter.ToInt32(controller.I2CRead(1u, 15u, 4u), 0).ToString("X");
            string text2 = text.Insert(text.Length - 2, ".");

            return(text2.Insert(text2.Length - 5, "."));
        }
Exemplo n.º 2
0
 protected ImageValidator(SdkTbtBase controller, byte[] image, Dictionary <Sections, FwInfo.SectionDetails> controllerSections, Dictionary <Sections, FwInfo.SectionDetails> fileSections, HwInfo hwInfo)
 {
     _controller         = controller;
     _image              = image;
     _controllerSections = controllerSections;
     _fileSections       = fileSections;
     HwInfo              = hwInfo;
 }
Exemplo n.º 3
0
 internal DeviceImageValidator(SdkTbtBase controller, byte[] image, Dictionary <Sections, FwInfo.SectionDetails> controllerSections, Dictionary <Sections, FwInfo.SectionDetails> fileSections, HwInfo hwInfo)
     : base(controller, image, controllerSections, fileSections, hwInfo)
 {
 }