• 大小: 37KB
    文件类型: .rar
    金币: 1
    下载: 0 次
    发布日期: 2021-05-17
  • 语言: 其他
  • 标签: OSHDLC  HDLC  开源  C  

资源简介

很好的HDLC解析应用程序,高效快捷,就是程序复杂度较高,需要耐心的看

资源截图

代码片段和文件信息

/***************************************************************************
 *   OSHDLC - Open Source HDLC Transceiver                                 *
 *                                                                         *
 *   hdlcrmaker.c - HDLC Receiver Table Maker creates the receiver table   *
 *                  and writes it down to a text file.                     *
 *                                                                         *
 *   Copyright (C) 2008 DIPCENTER DIPMAN                                  *
 *   dipcenter@gmail.com                                                   *
 *                                                                         *
 *   This program is free software; you can redistribute it and/or modify  *
 *   it under the terms of the GNU General Public License as published by  *
 *   the Free Software Foundation; either version 2 of the License or     *
 *   (at your option) any later version.                                   *
 *                                                                         *
 *   This program is distributed in the hope that it will be useful       *
 *   but WITHOUT ANY WARRANTY; without even the implied warranty of        *
 *   MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the         *
 *   GNU General Public License for more details.                          *
 *                                                                         *
 *   You should have received a copy of the GNU General Public License     *
 *   along with this program; if not write to the                         *
 *   Free Software Foundation Inc.                                       *
 *   59 Temple Place - Suite 330 Boston MA  02111-1307 USA.             *
 ***************************************************************************/

#include 
#include 
#include 
//#include 

#include “hdlcrmaker.h“
#include “version.h“

static const char hdlc_cmd_name [ ][ 5 ] = {
                                             “IDLE“
                                             “ABRT“
                                             “BERR“
                                             “INS3“
                                             “INS4“
                                             “BOP0“
                                             “BOP1“
                                             “BOP2“
                                             “BOP3“
                                             “????“  //unknown command
                                             };

static const char hdlc_cmd_help [ ][ 50 ] = {
                                             “Idle“
                                             “Abort“
                                             “Bit Error“
                                             “Insert 3 bits“
                                             “Insert 4 bit

 属性            大小     日期    时间   名称
----------- ---------  ---------- -----  ----

     文件        439  2008-08-08 16:13  OSHDLC\include\dque.h

     文件       1432  2008-07-31 14:25  OSHDLC\include\hdlcbuf.h

     文件       1769  2008-08-14 08:59  OSHDLC\include\hdlclib.h

     文件       3923  2008-12-03 11:00  OSHDLC\include\hdlcrec.h

     文件      38575  2007-01-05 15:31  OSHDLC\include\hdlcr_table.h

     文件       4791  2008-12-03 11:00  OSHDLC\include\hdlctrans.h

     文件      16501  2007-01-05 15:31  OSHDLC\include\hdlct_table.h

     文件        820  2006-06-13 07:36  OSHDLC\include\lib_crc.h

     文件       3018  2008-12-03 11:00  OSHDLC\include\types.h

     文件       1949  2008-12-03 11:00  OSHDLC\include\version.h

     文件      12188  2008-08-14 09:25  OSHDLC\maker\hdlcrmaker.c

     文件       4359  2008-08-14 09:30  OSHDLC\maker\hdlcrmaker.h

     文件      38575  2008-08-14 09:28  OSHDLC\maker\hdlcr_table.h

     文件       7919  2008-08-14 09:25  OSHDLC\maker\hdlctmaker.c

     文件       3602  2008-08-14 09:31  OSHDLC\maker\hdlctmaker.h

     文件      16501  2008-08-14 09:28  OSHDLC\maker\hdlct_table.h

     文件       2108  2008-08-14 09:34  OSHDLC\maker\main.c

     文件       1315  2008-08-14 09:33  OSHDLC\maker\maker.cbp

     文件        661  2008-08-14 09:28  OSHDLC\maker\maker.depend

     文件        664  2008-08-14 09:35  OSHDLC\maker\maker.layout

     文件       3514  2008-08-14 08:48  OSHDLC\source\dque.c

     文件       2783  2008-08-14 08:48  OSHDLC\source\hdlcbuf.c

     文件       7957  2008-08-14 08:42  OSHDLC\source\hdlclib.c

     文件       8854  2008-08-14 08:23  OSHDLC\source\hdlcrec.c

     文件       3481  2008-08-14 07:59  OSHDLC\source\hdlctrans.c

     文件       7060  2006-09-25 12:10  OSHDLC\source\lib_crc.c

     文件       4559  2008-08-14 08:58  OSHDLC\tester\main.c

     文件       1676  2008-08-14 08:21  OSHDLC\tester\oshdlc-tester.cbp

     文件       2400  2008-08-14 08:59  OSHDLC\tester\oshdlc-tester.depend

     文件        918  2008-08-18 15:06  OSHDLC\tester\oshdlc-tester.layout

............此处省略17个文件信息

评论

共有 条评论