Set/Query The Filtering Mode Of The Can Bus; Set/Query Frame Header And Frame End Data; Setting/Querying Identification Parameters - Ebyte ECAN-401S User Manual

Table of Contents

Advertisement

Chengdu Ebyte Electronic Technology Co.,Ltd.

5.9 Set/query the filtering mode of the CAN bus

Command
Function
Setting
Back
Inquire
Parameter
【Example】
set up:
Send: AT+MODE=MODBUS\r\n
Response: <CR><LF>+OK<CR><LF>
Inquire:
Send: AT+ MODE?\r\n
Response: <CR><LF>+OK<CR><LF>AT+MODE=MODBUS <CR><LF>

5.10 Set/query frame header and frame end data

Command
Function
Setting
Back
Inquire
Parameter
【Example】
Settings: Set the frame header data to FF and the frame end data to 55
Send: AT+UDMHT=FF,55 \r\n
Response: <CR><LF>+OK<CR><LF>
Inquire:
Send: AT+UDMHT?\r\n
Response: <CR><LF>+OK<CR><LF> AT+UDMHT=FF,55<CR><LF>

5.11 Setting/Querying Identification Parameters

Command
Function
Setting
Copyright ©2012–2022,Chengdu Ebyte Electronic Technology Co.,Ltd.
CANLT
Set/query the filtering method of CAN bus
AT+CANLT =mode<CR><LF>
<CR><LF>+OK<CR><LF>
AT+CANLT?
mode (Filter mode ):OFF(Receive all functions), ETF(Only receive
extended frames ),
NTF(Only receive standard frames ), USER (customize )
UDMHT
Set/query frame header and end data in custom mode
AT+UDMHT=head,tail<CR><LF>
<CR><LF>+OK<CR><LF>
AT+ UDMHT?
head (Header data ),tail (End-of-frame data ). data range 0~0xFF
RANDOM
Set/query query identification parameters
AT+RANDOM = idLength, idLocation <CR><LF>
ECAN-401S User Manual
27

Advertisement

Table of Contents
loading

Table of Contents