# Blacklist Configuration

The blacklist.json in package directory can determine i2c buses and addresses that should not be scanned by FruDevice. An integer blocks an entire bus from being scanned. A bus/addresses object can block specific addresses on the bus while allowing scanning others addresses on the same bus.

For buses

Put in numbers of buses. For example:

{
  "buses": [1, 3, 5]
}

Note that "buses" should be an array of unsigned integer.

For addresses

Put in bus and addresses with this format:

{
  "buses": [
    {
      "bus": 3,
      "addresses": ["0x30", "0x40"]
    },
    {
      "bus": 5,
      "addresses": ["0x55"]
    }
  ]
}

Note that "bus" should be an unsigned integer and "addresses" be an array of string of hex.

For both

{
  "buses": [
    1,
    {
      "bus": 3,
      "addresses": ["0x30", "0x40"]
    }
  ]
}