Script to simulate IoT devices to connect with AWS IoT core. If your device (is not unix based) doesn't support bash shell script file , look into the makeiot.sh file and run the commands on your own. It requires npm to be installed on the device.
- iot_simulator.js
- makeiot.sh
Make a folder cert. Open the file iot_simulator.js and edit the path, hostName and topic.
- Certificate with name : 'iot_thing-certificate.pem.crt'.
- Private key with name : 'iot_thing-private.pem.key'.
- Root CA with name : 'AmazonRootCA1.cer
- Go to the folder.
- run
chmod +x makeiot.sh
to make script executable.
Thanks
Ehsan