run_csis_servers: Update usage and add docs entry

Amends the usage of the script and the example that show when executed incorrectly.
Adds basic information to the `examples` section of the documentation.
This commit is contained in:
Wojciech Pietraszewski
2024-09-27 17:09:08 +02:00
parent 7b34bb4050
commit 669bb3f3a8
2 changed files with 5 additions and 5 deletions
+2 -5
View File
@@ -38,13 +38,10 @@ from bumble.transport import open_transport_or_link
async def main() -> None:
if len(sys.argv) < 3:
print(
'Usage: run_cig_setup.py <config-file>'
'Usage: run_csis_servers.py <config-file> '
'<transport-spec-for-device-1> <transport-spec-for-device-2>'
)
print(
'example: run_cig_setup.py device1.json'
'tcp-client:127.0.0.1:6402 tcp-client:127.0.0.1:6402'
)
print('example: run_csis_servers.py device1.json ' 'hci-socket:0 hci-socket:1')
return
print('<<< connecting to HCI...')