-
Notifications
You must be signed in to change notification settings - Fork 2.1k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Update chip-tool listening port to be 'CHIP_PORT + 1' instead of CHIP… #4590
Update chip-tool listening port to be 'CHIP_PORT + 1' instead of CHIP… #4590
Conversation
…_PORT #### Problem `chip-tool` is sometimes used to connect to a local accessory server running on the same machine. In this case the accessory server and chip-tool conflicts because both listens to port `11097` (`CHIP_TOOL`). It is easy to workaround this by adding a `ListenPort=11098` to `/tmp/chip_tool_config.ini` but it requires an extra step that is not necessary. #### Summary of changes * Listen on port `CHIP_PORT + 1` by default instead of `CHIP_PORT`
Should we add a command-line argument instead? Although we are loking to deprecate chip tool, so maybe either approach works just as well. |
At some point I should probably rewrite the command line parsing ability of
On a side note it's possible that |
…_PORT (project-chip#4590) #### Problem `chip-tool` is sometimes used to connect to a local accessory server running on the same machine. In this case the accessory server and chip-tool conflicts because both listens to port `11097` (`CHIP_TOOL`). It is easy to workaround this by adding a `ListenPort=11098` to `/tmp/chip_tool_config.ini` but it requires an extra step that is not necessary. #### Summary of changes * Listen on port `CHIP_PORT + 1` by default instead of `CHIP_PORT`
…_PORT (project-chip#4590) #### Problem `chip-tool` is sometimes used to connect to a local accessory server running on the same machine. In this case the accessory server and chip-tool conflicts because both listens to port `11097` (`CHIP_TOOL`). It is easy to workaround this by adding a `ListenPort=11098` to `/tmp/chip_tool_config.ini` but it requires an extra step that is not necessary. #### Summary of changes * Listen on port `CHIP_PORT + 1` by default instead of `CHIP_PORT`
…_PORT (project-chip#4590) #### Problem `chip-tool` is sometimes used to connect to a local accessory server running on the same machine. In this case the accessory server and chip-tool conflicts because both listens to port `11097` (`CHIP_TOOL`). It is easy to workaround this by adding a `ListenPort=11098` to `/tmp/chip_tool_config.ini` but it requires an extra step that is not necessary. #### Summary of changes * Listen on port `CHIP_PORT + 1` by default instead of `CHIP_PORT`
…_PORT
Problem
chip-tool
is sometimes used to connect to a local accessory server running on the same machine. In this case the accessory server and chip-tool conflicts because both listens to port11097
(CHIP_TOOL
).It is easy to workaround this by adding a
ListenPort=11098
to/tmp/chip_tool_config.ini
but it requires an extra step that is not necessary.Summary of changes
CHIP_PORT + 1
by default instead ofCHIP_PORT