Description
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
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:
- 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