Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/pwntus/mcu-server
https://github.com/pwntus/mcu-server
Last synced: 5 days ago
JSON representation
- Host: GitHub
- URL: https://github.com/pwntus/mcu-server
- Owner: Pwntus
- Created: 2017-02-21T22:20:24.000Z (almost 8 years ago)
- Default Branch: master
- Last Pushed: 2017-02-27T18:42:01.000Z (almost 8 years ago)
- Last Synced: 2024-12-15T19:05:37.021Z (7 days ago)
- Language: JavaScript
- Size: 24.4 KB
- Stars: 0
- Watchers: 3
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# MQTT client with Cloud Connect cognito authentication
Demonstration on how to use the `cloud-connect` Node.js module to authenticate with Cognito identity.
## Install local cloud-connect NPM module
```
$ cd cloud-connect
/cloud-connect$ npm link && cd ..
$ npm link cloud-connect
$ npm install
```### Run cloud-connect with Cognito identity
```
$ node lib/cognito.js -u -P -v -a 064445364562 -e prod -s '' -p ''
```#### MQTT topic format
`pub///`
`sub///`
E.g.
`sub/UIT IFI course/pau001/00000273`
**N.B.** Replace dash `-` with whitespace.