Update to Matters officially assigned IANA port of 5540 (#8457)
diff --git a/config/esp32/components/chip/Kconfig b/config/esp32/components/chip/Kconfig
index 8991d7e..33c462e 100644
--- a/config/esp32/components/chip/Kconfig
+++ b/config/esp32/components/chip/Kconfig
@@ -731,7 +731,7 @@
help
The IP address and port of the server to which the device should establish a service tunnel.
The supplied address must be a dot-notation IP address--not a host name. The port number is
- optional; if present it should be separated from the IP address with a colon (e.g. 192.168.1.100:11097).
+ optional; if present it should be separated from the IP address with a colon (e.g. 192.168.1.100:5540).
config LOG_PROVISIONING_HASH
bool "Enable Provisioning Hash Logging"
diff --git a/docs/guides/nrfconnect_examples_cli.md b/docs/guides/nrfconnect_examples_cli.md
index 01cd09a..174aad4 100644
--- a/docs/guides/nrfconnect_examples_cli.md
+++ b/docs/guides/nrfconnect_examples_cli.md
@@ -344,5 +344,5 @@
Resolving ...
DNS resolve for 000000014A77CBB3-0000000000BC5C01 succeeded:
IP address: fd08:b65e:db8e:f9c7:8052:1a8e:4dd4:e1f3
- Port: 11097
+ Port: 5540
```
diff --git a/examples/chip-tool/README.md b/examples/chip-tool/README.md
index d3a7e91..d52c2a8 100644
--- a/examples/chip-tool/README.md
+++ b/examples/chip-tool/README.md
@@ -41,7 +41,7 @@
The command below pair a device with the provided IP address and port of the
server to talk to.
- $ chip-tool pairing bypass 192.168.0.30 11097
+ $ chip-tool pairing bypass 192.168.0.30 5540
#### Pair a device over BLE
diff --git a/examples/lighting-app/efr32/README.md b/examples/lighting-app/efr32/README.md
index 7bb2685..6ade553 100644
--- a/examples/lighting-app/efr32/README.md
+++ b/examples/lighting-app/efr32/README.md
@@ -257,7 +257,7 @@
\*\* Currently, chip-tool for Mac or Linux do not yet have the Thread
provisioning feature
- `chip-tool bypass <Global ipv6 address of the node> 11097`
+ `chip-tool bypass <Global ipv6 address of the node> 5540`
You can provision the Chip device using Chip tool Android or iOS app or
through CLI commands on your OT BR
diff --git a/examples/lighting-app/telink/Readme.md b/examples/lighting-app/telink/Readme.md
index 08919fb..be923d3 100644
--- a/examples/lighting-app/telink/Readme.md
+++ b/examples/lighting-app/telink/Readme.md
@@ -155,13 +155,13 @@
1. Pair with device
```
- ${CHIP_TOOL_DIR}/chip-tool pairing bypass ${IP_ADDRESS_OF_CHIP_DEVICE} 11097
+ ${CHIP_TOOL_DIR}/chip-tool pairing bypass ${IP_ADDRESS_OF_CHIP_DEVICE} 5540
```
here:
- `${IP_ADDRESS_OF_CHIP_DEVICE}` is IPv6 address of CHIP device
- - **11097** is standart CHIP TCP port
+ - **5540** is the standard CHIP TCP port
1. Switch on the light:
diff --git a/examples/lock-app/efr32/README.md b/examples/lock-app/efr32/README.md
index 1f0961a..b935add 100644
--- a/examples/lock-app/efr32/README.md
+++ b/examples/lock-app/efr32/README.md
@@ -246,7 +246,7 @@
\*\* Currently, chip-tool for Mac or Linux do not yet have the Thread
provisioning feature
- `chip-tool bypass <Global ipv6 address of the node> 11097`
+ `chip-tool bypass <Global ipv6 address of the node> 5540`
You can provision the Chip device using Chip tool Android or iOS app or
through CLI commands on your OT BR
diff --git a/scripts/tests/test_suites.sh b/scripts/tests/test_suites.sh
index 5380863..86c4ca7 100755
--- a/scripts/tests/test_suites.sh
+++ b/scripts/tests/test_suites.sh
@@ -122,7 +122,7 @@
# the data is there yet.
background_pid="$(</tmp/pid)"
echo " * Pairing to device"
- "${test_case_wrapper[@]}" out/debug/standalone/chip-tool pairing onnetwork 0 20202021 3840 ::1 11097
+ "${test_case_wrapper[@]}" out/debug/standalone/chip-tool pairing onnetwork 0 20202021 3840 ::1 5540
echo " * Starting test run: $i"
"${test_case_wrapper[@]}" out/debug/standalone/chip-tool tests "$i"
# Prevent cleanup trying to kill a process we already killed.
diff --git a/src/darwin/Framework/CHIP/templates/clusters-tests.zapt b/src/darwin/Framework/CHIP/templates/clusters-tests.zapt
index 101dfb8..1c75561 100644
--- a/src/darwin/Framework/CHIP/templates/clusters-tests.zapt
+++ b/src/darwin/Framework/CHIP/templates/clusters-tests.zapt
@@ -17,8 +17,8 @@
const uint64_t kDeviceId = 1;
const uint16_t kDiscriminator = 3840;
const uint32_t kSetupPINCode = 20202021;
-const uint16_t kRemotePort = 11097;
-const uint16_t kLocalPort = 11098;
+const uint16_t kRemotePort = 5540;
+const uint16_t kLocalPort = 5541;
NSString * kAddress = @"::1";
CHIPDevice * GetPairedDevice(uint64_t deviceId)
diff --git a/src/darwin/Framework/CHIPTests/CHIPClustersTests.m b/src/darwin/Framework/CHIPTests/CHIPClustersTests.m
index 946d410..2c5cc9f 100644
--- a/src/darwin/Framework/CHIPTests/CHIPClustersTests.m
+++ b/src/darwin/Framework/CHIPTests/CHIPClustersTests.m
@@ -34,8 +34,8 @@
const uint64_t kDeviceId = 1;
const uint16_t kDiscriminator = 3840;
const uint32_t kSetupPINCode = 20202021;
-const uint16_t kRemotePort = 11097;
-const uint16_t kLocalPort = 11098;
+const uint16_t kRemotePort = 5540;
+const uint16_t kLocalPort = 5541;
NSString * kAddress = @"::1";
CHIPDevice * GetPairedDevice(uint64_t deviceId)
diff --git a/src/lib/core/CHIPConfig.h b/src/lib/core/CHIPConfig.h
index 10eaa46..78f1bab 100644
--- a/src/lib/core/CHIPConfig.h
+++ b/src/lib/core/CHIPConfig.h
@@ -1337,7 +1337,7 @@
*
*/
#ifndef CHIP_PORT
-#define CHIP_PORT 11097
+#define CHIP_PORT 5540
#endif // CHIP_PORT
/**
diff --git a/src/test_driver/linux-cirque/test-echo.py b/src/test_driver/linux-cirque/test-echo.py
index a2d2c99..465d8f7 100644
--- a/src/test_driver/linux-cirque/test-echo.py
+++ b/src/test_driver/linux-cirque/test-echo.py
@@ -48,7 +48,7 @@
}
}
-CHIP_PORT = 11097
+CHIP_PORT = 5540
CIRQUE_URL = "http://localhost:5000"
diff --git a/src/test_driver/linux-cirque/test-interaction-model.py b/src/test_driver/linux-cirque/test-interaction-model.py
index c105bed..18dbd18 100644
--- a/src/test_driver/linux-cirque/test-interaction-model.py
+++ b/src/test_driver/linux-cirque/test-interaction-model.py
@@ -48,7 +48,7 @@
}
}
-CHIP_PORT = 11097
+CHIP_PORT = 5540
CIRQUE_URL = "http://localhost:5000"
diff --git a/src/test_driver/linux-cirque/test-manual.py b/src/test_driver/linux-cirque/test-manual.py
index be9dabd..883de3f 100644
--- a/src/test_driver/linux-cirque/test-manual.py
+++ b/src/test_driver/linux-cirque/test-manual.py
@@ -41,7 +41,7 @@
# You can define your own consts here.
SETUPPINCODE = 12345678
DISCRIMINATOR = 1 # Randomw number, not used
-CHIP_PORT = 11097
+CHIP_PORT = 5540
#############################################################
diff --git a/src/test_driver/linux-cirque/test-mobile-device.py b/src/test_driver/linux-cirque/test-mobile-device.py
index 6921fba..239a7e9 100644
--- a/src/test_driver/linux-cirque/test-mobile-device.py
+++ b/src/test_driver/linux-cirque/test-mobile-device.py
@@ -49,7 +49,7 @@
}
}
-CHIP_PORT = 11097
+CHIP_PORT = 5540
CIRQUE_URL = "http://localhost:5000"
diff --git a/src/test_driver/linux-cirque/test-on-off-cluster.py b/src/test_driver/linux-cirque/test-on-off-cluster.py
index 4de094d..3108767 100644
--- a/src/test_driver/linux-cirque/test-on-off-cluster.py
+++ b/src/test_driver/linux-cirque/test-on-off-cluster.py
@@ -48,7 +48,7 @@
SETUPPINCODE = 20202021
DISCRIMINATOR = 1 # Randomw number, not used
-CHIP_PORT = 11097
+CHIP_PORT = 5540
CIRQUE_URL = "http://localhost:5000"