Corrected path in startup script
@@ -52,7 +52,7 @@ def format_credential_keys_text(credentialText):
def update_client_credentials(afr_source_dir, thing_name, wifi_ssid, wifi_passwd, wifi_security):
file_to_modify = os.path.join(
- afr_source_dir, 'demos', 'common', 'include', 'aws_clientcredential.h')
+ afr_source_dir, 'demos', 'include', 'aws_clientcredential.h')
filename = "aws_clientcredential.templ"
with open(filename,'r') as template_file:
@@ -69,7 +69,7 @@ def update_client_credentials(afr_source_dir, thing_name, wifi_ssid, wifi_passwd
def update_client_credential_keys(afr_source_dir, client_certificate_pem, client_private_key_pem):
file_to_modify = os.path.join(
- afr_source_dir, 'demos', 'common', 'include', 'aws_clientcredential_keys.h')
+ afr_source_dir, 'demos', 'include', 'aws_clientcredential_keys.h')
filename = "aws_clientcredential_keys.templ"
with open(filename,'r') as template_file:
@@ -84,7 +84,7 @@ def update_client_credential_keys(afr_source_dir, client_certificate_pem, client
def cleanup_client_credential_file(afr_source_dir):
client_credential_file = os.path.join(
- afr_source_dir, 'demos', 'common', 'include', 'aws_clientcredential.h')
+ afr_source_dir, 'demos', 'include', 'aws_clientcredential.h')
endpoint_string = "Paste AWS IoT Broker endpoint here."
wifi_ssid_string = "Paste Wi-Fi SSID here."
@@ -112,7 +112,7 @@ def cleanup_client_credential_file(afr_source_dir):
def cleanup_client_credential_keys_file(afr_source_dir):
client_credential_keys_file = os.path.join(
- afr_source_dir, 'demos', 'common', 'include', 'aws_clientcredential_keys.h')
+ afr_source_dir, 'demos', 'include', 'aws_clientcredential_keys.h')
certificate_pem_string = "Paste client certificate here."
private_key_pem_string = "Paste client private key here."
