Canwifi-200T; Data Conversion Format Of The Tcp Notification Port For The Can Status Of Canwifi-200T - ZLG CANWiFi-200T User Manual

High performance 2-channel wifi-to-can converter
Table of Contents

Advertisement

Guangzhou ZHIYUAN Electronics Co., Ltd.
The following example is the representation for a standard data frame with the ID of
0x0001, which includes 8 bytes of data (0x00, 0x01, 0x02, 0x03, 0x04, 0x05, 0x06,
and 0x07):
0xfe 0xfd 0x00 0x08 0x00 0x00 0x00 0x01 0x00 0x01 0x02 0x03 0x04 0x05 0x06
0x07 0x00 0x00 0x00 0x0a
When users send CAN frames through PC, it should not exceed the maximum CAN
transmission traffic of device. For example, if a standard data frame is sent at
1000Kbps baud rate, the maximum CAN transmission speed is 10000 frame/s. Even
if PC can send data at a high speed, the CAN device is not able to do that; and the
buffer will overflow even though there is a large buffer in the device. In addition, the
CANWIFI-200T device has limited WIFI transmission ability; therefore it is
recommended that the CAN frames sent by each CAN per second should not exceed
5800 frames.
7.2 Data conversion format of the TCP notification port for the
CAN status of CANWiFi-200T
After the TCP notification port corresponded to a CAN channel is
connected, it will send status warning to the host when any CAN
error occurs. The format of TCP package data section is as follows:
AAh 00h CMD
Fixed format. AAh 00h for package header, 55h for package tail.
Status code
CMD
Time1 Time2 Time3 Time4
CMD Value
01h
The transmit buffer of Ethernet will overflow.
02h
The transmit buffer of Ethernet has overflowed.
03h
The receive buffer of Ethernet will overflow.
04h
The receive buffer of Ethernet has overflowed.
CAN controller transmission error alarm
05h
(transmission error count > 96)
CAN controller reception error alarm (reception
06h
error count > 96)
CAN controller transmission error passive
07h
(transmission error count > 127)
User Manual
Date: 2017/08/04
High performance 2-channel WiFi-to-CAN Converter
C
Time1 Time2 Time3 Time4
Error count (32 bit). High byte in front, i.e., Time1
is high byte.
Meaning of the status
(CANWiFi-200T device)
44
CANWiFi-200T User Manual
55h
Time Error
Count Value
0
0
0
0
Frequency
Frequency
Frequency
©2017 Guangzhou ZHIYUAN Electronics
Notification
Cycle (second)
2s
0.5s
2s
0.5s
2s
2s
2s
V1.02

Advertisement

Table of Contents
loading

Table of Contents