# ck add filter

Adds a CAN Message Filter to the current measurement 
setup.

## Synopsis

```filter [-x|--ext-ids] [-f|--filter-type] [-l|--language] [-n|--name] [--next-node] [-p|--previous-node] [-s|--std-ids]```

## Description

Adds a CAN Message Filter to the current measurement 
setup.

## Options

- `-x|--ext-ids`
	
	 The extended CAN IDs to be filtered. Example: 
"1,2,3,5-10" in order to filter IDs 1,2,3 and 5 to 10. Prefix IDs with 0x to 
indicate hex format.

- `-f|--filter-type`
	
	 The filter type. Either block or pass CAN IDs through 
filter. Default: pass

- `-l|--language`
	
	 Specify the preferred language to be used in all output 
strings. Default value is English (en).

- `-n|--name`
	
	 Name of the node. Default value is 'CAN message 
filter'

- `--next-node`
	
	 Identifier/Name of the next node when adding a new node 
to the measurement setup. Set either previous node or next node, not 
both.

- `-p|--previous-node`
	
	 Identifier/Name of the previous node when adding a new 
node to the measurement setup. Set either previous node or next node, not 
both.

- `-s|--std-ids`
	
	 The standard CAN IDs to be filtered. Example: 
"1,2,3,5-10" in order to filter IDs 1,2,3 and 5 to 10. Prefix IDs with 0x to 
indicate hex format.

## Examples

- ```ck add filter --std-ids "1,2,3,5-10" --ext-ids "1,2,3,5-10" --filter-type block --previous-node "CAN 1" --name C1filter```

