|
16 | 16 | * limitations under the License.
|
17 | 17 | */
|
18 | 18 |
|
19 |
| -#include <platform/CHIPDeviceLayer.h> |
20 |
| -#include <platform/PlatformManager.h> |
21 |
| - |
22 |
| -#include <string> |
| 19 | +#include "CommissionerMain.h" |
23 | 20 |
|
24 | 21 | #if CHIP_DEVICE_CONFIG_ENABLE_BOTH_COMMISSIONER_AND_COMMISSIONEE
|
25 | 22 |
|
|
31 | 28 | #include <crypto/CHIPCryptoPAL.h>
|
32 | 29 | #include <crypto/RawKeySessionKeystore.h>
|
33 | 30 | #include <lib/core/CHIPError.h>
|
| 31 | +#include <lib/core/CHIPPersistentStorageDelegate.h> |
34 | 32 | #include <lib/core/NodeId.h>
|
35 | 33 | #include <lib/support/logging/CHIPLogging.h>
|
36 | 34 |
|
|
48 | 46 | #include <setup_payload/QRCodeSetupPayloadGenerator.h>
|
49 | 47 | #include <setup_payload/SetupPayload.h>
|
50 | 48 |
|
| 49 | +#include <platform/CHIPDeviceLayer.h> |
51 | 50 | #include <platform/CommissionableDataProvider.h>
|
52 | 51 | #include <platform/DeviceInstanceInfoProvider.h>
|
53 | 52 | #include <platform/DiagnosticDataProvider.h>
|
| 53 | +#include <platform/KeyValueStoreManager.h> |
| 54 | +#include <platform/PlatformManager.h> |
54 | 55 | #include <platform/TestOnlyCommissionableDataProvider.h>
|
55 | 56 |
|
56 |
| -#include <controller/CHIPDeviceControllerFactory.h> |
57 |
| -#include <controller/ExampleOperationalCredentialsIssuer.h> |
58 |
| -#include <lib/core/CHIPPersistentStorageDelegate.h> |
59 |
| -#include <platform/KeyValueStoreManager.h> |
| 57 | +#include <controller/CHIPDeviceControllerFactory.h> // nogncheck |
| 58 | +#include <controller/ExampleOperationalCredentialsIssuer.h> // nogncheck |
60 | 59 |
|
61 | 60 | #if CHIP_CONFIG_TRANSPORT_TRACE_ENABLED
|
62 | 61 | #include "TraceHandlers.h"
|
63 | 62 | #endif // CHIP_CONFIG_TRANSPORT_TRACE_ENABLED
|
64 | 63 |
|
65 | 64 | #include <signal.h>
|
66 |
| - |
67 |
| -#include "CommissionerMain.h" |
| 65 | +#include <string> |
68 | 66 |
|
69 | 67 | using namespace chip;
|
70 | 68 | using namespace chip::Credentials;
|
@@ -459,7 +457,7 @@ CommissionerDiscoveryController * GetCommissionerDiscoveryController()
|
459 | 457 | return &gCommissionerDiscoveryController;
|
460 | 458 | }
|
461 | 459 |
|
462 |
| -SessionKeystore * GetSessionKeystore() |
| 460 | +Crypto::SessionKeystore * GetSessionKeystore() |
463 | 461 | {
|
464 | 462 | return &gSessionKeystore;
|
465 | 463 | }
|
|
0 commit comments