Chengdu Ebyte Electronic Technology Co.,Ltd.
ECAN-401 User Manual
Copyright ©2012–2022
,
Chengdu Ebyte Electronic Technology Co.,Ltd.
29
Inquire:
Send: AT+ DIRECTION?\r\n
Response: <CR><LF>+OK<CR><LF> AT+DIRECTION=UART-CAN <CR><LF>
5.14 Setting/Querying Filter Parameters
Command
FILTER
Function
Set/query filter frame information
Setting
AT+FILTER=id_type,date<CR><LF>
Back
<CR><LF>+OK<CR><LF>
Inquire
AT+FILTER?
Parameter
type (frame type), date (frame data) type: NDTF represents this command
is a standard ID, EDTF represents this command is an extended frame ID
date: ID data.
【
Example
】
Settings: Set frame filtering parameters: standard frame ID, 719
Send: AT+LFILTER=NDTF,719 \r\n
Response: <CR><LF>+OK<CR><LF>
Query: Will return all IDs that have been set
Send: AT+ FILTER?\r\n
Response: <CR><LF>+OK<CR><LF> AT+LFILTER=NDTF,719 <CR><LF>
5.15 Delete the filter parameters that have been set
Command
DELFILTER
Function
Set/query filter frame information
Setting
AT+DELFILTER=id_type,date<CR><LF>
Back
<CR><LF>+OK<CR><LF>
Parameter
type (frame type), date (frame data)
NDTF: Represents this command as a standard ID, EDTF represents this
command as an extended frame ID.
date: ID data.
【
Example
】
Setting: delete filter parameter: standard frame 719
Send: AT+DELFILTER=NDTF,719 \r\n
Response: <CR><LF>+OK<CR><LF>