Ebyte ECAN-W01S User Manual Download Page 17

Chengdu Ebyte Electronic Technology Co.,Ltd

ECAN-W01S User

Manual

Copyright

©2012–2022, Chengdu Ebyte Electronic Technology

Co.,Ltd

3F 08 FF 00 00 00 00 FF 00 00 00 00

FF

10K

3F 09 FF 00 00 00 00 FF 00 00 00 00

FF

5K

4.3.4. Heartbeat function

In the network transparent transmission mode, users can choose to let ECAN-W01S send heartbeat

packets. The heartbeat packet can be sent to the network server. The main purpose of sending to
the network side is to maintain the connection with the server. It only takes effect in TCP Client
and UDP Client modes. ECAN-W01S module supports customized heartbeat packet with a maximum length
of 128 bytes. Support custom heartbeat package.

4.3.5. Registration package function

In the network transparent transmission mode, the user can choose to let the DTU send the

registration package to the server. The registration package is used to enable the server to
identify the data source device, or as a password to obtain server function authorization. The
registration packet can be sent when the DTU establishes a connection with the server, or a packet
of registration packet data can be sent before each packet. The data of the registration package
can be MAC address or user-defined registration data, of which the longest setting content of
the user-defined registration package is 128 bytes. Support user-defined registration package;

Establishing a connection and sending a registration package is mainly used to connect the

server to be registered.

The registration charter system is only applicable to TCP Client and UDP Client, and is invalid

under TCP Server and UDP Server.

Summary of Contents for ECAN-W01S

Page 1: ...Chengdu Ebyte Electronic Technology Co Ltd ECAN W01S User Manual Copyright 2012 2022 Chengdu Ebyte Electronic Technology Co Ltd ECAN W01S...

Page 2: ...1 SOCKET Function 8 4 2 2 TCP Client Function 8 4 2 3 TCP Server Functions 9 4 2 4 UDP Client Functions 9 4 2 5 UDP Server Features 9 4 2 6 CAN function 10 4 2 7 CAN protocol conversion format 13 4 3...

Page 3: ...supports fixed common CAN baud rate and user defined CAN baud rate with the highest baud rate of 1Mbps At the same time the device has multiple working modes such as TCP Server TCP Client UDP etc 1 2...

Page 4: ...rch the device WiFi through the PC as shown in the following figure Click Connect to connect to the device s WiFi 2 Open the network debugging assistant of the computer set it as TCP Client set the re...

Page 5: ...cations IEEE802 11a b g standard 4 Network Protocol IP TCP UDP WiFi 5 Simple transparent transmission mode TCP Server TCP Client UDP Server UDP Client 6 TCP Server Connection A maximum of four TCP con...

Page 6: ...Chengdu Ebyte Electronic Technology Co Ltd ECAN W01S User Manual Copyright 2012 2022 Chengdu Ebyte Electronic Technology Co Ltd 3 2 Mechanical dimension drawing and pin definition...

Page 7: ...button press and hold for more than 5s to restore the factory 5 CAN2_ H CAN2 channel bus high 5 08 phoenix head CAN2_ G CAN2 channel bus ground 5 08 phoenix head CAN2_ L CAN2 channel bus low 5 08 pho...

Page 8: ...r working roles to STA mode the device can enable DHCP to obtain IP addresses and automatically configure the gateway subnet mask and DNS domain name server It can also set a static IP address for net...

Page 9: ...pported in a dual socket and up to 4 clients can be supported in a single socket The local port number is a fixed value and cannot be set to 0 4 2 4 UDP Client Functions 1 UDP Client is a connectionle...

Page 10: ...eceived CAN frame Number of subcontractin g frames 50 The value that can be filled in is 1 50 When the CAN port continuously receives data the interval is less than the packet time interval and the nu...

Page 11: ...ved and have not been sent before will be packaged into an Ethernet packet and sent to the network port category name default explain CAN configurat ion Standard frame upper limit 7FF HEX The upper li...

Page 12: ...than that of CAN transmission if the amount of data received by Ethernet is too large CAN needs to buffer transmission which can ensure no frame loss but such a large buffer may lead to poor real time...

Page 13: ...Chengdu Ebyte Electronic Technology Co Ltd ECAN W01S User Manual Copyright 2012 2022 Chengdu Ebyte Electronic Technology Co Ltd 4 2 7 CAN protocol conversion format...

Page 14: ...group can be enabled or disabled In the masked bit mode the two registers are respectively the identifier register and the masked register which need to be used together Each bit of the identifier re...

Page 15: ...register n CAN_ FxR1 31 24 CAN_ FxR1 23 16 Identifier register n 1 CAN_ FxR2 15 8 CAN_ FxR2 7 0 Mask bit register n 1 CAN_ FxR2 31 24 CAN_ FxR2 23 16 mapping STID 10 3 STID 2 0 RTR IDE EXID 17 15 Whe...

Page 16: ...ode without entering the configuration software The command format is as follows instructions CAN baud rate 3F 00 FF 00 00 00 00 FF 00 00 00 00 FF 1000K 3F 01 FF 00 00 00 00 FF 00 00 00 00 FF 800K 3F...

Page 17: ...ion In the network transparent transmission mode the user can choose to let the DTU send the registration package to the server The registration package is used to enable the server to identify the da...

Page 18: ...4 Support DHCP and domain name resolution 4 4 1 DHCP The device can automatically obtain the IP address through the router and automatically configure the gateway subnet mask and DNS server It does no...

Page 19: ...cally after disconnection to ensure that the connection can be restored in case of accidental disconnection note that the device is not restarted 4 6 Network interface upgrade Firmware can be upgraded...

Page 20: ...Chengdu Ebyte Electronic Technology Co Ltd ECAN W01S User Manual Copyright 2012 2022 Chengdu Ebyte Electronic Technology Co Ltd Step 3 After selecting the firmware click Upgrade to upgrade...

Page 21: ...nual 2 Due to the continuous improvement of the hardware and software of the product this manual may be changed without further notice and the latest version of the manual shall prevail 3 Everyone is...

Page 22: ...h one by one Please understand 6 Revision History edition Revision Date Revision description Maintainer 1 0 2022 06 10 First edition LM 7 About us Sales hotline 4000 330 990 Company telephone 028 6139...

Reviews: