https://github.com/jollen/wotcity-broker
This project has been move to https://github.com/wotcity/websocket-broker.
https://github.com/jollen/wotcity-broker
Last synced: 7 months ago
JSON representation
This project has been move to https://github.com/wotcity/websocket-broker.
- Host: GitHub
- URL: https://github.com/jollen/wotcity-broker
- Owner: jollen
- License: mit
- Created: 2015-02-04T07:59:56.000Z (over 11 years ago)
- Default Branch: master
- Last Pushed: 2015-05-09T13:57:51.000Z (about 11 years ago)
- Last Synced: 2025-01-19T05:59:13.926Z (over 1 year ago)
- Language: JavaScript
- Homepage:
- Size: 313 KB
- Stars: 0
- Watchers: 9
- Forks: 0
- Open Issues: 2
-
Metadata Files:
- Readme: README.md
- Changelog: History.md
- License: LICENSE
Awesome Lists containing this project
README
# DEPRECATED
* This project has been move to `https://github.com/wotcity/dotcity-websocket-broker`.
* This project has been migrated from BSD license to Apache 2.0 license (prepare to open source).
## WoT.City
Websocket channel for ARM mbed.
## Install
## Usage
## Try *ws://wot.city*
To send the data over the Internet, mbed device should use the url below to establish a connection with the server.
```
ws://wot.city/object/[name]/send
```
You must specify a object name for the connection. For example:
```
ws://wot.city/object/mbedtaiwan/send
```
To receive data from the server, the frontend should use the url below to establish a connection with the server.
```
ws://wot.city/object/[name]/viewer
```
Also, you need to specify the object name. For example:
```
ws://wot.city/object/mbedtaiwan/viewer
```
An mbed object has two significant resources, *send* and *viewer*. *send* receives data streams over Websocket connection, and *viewer* sends data streams to Websocket clients.