diff --git a/samples/basic_connect.py b/samples/basic_connect.py index 58b7855a..a3761c0b 100644 --- a/samples/basic_connect.py +++ b/samples/basic_connect.py @@ -16,7 +16,7 @@ cmdUtils.register_command("cert", "", "Path to your client certificate in PEM format.", True, str) cmdUtils.register_command("port", "", "Connection port for direct connection. " + - "AWS IoT supports 433 and 8883 (optional, default=8883).", + "AWS IoT supports 443 and 8883 (optional, default=8883).", False, int) cmdUtils.register_command("client_id", "", "Client ID to use for MQTT connection (optional, default='test-*').", diff --git a/samples/fleetprovisioning.py b/samples/fleetprovisioning.py index 4d786021..c20a5aa7 100644 --- a/samples/fleetprovisioning.py +++ b/samples/fleetprovisioning.py @@ -33,7 +33,7 @@ cmdUtils.register_command("key", "", "Path to your key in PEM format.", True, str) cmdUtils.register_command("cert", "", "Path to your client certificate in PEM format.", True, str) cmdUtils.register_command("client_id", "", "Client ID to use for MQTT connection (optional, default='test-*').", default="test-" + str(uuid4())) -cmdUtils.register_command("port", "", "Connection port. AWS IoT supports 433 and 8883 (optional, default=auto).", type=int) +cmdUtils.register_command("port", "", "Connection port. AWS IoT supports 443 and 8883 (optional, default=auto).", type=int) cmdUtils.register_command("csr", "", "Path to CSR in Pem format (optional).") cmdUtils.register_command("template_name", "", "The name of your provisioning template.") cmdUtils.register_command("template_parameters", "", "Template parameters json.") diff --git a/samples/jobs.py b/samples/jobs.py index 4a1ce437..c1ca0e3a 100644 --- a/samples/jobs.py +++ b/samples/jobs.py @@ -45,7 +45,7 @@ cmdUtils.register_command("key", "", "Path to your key in PEM format.", True, str) cmdUtils.register_command("cert", "", "Path to your client certificate in PEM format.", True, str) cmdUtils.register_command("client_id", "", "Client ID to use for MQTT connection (optional, default='test-*').", default="test-" + str(uuid4())) -cmdUtils.register_command("port", "", "Connection port. AWS IoT supports 433 and 8883 (optional, default=auto).", type=int) +cmdUtils.register_command("port", "", "Connection port. AWS IoT supports 443 and 8883 (optional, default=auto).", type=int) cmdUtils.register_command("thing_name", "", "The name assigned to your IoT Thing", required=True) cmdUtils.register_command("job_time", "", "Emulate working on a job by sleeping this many seconds (optional, default='5')", default=5, type=int) # Needs to be called so the command utils parse the commands diff --git a/samples/pkcs11_connect.py b/samples/pkcs11_connect.py index cee40c64..772a6b50 100644 --- a/samples/pkcs11_connect.py +++ b/samples/pkcs11_connect.py @@ -25,7 +25,7 @@ "Client ID to use for MQTT connection (optional, default='test-*').", default="test-" + str(uuid4())) cmdUtils.register_command("port", "", - "Connection port. AWS IoT supports 433 and 8883 (optional, default=auto).", + "Connection port. AWS IoT supports 443 and 8883 (optional, default=auto).", type=int) cmdUtils.register_command("pkcs11_lib", "", "Path to PKCS#11 Library", required=True) cmdUtils.register_command("pin", "", "User PIN for logging into PKCS#11 token.", required=True) diff --git a/samples/pubsub.py b/samples/pubsub.py index a8233d4f..87bed58e 100644 --- a/samples/pubsub.py +++ b/samples/pubsub.py @@ -23,7 +23,7 @@ cmdUtils.add_common_logging_commands() cmdUtils.register_command("key", "", "Path to your key in PEM format.", True, str) cmdUtils.register_command("cert", "", "Path to your client certificate in PEM format.", True, str) -cmdUtils.register_command("port", "", "Connection port. AWS IoT supports 433 and 8883 (optional, default=auto).", type=int) +cmdUtils.register_command("port", "", "Connection port. AWS IoT supports 443 and 8883 (optional, default=auto).", type=int) cmdUtils.register_command("client_id", "", "Client ID to use for MQTT connection (optional, default='test-*').", default="test-" + str(uuid4())) cmdUtils.register_command("count", "", "The number of messages to send (optional, default='10').", default=10, type=int) # Needs to be called so the command utils parse the commands diff --git a/samples/shadow.py b/samples/shadow.py index 2b390361..7053cc25 100644 --- a/samples/shadow.py +++ b/samples/shadow.py @@ -36,7 +36,7 @@ cmdUtils.add_common_logging_commands() cmdUtils.register_command("key", "", "Path to your key in PEM format.", True, str) cmdUtils.register_command("cert", "", "Path to your client certificate in PEM format.", True, str) -cmdUtils.register_command("port", "", "Connection port. AWS IoT supports 433 and 8883 (optional, default=auto).", type=int) +cmdUtils.register_command("port", "", "Connection port. AWS IoT supports 443 and 8883 (optional, default=auto).", type=int) cmdUtils.register_command("client_id", "", "Client ID to use for MQTT connection (optional, default='test-*').", default="test-" + str(uuid4())) cmdUtils.register_command("thing_name", "", "The name assigned to your IoT Thing", required=True) cmdUtils.register_command("shadow_property", "", "The name of the shadow property you want to change (optional, default='color'", default="color")