IoT support in Eclipse Titan [message #1728007] |
Wed, 30 March 2016 08:09 |
|
Greetings.
Of course, IoT (as in Internet of Things) is a large area, with specific sub-domains such as ITS, Smart Grid etc. and specific, sometimes rather complex, protocol stacks.
ITS for sure matches an average telecom stack in complexity, but then aboard a vehicle there's sufficient power and room for processing capacity, which is not generally true for IoT.
But a significant part of IoT can be covered with the protocols in the below diagram:
+--------------------------+
| |
| Binary/JSON/XML | Titan codecs
| |
+-----------+----+----+----+
| |Web- | | | | TP: HTTPasp
|HTTP|socket| |CoAP| | PM: Websocket/XMPP/HTTP/CoAP/MQTT
| | | | | |
| | |XMPP| |MQTT|
+----+---------------------+
| DTLS/TLS | TLS_Handler
+--------------------------+
| | PM: UDP/TCP
| UDP/TCP | TP: UDPasp/TCPasp/IPL4asp
+--------------------------+
| |
| IPV4/IPV6 | PM: IP
+--------------------------+
| |
| L2 | TP: LANL2asp, PCAPasp
| |
+--------------------------+
| L1 |
| |
+--------------------------+
Some are inherited from web, such as HTTP, Websocket, XMPP, some are optimized for IOT , as CoAP and MQTT. They carry a binary or JSON payload, sometimes (rarely , due to the overhead) XML.
These payloads can be encoded/decoded using Titan's RAW/JSON/XML codecs.
Different combinations of Titan building blocks can be used for different protocol verticals, as seen below.
In rest of this text, the following acronyms will be used for simplicity:
TP for test port and PM for protocol module.
The IPL4 TP can be used in UDP or TCP (or SCTP ) mode. It has TLS and partial DTLS support.
The UDP test port has no DTLS support, for that a separate , soon-to-be released TLS_Handler will be needed.
The TCP test port has TLS support.
The TLS_Handler can be used as a TLS/DTLS alternative for all these test ports.
The PCAPasp TP can be used for packet capture, and of course we can tap into L2 with the LANL2asp TP .
And now the possible combinations for the different protocols:
HTTP/(TLS)/TCP: HTTP TP or HTTP PM with TCP (or IPL4) TP
XMPP/(TLS)/TCP: XMPP PM with TCP (or IPL4) TP
CoAP/(DTLS)/UDP: CoAP PM with UDP (or IPL4) TP , TLS_Handler for DTLS
MQTT/((TLS)/TCP MQTT PM with TCP (or IPL4) TP , optionally TLS_Handler
Websocket/(TLS)/TCP Websocket PM with TCP (or IPL4) TP , optionally TLS_Handler
Links from https://github.com/eclipse/titan.core
will take you to each of these products mentioned above.
So anyone willing to experiment with IoT, be it testing or even application development, has a versatile set of blocks to start playing with.
Show us what you can do with it!
Best regards
Elemer
[Updated on: Wed, 30 March 2016 15:58] Report message to a moderator
|
|
|
|
|
|
Powered by
FUDForum. Page generated in 0.04079 seconds