Skip to content

Latest commit

 

History

History
18 lines (15 loc) · 731 Bytes

README.md

File metadata and controls

18 lines (15 loc) · 731 Bytes

Currently written to support a D1 mini.

Setup

Before compiling:

  • Create a certificate for the IoT device.
  • Download the certificate and private key.
  • Grab the Amazon Root CA 1 from here.
  • Go to IoT Core Settings and copy the "Custom endpoint".
  • Run the following:
echo \#define AWS_IOT_ADDRESS \"<IOT CUSTOM ENDPOINT>\" > config.h
xxd -i <CA FILE> >> config.h
xxd -i <CERT FILE> >> config.h
xxd -i <KEY FILE> >> config.h
  • Copy config.h to src/