代码搜索结果
找到约 10,000 项符合
Protocol 的代码
protocol.cpp
#ifdef _NEW_PROTOCOL_
#include "protocol.h"
#include
using namespace std;
void printCode(unsigned int i){
switch(i){
case OPEN_MEETING_CHANNEL: std::cout
protocol.h
#pragma once
#ifdef _NEW_PROTOCOL_
#ifndef _PROTOCOL_H_
#define _PROTOCOL_H_
#include
#include
#include
#include
#include
#inclu
protocol.inc
#ifdef __cplusplus
#if __cplusplus
extern "C"{
#endif
#endif
#ifndef _AMMETER_PROTOCOL_INC_
#define _AMMETER_PROTOCOL_INC_
#undef TEMPORARILY_NOT_OFFER //暂不提供的功能
#undef
protocol.h
#ifndef _PROTOCOL_H_
#define _PROTOCOL_H_
#define FRAME_BUFFER_LEN 74
/* 桢格式说明 */
#define FRM_START_BYTE1 0
#define FRM_ADDR 1
#define FRM_START_BYTE2 7
#define FRM_COMMAND 8
#define FR
protocol.c
#include "msp430x41x.h"
#include "string.h"
#include "general.h"
#include "protocol.inc"
#include "protocol.h"
#define OK 0
#define ERROR 1
#define PRE_
protocol.h
/* protocol.h */
#ifndef PROTOCOL_H
#define PROTOCOL_H
#ifdef __cplusplus
extern "C"
{
#endif
typedef unsigned char (*COMM_PROC_PTR)(void);
/* commands of response */
#define CMD_RIGN
protocol.c
#include "protocol.h"
#include "uart.h"
#include "pub_func.h"
#include "sys_time.h"
#include "storage.h"
#include "data_flash.h"
#include "sys_event.h"
#include "string.h"
// commands
//con
protocol.h
/* protocol.h */
#ifndef PROTOCOL_H
#define PROTOCOL_H
#ifdef __cplusplus
extern "C"
{
#endif
typedef unsigned char (*COMM_PROC_PTR)(void);
/* commands of request */
#define CMD_READ_
protocol.c
#include "protocol.h"
#include "uart.h"
#include "pub_func.h"
#include "sys_time.h"
#include "storage.h"
#include "data_flash.h"
#include "sys_event.h"
#include "string.h"
#include "rf256_drv.
protocol.h
/* protocol.h */
#ifndef PROTOCOL_H
#define PROTOCOL_H
#ifdef __cplusplus
extern "C"
{
#endif
#include "uart.h"
typedef unsigned char (*COMM_PROC_PTR)(void);
// 通信端口选择定义
#define NU