An open API service indexing awesome lists of open source software.

https://github.com/nttcom/skyway-siru-device

SkyWay IoT SDK room utility for device
https://github.com/nttcom/skyway-siru-device

Last synced: about 2 months ago
JSON representation

SkyWay IoT SDK room utility for device

Awesome Lists containing this project

README

          

# SiRu device

SkyWay IoT SDK room utility for device

## snipet

```javascript
const siru = new SiRuDevice('myroom')

siru.on('connect', () => {
siru.subscribe('presence')

siru.publish('presence', `${siru.myid}: hello world.`)
})

siru.get('/echo/:message', (req, res) => {
res.send(req.params.message)
})
```

# Install

## npm

```bash
$ npm install skyway-siru-device
```

# API reference

* [API reference - SiRu device](https://github.com/nttcom/skyway-iot-sdk/blob/master/docs/apiref/siru_device.md)

---

Copyright. NTT Communications Corporation All Rights Reserved.