Skip to main content


Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Eclipse Projects » Eclipse Titan » IoT support in Eclipse Titan(TTCN-3 building blocks for IoT)
IoT support in Eclipse Titan [message #1728007] Wed, 30 March 2016 08:09 Go to next message
Elemer Lelik is currently offline Elemer LelikFriend
Messages: 758
Registered: January 2015
Senior Member
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

Re: IoT support in Eclipse Titan [message #1728327 is a reply to message #1728007] Sat, 02 April 2016 04:13 Go to previous messageGo to next message
Gustavo Gonnet is currently offline Gustavo GonnetFriend
Messages: 34
Registered: October 2015
Location: Montreal, Quebec, Canada
Member
Challenge accepted!
https://www.hackster.io/gusgonnet/how-to-test-your-projects-with-titan-a633f2
Re: IoT support in Eclipse Titan [message #1728332 is a reply to message #1728327] Sat, 02 April 2016 06:29 Go to previous messageGo to next message
Elemer Lelik is currently offline Elemer LelikFriend
Messages: 758
Registered: January 2015
Senior Member
Great article, Gustavo, thank you!
Re: IoT support in Eclipse Titan [message #1728346 is a reply to message #1728332] Sat, 02 April 2016 18:42 Go to previous message
Gustavo Gonnet is currently offline Gustavo GonnetFriend
Messages: 34
Registered: October 2015
Location: Montreal, Quebec, Canada
Member
thanks, glad you liked it!
Gustavo.
Previous Topic:TTCN-3 and JSON encoding part 2
Next Topic:Eclipse Titan is participating in oneM2M's IoT conformance test project
Goto Forum:
  


Current Time: Thu Jun 21 05:02:39 GMT 2018

Powered by FUDForum. Page generated in 0.04518 seconds
.:: Contact :: Home ::.

Powered by: FUDforum 3.0.2.
Copyright ©2001-2010 FUDforum Bulletin Board Software

Back to the top