Skip to content

[BUG] [TC-CNET-4.3] Getting Null value for LastNetworkID attribute, while Networks attribute having network entries(Issue persists only in Ethernet) #37895

Open
@KishokG

Description

@KishokG

Reproduction steps

  • Built all-clusters-app and chip-tool in same or two different RPI.
  • Advertise the DUT using command : ./chip-all-clusters-app
  • Commission the Controller using ./chip-tool pairing onnetwork 1 20202021
  • Run the following command and verify the FeatureMap value as 4(value 4 will return while commissioned with Ethernret) : ./chip-tool networkcommissioning read feature-map 1 0
  • Read the Network attribute : ./chip-tool networkcommissioning read networks 1 0

[1741259495.140] [72157:72159] [TOO] Endpoint: 0 Cluster: 0x0000_0031 Attribute 0x0000_0001 DataVersion: 3656290640
[1741259495.140] [72157:72159] [TOO] Networks: 1 entries
[1741259495.140] [72157:72159] [TOO] [1]: {
[1741259495.140] [72157:72159] [TOO] NetworkID: 65746830
[1741259495.140] [72157:72159] [TOO] Connected: TRUE
[1741259495.140] [72157:72159] [TOO] }

  • Read the LastNetworkID attribute: ./chip-tool networkcommissioning read last-network-id 1 0

Actual Outcome:

[1741259549.860] [72163:72165] [TOO] Endpoint: 0 Cluster: 0x0000_0031 Attribute 0x0000_0006 DataVersion: 3656290640
[1741259549.860] [72163:72165] [TOO] LastNetworkID: null

Expected Outcome:

[1741259549.860] [72163:72165] [TOO] Endpoint: 0 Cluster: 0x0000_0031 Attribute 0x0000_0006 DataVersion: 3656290640
[1741259549.860] [72163:72165] [TOO] LastNetworkID: 65746830

Log file reference: TC-CNET-4.3.txt

Bug prevalence

Whenever I do

GitHub hash of the SDK that was being used

13da787

Platform

raspi

Platform Version(s)

RPI - 4; 8GB RAM

Anything else?

- Facing this issue while commissioned with Ethernet and there is no issue with the Ble-wifi and Ble-thread commissioning.

Spec Reference:

Image

  • As per the specification, if network configurations exist in the Networks attribute, the LastNetworkID attribute should return the NetworkID from one of the entries in the Networks attribute.

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions