Skip to content
This repository has been archived by the owner on Jul 6, 2022. It is now read-only.

Swiched from PAHO to AWS IoT SDK, added Cognito authorization #2

Open
wants to merge 2 commits into
base: master
Choose a base branch
from
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
The table of contents is too big for display.
Diff view
Diff view
  •  
  •  
  •  
2 changes: 2 additions & 0 deletions mqttSample/README
Original file line number Diff line number Diff line change
@@ -1 +1,3 @@
Be sure to serve the files from a web service. Opening index.html from local file system will not work when establishing the WebSocket connection.

This example uses AWS IoT Device SDK for Node.js and from https://github.com/aws/aws-iot-device-sdk-js, which includes a script to make it browser-compatible and AWS SDK bundle which can be built here https://sdk.amazonaws.com/builder/js/ and only requires AWS.CognitoIdentity and AWS.Iot functionality.
7 changes: 2 additions & 5 deletions mqttSample/bower.json
Original file line number Diff line number Diff line change
Expand Up @@ -16,10 +16,7 @@
"tests"
],
"dependencies": {
"paho-mqtt-js": "~1.0.1",
"angular": "~1.4.8",
"bootstrap": "~3.3.6",
"moment": "momentjs#~2.11.1",
"cryptojslib": "~3.1.2"
"angular": "~1.6.1",
"bootstrap": "~3.3.6"
}
}

Large diffs are not rendered by default.

7 changes: 7 additions & 0 deletions mqttSample/bower_components/aws-sdk/aws-sdk-2.10.0.min.js

Large diffs are not rendered by default.

22 changes: 0 additions & 22 deletions mqttSample/bower_components/cryptojslib/.bower.json

This file was deleted.

22 changes: 0 additions & 22 deletions mqttSample/bower_components/cryptojslib/.gitattributes

This file was deleted.

215 changes: 0 additions & 215 deletions mqttSample/bower_components/cryptojslib/.gitignore

This file was deleted.

108 changes: 0 additions & 108 deletions mqttSample/bower_components/cryptojslib/README.md

This file was deleted.

Loading