/AWS_IoT_Core_MQTT_Over_Websocket

Basic example of Websocket connect to AWS IoT Core MQTT using Signature V4

Primary LanguageJavaScriptMIT LicenseMIT

AWS_IoT_Core_MQTT_Over_Websocket

Introduction

  • This repo contain basic example on how to connect to MQTT IoT Core through websocket using Signature V4.
  • Get your signature V4 from this example AWS_IoT_Core_Signature_V4.
  • Feel free to explore the code at your own risk. 😜

Tech

This repo uses open source projects to work properly:

Installation

Fill up IotCoreEndPoint, topicSub and canonicalQuerystring in index.js

Install the dependencies and devDependencies.

cd AWS_IoT_Core_Signature_V4
npm install

Run test.js to execute lambda function in index.js

node index.js

License

MIT

Free Software, Syukran Alhamdulillah Thank to Allah!