BitBoxSwiss / bitbox02-firmware

Firmware code of the BitBox02 hardware wallet
https://bitbox.swiss/bitbox02
Apache License 2.0
215 stars 80 forks source link

simulator: add `--port` flag #1242

Closed benma closed 2 days ago

benma commented 3 days ago

We might want to use different ports or run multiple simulators in parallel for testing, in which case one must be able to specify the port.

asi345 commented 3 days ago

Seems like a good idea. Tested and it works fine. However, I propose that we also add an option to specify port in send_message.py then. Because python client in send_message is hardcoded to connect on port 15423 right now, making running multiple send_message instances impossible.

benma commented 3 days ago

@asi345 thanks, I added the flag to send_message.py