Skip to content

Commit

Permalink
Update to Matters officially assigned IANA port of 5540 (#8457)
Browse files Browse the repository at this point in the history
  • Loading branch information
aronrosenberg authored Jul 16, 2021
1 parent c51908a commit f4a6b28
Show file tree
Hide file tree
Showing 15 changed files with 18 additions and 18 deletions.
2 changes: 1 addition & 1 deletion config/esp32/components/chip/Kconfig
Original file line number Diff line number Diff line change
Expand Up @@ -731,7 +731,7 @@ menu "CHIP Device Layer"
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"
Expand Down
2 changes: 1 addition & 1 deletion docs/guides/nrfconnect_examples_cli.md
Original file line number Diff line number Diff line change
Expand Up @@ -344,5 +344,5 @@ uart:~$ matter dns resolve <fabric-id> <node-id>
Resolving ...
DNS resolve for 000000014A77CBB3-0000000000BC5C01 succeeded:
IP address: fd08:b65e:db8e:f9c7:8052:1a8e:4dd4:e1f3
Port: 11097
Port: 5540
```
2 changes: 1 addition & 1 deletion examples/chip-tool/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -41,7 +41,7 @@ choose the pairing mode.
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

Expand Down
2 changes: 1 addition & 1 deletion examples/lighting-app/efr32/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -257,7 +257,7 @@ combination with JLinkRTTClient as follows:

\*\* 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
Expand Down
4 changes: 2 additions & 2 deletions examples/lighting-app/telink/Readme.md
Original file line number Diff line number Diff line change
Expand Up @@ -155,13 +155,13 @@ following states:
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:

Expand Down
2 changes: 1 addition & 1 deletion examples/lock-app/efr32/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -246,7 +246,7 @@ combination with JLinkRTTClient as follows:

\*\* 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
Expand Down
2 changes: 1 addition & 1 deletion scripts/tests/test_suites.sh
Original file line number Diff line number Diff line change
Expand Up @@ -122,7 +122,7 @@ for j in "${iter_array[@]}"; do
# 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.
Expand Down
4 changes: 2 additions & 2 deletions src/darwin/Framework/CHIP/templates/clusters-tests.zapt
Original file line number Diff line number Diff line change
Expand Up @@ -17,8 +17,8 @@ const uint16_t kTimeoutInSeconds = 3;
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)
Expand Down
4 changes: 2 additions & 2 deletions src/darwin/Framework/CHIPTests/CHIPClustersTests.m
Original file line number Diff line number Diff line change
Expand Up @@ -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)
Expand Down
2 changes: 1 addition & 1 deletion src/lib/core/CHIPConfig.h
Original file line number Diff line number Diff line change
Expand Up @@ -1337,7 +1337,7 @@
*
*/
#ifndef CHIP_PORT
#define CHIP_PORT 11097
#define CHIP_PORT 5540
#endif // CHIP_PORT

/**
Expand Down
2 changes: 1 addition & 1 deletion src/test_driver/linux-cirque/test-echo.py
Original file line number Diff line number Diff line change
Expand Up @@ -48,7 +48,7 @@
}
}

CHIP_PORT = 11097
CHIP_PORT = 5540

CIRQUE_URL = "http://localhost:5000"

Expand Down
2 changes: 1 addition & 1 deletion src/test_driver/linux-cirque/test-interaction-model.py
Original file line number Diff line number Diff line change
Expand Up @@ -48,7 +48,7 @@
}
}

CHIP_PORT = 11097
CHIP_PORT = 5540

CIRQUE_URL = "http://localhost:5000"

Expand Down
2 changes: 1 addition & 1 deletion src/test_driver/linux-cirque/test-manual.py
Original file line number Diff line number Diff line change
Expand Up @@ -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

#############################################################

Expand Down
2 changes: 1 addition & 1 deletion src/test_driver/linux-cirque/test-mobile-device.py
Original file line number Diff line number Diff line change
Expand Up @@ -49,7 +49,7 @@
}
}

CHIP_PORT = 11097
CHIP_PORT = 5540

CIRQUE_URL = "http://localhost:5000"

Expand Down
2 changes: 1 addition & 1 deletion src/test_driver/linux-cirque/test-on-off-cluster.py
Original file line number Diff line number Diff line change
Expand Up @@ -48,7 +48,7 @@

SETUPPINCODE = 20202021
DISCRIMINATOR = 1 # Randomw number, not used
CHIP_PORT = 11097
CHIP_PORT = 5540

CIRQUE_URL = "http://localhost:5000"

Expand Down

0 comments on commit f4a6b28

Please sign in to comment.