Skip to content

Commit

Permalink
Adjust the directory structure
Browse files Browse the repository at this point in the history
Signed-off-by: 宁 刘 <[email protected]>
  • Loading branch information
liuning587 committed Dec 2, 2019
1 parent c21be7d commit 8d57e03
Show file tree
Hide file tree
Showing 33 changed files with 6,438 additions and 6,347 deletions.
380 changes: 190 additions & 190 deletions .cproject → GDW1376_2/.cproject

Large diffs are not rendered by default.

140 changes: 70 additions & 70 deletions .project → GDW1376_2/.project
Original file line number Diff line number Diff line change
@@ -1,70 +1,70 @@
<?xml version="1.0" encoding="UTF-8"?>
<projectDescription>
<name>GDW1376_2</name>
<comment></comment>
<projects>
</projects>
<buildSpec>
<buildCommand>
<name>org.eclipse.cdt.managedbuilder.core.genmakebuilder</name>
<triggers>clean,full,incremental,</triggers>
<arguments>
<dictionary>
<key>?name?</key>
<value></value>
</dictionary>
<dictionary>
<key>org.eclipse.cdt.make.core.append_environment</key>
<value>true</value>
</dictionary>
<dictionary>
<key>org.eclipse.cdt.make.core.buildArguments</key>
<value></value>
</dictionary>
<dictionary>
<key>org.eclipse.cdt.make.core.buildCommand</key>
<value>make</value>
</dictionary>
<dictionary>
<key>org.eclipse.cdt.make.core.buildLocation</key>
<value>${workspace_loc:/GDW1376_2/Debug}</value>
</dictionary>
<dictionary>
<key>org.eclipse.cdt.make.core.contents</key>
<value>org.eclipse.cdt.make.core.activeConfigSettings</value>
</dictionary>
<dictionary>
<key>org.eclipse.cdt.make.core.enableAutoBuild</key>
<value>false</value>
</dictionary>
<dictionary>
<key>org.eclipse.cdt.make.core.enableCleanBuild</key>
<value>true</value>
</dictionary>
<dictionary>
<key>org.eclipse.cdt.make.core.enableFullBuild</key>
<value>true</value>
</dictionary>
<dictionary>
<key>org.eclipse.cdt.make.core.stopOnError</key>
<value>true</value>
</dictionary>
<dictionary>
<key>org.eclipse.cdt.make.core.useDefaultBuildCmd</key>
<value>true</value>
</dictionary>
</arguments>
</buildCommand>
<buildCommand>
<name>org.eclipse.cdt.managedbuilder.core.ScannerConfigBuilder</name>
<triggers>full,incremental,</triggers>
<arguments>
</arguments>
</buildCommand>
</buildSpec>
<natures>
<nature>org.eclipse.cdt.core.cnature</nature>
<nature>org.eclipse.cdt.managedbuilder.core.managedBuildNature</nature>
<nature>org.eclipse.cdt.managedbuilder.core.ScannerConfigNature</nature>
</natures>
</projectDescription>
<?xml version="1.0" encoding="UTF-8"?>
<projectDescription>
<name>GDW1376_2</name>
<comment></comment>
<projects>
</projects>
<buildSpec>
<buildCommand>
<name>org.eclipse.cdt.managedbuilder.core.genmakebuilder</name>
<triggers>clean,full,incremental,</triggers>
<arguments>
<dictionary>
<key>?name?</key>
<value></value>
</dictionary>
<dictionary>
<key>org.eclipse.cdt.make.core.append_environment</key>
<value>true</value>
</dictionary>
<dictionary>
<key>org.eclipse.cdt.make.core.buildArguments</key>
<value></value>
</dictionary>
<dictionary>
<key>org.eclipse.cdt.make.core.buildCommand</key>
<value>make</value>
</dictionary>
<dictionary>
<key>org.eclipse.cdt.make.core.buildLocation</key>
<value>${workspace_loc:/GDW1376_2/Debug}</value>
</dictionary>
<dictionary>
<key>org.eclipse.cdt.make.core.contents</key>
<value>org.eclipse.cdt.make.core.activeConfigSettings</value>
</dictionary>
<dictionary>
<key>org.eclipse.cdt.make.core.enableAutoBuild</key>
<value>false</value>
</dictionary>
<dictionary>
<key>org.eclipse.cdt.make.core.enableCleanBuild</key>
<value>true</value>
</dictionary>
<dictionary>
<key>org.eclipse.cdt.make.core.enableFullBuild</key>
<value>true</value>
</dictionary>
<dictionary>
<key>org.eclipse.cdt.make.core.stopOnError</key>
<value>true</value>
</dictionary>
<dictionary>
<key>org.eclipse.cdt.make.core.useDefaultBuildCmd</key>
<value>true</value>
</dictionary>
</arguments>
</buildCommand>
<buildCommand>
<name>org.eclipse.cdt.managedbuilder.core.ScannerConfigBuilder</name>
<triggers>full,incremental,</triggers>
<arguments>
</arguments>
</buildCommand>
</buildSpec>
<natures>
<nature>org.eclipse.cdt.core.cnature</nature>
<nature>org.eclipse.cdt.managedbuilder.core.managedBuildNature</nature>
<nature>org.eclipse.cdt.managedbuilder.core.ScannerConfigNature</nature>
</natures>
</projectDescription>
136 changes: 68 additions & 68 deletions inc/GDW1376_2.h → GDW1376_2/inc/GDW1376_2.h
Original file line number Diff line number Diff line change
@@ -1,68 +1,68 @@
/**
******************************************************************************
* @file GDW1376_2.h
* @brief API include file of GDW1376_2.h.
* @details This file including all API functions's declare of GDW1376_2.h.
* @copyright
******************************************************************************
*/
#ifndef GDW1376_2_H_
#define GDW1376_2_H_

#ifdef __cplusplus
extern "C"
{
#endif

/*-----------------------------------------------------------------------------
Section: Includes
----------------------------------------------------------------------------*/
/* NONE */

/*-----------------------------------------------------------------------------
Section: Macro Definitions
----------------------------------------------------------------------------*/
#define ERR_NONE (0) /**< 无错误 */
#define ERR_INPUT (1) /**< 输入参数错误 */
#define ERR_CHKFRM_0x68 (2) /**< 报文头0x68 */
#define ERR_CHKFRM_LEN (3) /**< 输入报文长度无效 */
#define ERR_CHKFRM_0x16 (4) /**< 报文尾0x16 */
#define ERR_CHKFRM_cs (5) /**< 报文cs错误 */
#define ERR_AFN_FN (6) /**< 不支持的FN*/
#define ERR_APP_LEN (7) /**< 应用数据LEN有误 */

/*-----------------------------------------------------------------------------
Section: Type Definitions
----------------------------------------------------------------------------*/
typedef void (*pcallback)(const char*);

/*-----------------------------------------------------------------------------
Section: Globals
----------------------------------------------------------------------------*/
/* NONE */

/*-----------------------------------------------------------------------------
Section: Function Prototypes
----------------------------------------------------------------------------*/
extern int
GDW1376_2_parse(const unsigned char *pin,
unsigned int len,
pcallback pcb,
const char *pline_head,
const char *pline_end);

extern const char *
GDW1376_2_error(int errid);

extern const char *
GDW1376_2_ver_str(void);

extern const char *
GDW1376_2_changelog(void);

#ifdef __cplusplus
}
#endif

#endif /* GDW1376_2_H_ */
/*--------------------------End of GDW1376_2.h-----------------------------*/
/**
******************************************************************************
* @file GDW1376_2.h
* @brief API include file of GDW1376_2.h.
* @details This file including all API functions's declare of GDW1376_2.h.
* @copyright
******************************************************************************
*/
#ifndef GDW1376_2_H_
#define GDW1376_2_H_

#ifdef __cplusplus
extern "C"
{
#endif

/*-----------------------------------------------------------------------------
Section: Includes
----------------------------------------------------------------------------*/
/* NONE */

/*-----------------------------------------------------------------------------
Section: Macro Definitions
----------------------------------------------------------------------------*/
#define ERR_NONE (0) /**< 无错误 */
#define ERR_INPUT (1) /**< 输入参数错误 */
#define ERR_CHKFRM_0x68 (2) /**< 报文头0x68 */
#define ERR_CHKFRM_LEN (3) /**< 输入报文长度无效 */
#define ERR_CHKFRM_0x16 (4) /**< 报文尾0x16 */
#define ERR_CHKFRM_cs (5) /**< 报文cs错误 */
#define ERR_AFN_FN (6) /**< 不支持的FN*/
#define ERR_APP_LEN (7) /**< 应用数据LEN有误 */

/*-----------------------------------------------------------------------------
Section: Type Definitions
----------------------------------------------------------------------------*/
typedef void (*pcallback)(const char*);

/*-----------------------------------------------------------------------------
Section: Globals
----------------------------------------------------------------------------*/
/* NONE */

/*-----------------------------------------------------------------------------
Section: Function Prototypes
----------------------------------------------------------------------------*/
extern int
GDW1376_2_parse(const unsigned char *pin,
unsigned int len,
pcallback pcb,
const char *pline_head,
const char *pline_end);

extern const char *
GDW1376_2_error(int errid);

extern const char *
GDW1376_2_ver_str(void);

extern const char *
GDW1376_2_changelog(void);

#ifdef __cplusplus
}
#endif

#endif /* GDW1376_2_H_ */
/*--------------------------End of GDW1376_2.h-----------------------------*/
Loading

0 comments on commit 8d57e03

Please sign in to comment.