Out of memory (CHIP error 0x0b) when trying to commission Window Covering sample with GHA

Hi,

I've been playing around with the Matter samples (in particular the window covering sample) to get them to work with the recently released Google Home Matter program.

I've gotten the lighting app example to work, but when I try to commission the window covering example I run into memory issues:

E: 201315 [DMG]Error retrieving data from clusterId: 0x0000_0031, err = b
E: 201613 [DMG]Error retrieving data from clusterId: 0x0000_0035, err = b

I already decreased log levels and disabled the shell, openthread shell, and the other optimization options as suggested in https://developer.nordicsemi.com/nRF_Connect_SDK/doc/2.0.0/nrf/app_memory.html, but I'm still getting OOMs.

Is there anything I'm missing here?

Kind regards and thanks

-Alex

Parents
  • Did a bit more digging, and I don't think the memory error is the cause for the commissioning failure.

    The commissioning succeeds (in that it gets added to my devices in google home), but interaction with the device always fails with an error "operation discovery failed: 32". In Google Home the device gets marked as "unavailable".

    D: 119459 [CSM]UpdatePeerAddress: No existing OperationalSessionSetup instance found 
    D: 119467 [CTL]OperationalSessionSetup[1:0000000056E421FF]: State change 1 --> 2
    I: 119475 [DIS]Resolving 0E9E8F8AAAEC283A:0000000056E421FF ...
    I: 119675 [DIS]Checking node lookup status after 201 ms
    D: 119819 [EM]Retransmitting MessageCounter:107169467 on exchange 8696r Send Cnt 2
    I: 119827 [IN]Sending encrypted msg 0x20005134 with MessageCounter:107169467 to 0x0000000056E421FF (1) at monotonic time: 000000000001D412 msec
    D: 120474 [EM]Retransmitting MessageCounter:107169467 on exchange 8696r Send Cnt 3
    I: 120481 [IN]Sending encrypted msg 0x20005134 with MessageCounter:107169467 to 0x0000000056E421FF (1) at monotonic time: 000000000001D6A1 msec
    D: 121500 [EM]Retransmitting MessageCounter:107169467 on exchange 8696r Send Cnt 4
    I: 121508 [IN]Sending encrypted msg 0x20005134 with MessageCounter:107169467 to 0x0000000056E421FF (1) at monotonic time: 000000000001DAA3 msec
    E: 123124 [EM]Failed to Send CHIP MessageCounter:107169467 on exchange 8696r sendCount: 4 max retries: 4
    D: 123133 [IN]SecureSession[0x20003670]: MarkAsDefunct Type:2 LSID:7749
    I: 123139 [SC]SecureSession[0x20003670]: Moving from state 'kActive' --> 'kDefunct'
    I: 134475 [DIS]Checking node lookup status after 15001 ms
    E: 134480 [DIS]OperationalSessionSetup[1:0000000056E421FF]: operational discovery failed: 32

    For reference, my setup is an nRF52840 devkit for the sample, a Google Nest Hub 2 as the border router, commissioner and controller.

    Kind regards,

    -Alex

Reply
  • Did a bit more digging, and I don't think the memory error is the cause for the commissioning failure.

    The commissioning succeeds (in that it gets added to my devices in google home), but interaction with the device always fails with an error "operation discovery failed: 32". In Google Home the device gets marked as "unavailable".

    D: 119459 [CSM]UpdatePeerAddress: No existing OperationalSessionSetup instance found 
    D: 119467 [CTL]OperationalSessionSetup[1:0000000056E421FF]: State change 1 --> 2
    I: 119475 [DIS]Resolving 0E9E8F8AAAEC283A:0000000056E421FF ...
    I: 119675 [DIS]Checking node lookup status after 201 ms
    D: 119819 [EM]Retransmitting MessageCounter:107169467 on exchange 8696r Send Cnt 2
    I: 119827 [IN]Sending encrypted msg 0x20005134 with MessageCounter:107169467 to 0x0000000056E421FF (1) at monotonic time: 000000000001D412 msec
    D: 120474 [EM]Retransmitting MessageCounter:107169467 on exchange 8696r Send Cnt 3
    I: 120481 [IN]Sending encrypted msg 0x20005134 with MessageCounter:107169467 to 0x0000000056E421FF (1) at monotonic time: 000000000001D6A1 msec
    D: 121500 [EM]Retransmitting MessageCounter:107169467 on exchange 8696r Send Cnt 4
    I: 121508 [IN]Sending encrypted msg 0x20005134 with MessageCounter:107169467 to 0x0000000056E421FF (1) at monotonic time: 000000000001DAA3 msec
    E: 123124 [EM]Failed to Send CHIP MessageCounter:107169467 on exchange 8696r sendCount: 4 max retries: 4
    D: 123133 [IN]SecureSession[0x20003670]: MarkAsDefunct Type:2 LSID:7749
    I: 123139 [SC]SecureSession[0x20003670]: Moving from state 'kActive' --> 'kDefunct'
    I: 134475 [DIS]Checking node lookup status after 15001 ms
    E: 134480 [DIS]OperationalSessionSetup[1:0000000056E421FF]: operational discovery failed: 32

    For reference, my setup is an nRF52840 devkit for the sample, a Google Nest Hub 2 as the border router, commissioner and controller.

    Kind regards,

    -Alex

Children
No Data
Related