commandid.h
来自「自己做的一个基于arm7+linux的条码终端系统的源代码」· C头文件 代码 · 共 37 行
H
37 行
//---------------------------------------------------------------------------
#ifndef COMMANDID_H
#define COMMANDID_H
#define BEAT_CMMD_ID 0
#define REGISTER_REQ_CMMD_ID 1
#define SERVER_CLOSE_CMMD_ID 2
#define SET_COM_ATTR_CMMD_ID 3
#define GET_COM_ATTR_CMMD_ID 4
#define SET_NET_ATTR_CMMD_ID 5
#define GET_NET_ATTR_CMMD_ID 6
#define SET_IO_CMMD_ID 7
#define GET_IO_CMMD_ID 8
#define READ_COM_DATA_CMMD_ID 9
#define SEND_COM_DATA_CMMD_ID 10
#define SET_DATE_TIME_CMMD_ID 11
#define SET_BACKLIGHT_CMMD_ID 12
#define SERVER_DATA_RECV_PORT 10001
#define CLIENT_DATA_RECV_PORT 8001
#define SERVER_BEAT_SEND_PORT 6000
#define CLIENT_SIGNAL_SET_PORT 8003
#define CLIENT_COM_SET_DATA 8004
#define CLIENT_BACKLIGHT_SET_DATA 8005
#define CLIENT_NET_SET_DATA 8006
#define BEAT_SEND_PORT 10000
#define CLIENT_RECV_BEAT_PORT 10000
#define CLIENT_RECV_SERIAL_PORT 10000
#define CLIENT_RECV_SIGNAL_PORT 10000
#define CLIENT_RECV_NET_SET_PORT 10000
#define CLIENT_RECV_TIME_SET_PORT 10000
#endif
//---------------------------------------------------------------------------
⌨️ 快捷键说明
复制代码Ctrl + C
搜索代码Ctrl + F
全屏模式F11
增大字号Ctrl + =
减小字号Ctrl + -
显示快捷键?