Example #1
0
        //-------------------------------------------------------------------------

        /**
         *  Retrieves ECU binary file header info string; call ::beginSession()
         *  first.
         *
         *  @param		header_id		info field ID
         *
         *  @return		                header string buffer (out)
         */
        public string getHeaderString(T7HeaderField field_id)
        {
            string info_str = "";

/*        if (!LPCCANAdapter_GetHeaderString(out info_str, field_id))
 *      {
 *          this.AddToCanTrace("Error reading header: " +
 *              LPCCANAdapter_GetLastErrorStr());
 *      }
 */
            return(info_str);
        }
Example #2
0
        //-------------------------------------------------------------------------
        /**
        Retrieves ECU binary file header info string; call ::beginSession()
        first.

        @param		header_id		info field ID

        @return		        		header string buffer (out)
         */
        public string getHeaderString(T7HeaderField field_id)
        {
            string info_str = "";
            /*        if (!LPCCANAdapter_GetHeaderString(out info_str, field_id))
            {
            this.AddToCanTrace("Error reading header: " +
                LPCCANAdapter_GetLastErrorStr());
            }
            */
            return info_str;
        }