6 filtering st commands, 7 monitoring st commands, Filtering st commands – ScanTool STN1100 FRPM User Manual

Page 13: Monitoring st commands, Family reference and programming manual

Advertising
background image

Family Reference and Programming Manual

STN1100FRPMA www.obdsol.com

13 of 23

6.6 Filtering ST Commands

Each of the Add Filter commands dynamically

allocates a block of RAM to store the filter, and can
return OUT OF MEMORY error if there is not enough
memory to add the filter. If this occurs, OBD requests
may start generating the OUT OF MEMORY errors
because the OBD memory buffer is located in the
same RAM.

FAP [pattern], [mask]

Add a pass filter. Takes two parameters: pattern

and mask. Pattern and mask can be any length from 0
to 5 bytes (0 to 10 ASCII characters), but both have to
be the same length. The messages are matched MSB
first, up to the filter length. Messages shorter than the
filter length, will not match that filter.

If an odd number of ASCII characters is specified, a

leading 0 will be added to the first byte. In other words,

STFAP 7E8,7FF 
..is the same as
STFAP 07E8,07FF 

For 29-bit CAN, the first four bytes are CAN ID; for

11-bit CAN, the first two bytes are CAN ID.

The first 3 bits for 29-bit CAN or the first 5 bits for

11-bit CAN should be don't care (0s in mask) and/or 0s
in pattern.

FAB [pattern], [mask]

Add block filter. Same syntax as STFAP.


FAFC [pattern], [mask]

Add flow control filter. Same syntax as STFAP.


FCP

Clear all pass filters.


FCB

Clear all block filters.


FCFC

Clear all flow control filters.


6.7 Monitoring ST Commands

M

Monitor OBD bus using current filters.

MA

Monitor all messages on OBD bus. For CAN

protocols, all messages will be treated as ISO 15765.
To monitor raw CAN messages, use STM command.

Advertising