Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[EFR32] Commissioning is failing at commissioning step 13 : Unsupported certificate format #20996

Closed
shgutte opened this issue Jul 20, 2022 · 1 comment
Labels

Comments

@shgutte
Copy link
Contributor

shgutte commented Jul 20, 2022

Problem

While doing the commissioning using the BLE-wifi after resetting the DUT sometimes commissioning failed with an error unsupported certificate format. this is causing an interrupt in the automation testing of the test harness.

App used - lock app
Platform - Chip-tool - RPI-4, 8GB RAM
DUT - EFR32 + WF200 , EFR32 +RS9116
Network - Ble-wifi

Logs
chip-tool-step13-error.txt
device-step13-error.txt

@turon
Copy link
Contributor

turon commented Jul 20, 2022

Some initial log analysis:

[chip-tool]

[1658315004.845157][5619:5624] CHIP:CTL: Device returned status 3 on receiving the NOC
[1658315004.845228][5619:5624] CHIP:CTL: Add NOC failed with error ../../src/controller/CHIPDeviceController.cpp:1271: CHIP Error 0x00000050: Unsupported certificate format
[1658315004.845302][5619:5624] CHIP:CTL: Error on commissioning step 'SendNOC': '../../src/controller/CHIPDeviceController.cpp:1271: CHIP Error 0x00000050: Unsupported certificate format'
[1658315004.845359][5619:5624] CHIP:CTL: Failed to perform commissioning step 13
[165

NOCResponse(Status=3) is InvalidNOC from device. I couldn't find the NOC bytes in the log. Could you post the malformed NOC TLV hexstream to this issue?

Please add --trace_decode 1 to your chip-tool invocations so we can see outbound commands such as the AddNOC and see the malformed certificate.

The NOC will be the first parameter (0) of CommandPathIB = //EP0/Cluster=0x3E/Command=6.

@shgutte shgutte changed the title [EFR32] Commissioning is failing at step 13 : Unsupported certificate format [EFR32] Commissioning is failing at commissioning step 13 : Unsupported certificate format Jul 20, 2022
@shgutte shgutte closed this as completed Oct 10, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

3 participants