1# Blacklist Configuration
2
3The blacklist.json in package directory can determine i2c buses and addresses
4that should not be scanned by FruDevice. An integer blocks an entire bus from
5being scanned. A bus/addresses object can block specific addresses on the bus
6while allowing scanning others addresses on the same bus.
7
8## For buses
9
10Put in numbers of buses. For example:
11
12```json
13{
14  "buses": [1, 3, 5]
15}
16```
17
18Note that "buses" should be an array of unsigned integer.
19
20## For addresses
21
22Put in bus and addresses with this format:
23
24```json
25{
26  "buses": [
27    {
28      "bus": 3,
29      "addresses": ["0x30", "0x40"]
30    },
31    {
32      "bus": 5,
33      "addresses": ["0x55"]
34    }
35  ]
36}
37```
38
39Note that "bus" should be an unsigned integer and "addresses" be an array of
40string of hex.
41
42## For both
43
44```json
45{
46  "buses": [
47    1,
48    {
49      "bus": 3,
50      "addresses": ["0x30", "0x40"]
51    }
52  ]
53}
54```
55