资源简介
canopen协议源代码,学习嵌入式开发和工业控制的同学可能会用到
代码片段和文件信息
/* packet-canopen.c
* Routines for CANopen dissection
* Copyright 2011 Yegor Yefremov
*
* Wireshark - Network traffic analyzer
* By Gerald Combs
* Copyright 1998 Gerald Combs
*
* SPDX-License-Identifier: GPL-2.0-or-later
*/
#include “config.h“
#include
#include “packet-socketcan.h“
void proto_register_canopen(void);
void proto_reg_handoff_canopen(void);
/* Initialize the protocol and registered fields */
static int proto_canopen = -1;
static int hf_canopen_cob_id = -1;
static int hf_canopen_function_code = -1;
static int hf_canopen_node_id = -1;
static int hf_canopen_pdo_data = -1;
static int hf_canopen_pdo_data_string = -1;
static int hf_canopen_sdo_cmd = -1;
static int hf_canopen_sdo_cmd_ccs = -1;
static int hf_canopen_sdo_cmd_scs = -1;
static int hf_canopen_sdo_cmd_toggle = -1;
static int hf_canopen_sdo_cmd_updown_n = -1;
static int hf_canopen_sdo_cmd_updown_c = -1;
static int hf_canopen_sdo_cmd_init_n = -1;
static int hf_canopen_sdo_cmd_init_e = -1;
static int hf_canopen_sdo_cmd_init_s = -1;
static int hf_canopen_sdo_main_idx = -1;
static int hf_canopen_sdo_sub_idx = -1;
static int hf_canopen_sdo_data = -1;
static int hf_canopen_sdo_abort_code = -1;
static int hf_canopen_reserved = -1;
static int hf_canopen_em_err_code = -1;
static int hf_canopen_em_err_reg = -1;
static int hf_canopen_em_err_reg_ge = -1;
static int hf_canopen_em_err_reg_cu = -1;
static int hf_canopen_em_err_reg_vo = -1;
static int hf_canopen_em_err_reg_te = -1;
static int hf_canopen_em_err_reg_co = -1;
static int hf_canopen_em_err_reg_de = -1;
static int hf_canopen_em_err_reg_re = -1;
static int hf_canopen_em_err_reg_ma = -1;
static int hf_canopen_em_err_field = -1;
static int hf_canopen_nmt_ctrl_cs = -1;
static int hf_canopen_nmt_ctrl_node_id = -1;
static int hf_canopen_nmt_guard_state = -1;
static int hf_canopen_nmt_guard_toggle = -1;
static int hf_canopen_sync_counter = -1;
static int hf_canopen_lss_cs = -1;
static int hf_canopen_lss_addr_vendor = -1;
static int hf_canopen_lss_addr_product = -1;
static int hf_canopen_lss_addr_revision = -1;
static int hf_canopen_lss_addr_revision_low = -1;
static int hf_canopen_lss_addr_revision_high = -1;
static int hf_canopen_lss_addr_serial = -1;
static int hf_canopen_lss_addr_serial_low = -1;
static int hf_canopen_lss_addr_serial_high = -1;
static int* hf_canopen_lss_addr_ident[] = {
&hf_canopen_lss_addr_vendor
&hf_canopen_lss_addr_product
&hf_canopen_lss_addr_revision_low
&hf_canopen_lss_addr_revision_high
&hf_canopen_lss_addr_serial_low
&hf_canopen_lss_addr_serial_high
};
static int* hf_canopen_lss_addr_inquire[] = {
&hf_canopen_lss_addr_vendor
&hf_canopen_lss_addr_product
&hf_canopen_lss_addr_revision
&hf_canopen_lss_addr_serial
};
static int hf_canopen_lss_fastscan_id = -1;
static int
属性 大小 日期 时间 名称
----------- --------- ---------- ----- ----
目录 0 2018-08-21 17:41 canopen
文件 57570 2018-08-21 09:16 canopen\packet-canopen.c
文件 909 2018-08-21 09:17 canopen\packet-socketcan.h
----------- --------- ---------- ----- ----
58479 3
- 上一篇:在线分词系统的设计与实现
- 下一篇:ArcMap自动提取山脊线和山谷线
相关资源
- LABVIEW与CAN
- CANPro软件
- CANOpen协议开源代码
- CANopen PDO-SDO应用讲解
- CANopen high-level protocol for CAN-bus中文版
- IEC 61375-3-3-2012 CANOPEN 车辆总线.pdf
- Canopen控制伺服驱动器的报文分析
- CANopen资料 CIA 301 401 402
- CANOpen应用层和通讯协议CiA301
- 禾川X3E伺服驱动器CANopen-EtherCAT用户手
- CanFestival-3.10 2014.06.12最新版本,官网
- CANopen应用层和通信协议中文版_CiA30
- 以色列ELMO驱动器中文手册
- 开源的CANopen源代码 STM32 使用. Festiv
- CANOPEN心跳报文在一二级核心板上的应
- DSP28335上的UCOSII移植加canopen应用
- 基于stm32和os的canopen源码
- STM32上实现EatherCAT总线
评论
共有 条评论