File tree 1 file changed +11
-4
lines changed
1 file changed +11
-4
lines changed Original file line number Diff line number Diff line change 26
26
#define CHIP_CONFIG_EVENT_LOGGING_NUM_EXTERNAL_CALLBACKS 2
27
27
28
28
// Uncomment this for a large Tunnel MTU.
29
- //#define CHIP_CONFIG_TUNNEL_INTERFACE_MTU (9000)
29
+ // #define CHIP_CONFIG_TUNNEL_INTERFACE_MTU (9000)
30
30
31
31
// Enable support functions for parsing command-line arguments
32
32
#define CHIP_CONFIG_ENABLE_ARG_PARSER 1
33
33
34
- // Use a default pairing code if one hasn't been provisioned in flash.
35
- #define CHIP_DEVICE_CONFIG_USE_TEST_SETUP_PIN_CODE 20202021
36
- #define CHIP_DEVICE_CONFIG_USE_TEST_SETUP_DISCRIMINATOR 0xF00
34
+ // Enable use of test setup parameters for testing purposes only.
35
+ //
36
+ // WARNING: This option makes it possible to circumvent basic chip security functionality.
37
+ // Because of this it SHOULD NEVER BE ENABLED IN PRODUCTION BUILDS.
38
+ //
39
+ #ifndef CHIP_DEVICE_CONFIG_ENABLE_TEST_SETUP_PARAMS
40
+ #define CHIP_DEVICE_CONFIG_ENABLE_TEST_SETUP_PARAMS 1
41
+ #endif
37
42
38
43
// Enable reading DRBG seed data from /dev/(u)random.
39
44
// This is needed for test applications and the CHIP device manager to function
46
51
// WARNING: These options make it possible to circumvent basic Chip security functionality,
47
52
// including message encryption. Because of this they MUST NEVER BE ENABLED IN PRODUCTION BUILDS.
48
53
//
54
+ // To build with this flag, pass 'treat_warnings_as_errors=false' to gn/ninja.
55
+ //
49
56
#define CHIP_CONFIG_SECURITY_TEST_MODE 0
50
57
51
58
#define CHIP_CONFIG_ENABLE_UPDATE 1
You can’t perform that action at this time.
0 commit comments