ejvaughan / cse521

CSE521 course project (car hacking)
MIT License
1 stars 0 forks source link

Configuration parameters for connecting to the AwS IoT API should be read in from a configuration file #2

Closed ejvaughan closed 7 years ago

ejvaughan commented 7 years ago

Overview

In order to connect to the AwS IoT service, our utility needs to supply the following information to the IoT APIs:

  1. Thing name
  2. Client ID
  3. Endpoint URL
  4. Port #
  5. Certificate file
  6. Private key file
  7. Root CA file

We should allow reading these parameters in from a configuration file, as well as passing them in via command line args.

ejvaughan commented 7 years ago

Fixed by f31ecfca69685d4c582a8c6149b85d8e69731c48 and 6dcbbb7d5f18d5b07b45ebf4f2bf0d6d0b5baac3.

The configuration parameters for connecting to AWS are now contained in src/car_iot.conf. To run the program, now specify the path to this file with the -f command line option.