The Consolidated Protocols Maribor Meeting October 2013 Anartz Nuin & David Remón
The Consolidated Protocols
WIFI TCP/IP TLS MQTT
The Consolidated Protocols WIFI WIFI
The Consolidated Protocols WIFI l By default wireless protocol at home l No need of gateway/concentrator: a commercial router present in every house. If not, easily acquirable and cheap. l High Data rate (802.11n → over 100Mbps) l Allows the use of MQTT (lightweight messaging protocol) l Implements Security → WEP, WPA, WPA2
The Consolidated Protocols model TCP/IP TCP/IP
IP addresses Not defined yet The Consolidated Protocols model TCP/IP
l Implements Error control and Flow control: reliable connexion. l Widespread protocol used in the Internet home ↔ DI Connection Manager l Allows a TCP connexion always open: Appliance ↔ DI Connection Manager The Consolidated Protocols model TCP/IP
The Consolidated Protocols TLS TLS TLS encryption/decryption
The Consolidated Protocols TLS HTTP TLS in the Internet HTTP TLS in the Internet =https
The Consolidated Protocols TLS HTTP TLS in the Internet HTTP TLS HTTP TLS in SandS MQTT TLS =https
The Consolidated Protocols TLS l Standard security protocol in the Internet l DI and all the appliances share a certificate. l Together with Wifi Security → Double Encryption
The Consolidated Protocols TLS + WIFI l Standard security protocol in the Internet l DI and all the appliances share a certificate. l Together with Wifi Security → Double Encryption Double Encryption
The Consolidated Protocols TLS + WIFI WIFI encryption WEP/WPA/WPA2 TLS encryption Double Encryption
The Consolidated Protocols MQTT MQTT MQTT encoding/decoding
The Consolidated Protocols MQTT l Extremely lightweight messaging protocol Only 2 bytes of fixed headers l Type of data does not influence the communication l Widespread Application layer protocol for: IOT Internet of things M2M Machine to machine communications
WIFI TCP/IP TLS MQTT The Consolidated Protocols in SandS
The Consolidated Protocols in SandS WIFI TCP/IP TLS MQTT SandS frame:
The Consolidated Protocols in SandS First Experiments Tested all the protocols together
The Consolidated Protocols Implemented in node.js
Implemented in node.js The Consolidated Protocols socket
DI Connection Manager Test Environment
DI Connection Manager DI socket 8001
DI Connection Manager DI socket DI emulator 8001
DI Connection Manager DI socket DI emulator Browser
DI Connection Manager DI socket DI emulator 8001 Client = Appliances Browser
DI Connection Manager DI socket DI emulator Browser Client = Appliances 1883
DI Connection Manager DI socket DI emulator 8001 Client - Appliances Browser
Thanks for your attention