ScanController

Purpose

The ScanController ensures that scanning is restarted after connections are made. It should allow a better seperation between modules in the future.

Functionality

At the moment, the ScanController doesn’t allow to register ScanJobs similar to the advertising controller. This functionality will be implemented in the future. At the moment, there is no good abstraction between modules for scanning. All BleEvents are reported in the BleEventHandler of the modules if one of the modules has started scanning. If a module stops scanning, other modules might malfunction.