Skip to content

Commit 974e4ba

Browse files
samples: Fix Certification fail related to PI/PH
If PI (Pairing Instruction) is present then PH (Pairing Hint) must have at least one of bits [4, 8, 9, 10, 11, 12, 15, 16, 17, 18, 19, 20, 21, 22] present. The issue was that CHIP_DEVICE_CONFIG_PAIRING_SECONDARY_HINT was not set for the certification firmware alongside to CHIP_DEVICE_CONFIG_PAIRING_SECONDARY_INSTRUCTION. Signed-off-by: Arkadiusz Balys <arkadiusz.balys@nordicsemi.no>
1 parent 675216f commit 974e4ba

1 file changed

Lines changed: 3 additions & 0 deletions

File tree

subsys/certification/chip_project_config.h

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -34,3 +34,6 @@
3434
#define CHIP_DEVICE_CONFIG_DEVICE_NAME "Nordic Platform"
3535
#define CHIP_DEVICE_CONFIG_PAIRING_INITIAL_INSTRUCTION "Reset device"
3636
#define CHIP_DEVICE_CONFIG_PAIRING_SECONDARY_INSTRUCTION "Visit Controller App"
37+
#define CHIP_DEVICE_CONFIG_PAIRING_SECONDARY_HINT \
38+
((1 << CHIP_COMMISSIONING_HINT_INDEX_CUSTOM_INSTRUCTION) | \
39+
(1 << CHIP_COMMISSIONING_HINT_INDEX_SEE_ADMINISTRATOR_UX) | (1 << CHIP_COMMISSIONING_HINT_INDEX_SEE_MANUAL))

0 commit comments

Comments
 (0)