device folder von richie https://github.com/aws/aws-iot-device-sdk-js/tree/master/device
First of all create project folder where everything well take place Device Setup:
-
install Node (check first with node --version) cd ~ curl -sL https://deb.nodesource.com/setup_12.x | sudo -E bash - sudo apt-get install -y nodejs
-
then run: sudo apt-get install cmake sudo apt-get install libssl-dev
-
npm install
-
add Certs
mkdir certs and add / change names
- xxxxx-certificate.pem.crt
- xxxxx-private.pem.key
- root-CA.pem