| IOTC Platform Ver: 2.1.0.25

- Flow Chart

Copyright (c) 2010 by Throughtek Co., Ltd. All Rights Reserved.

In IOTC platform, comparing with masters and servers, devices and clients are the ones needing manufactures to spend more development efforts to customize in order for some special features. To make development concept be clearer and process be more straightforward, this document lists the flow charts of common scenarios of devices and clients when they join IOTC platform and leverage facilities.

Also, a piece of pseudo code is attached for each flow chart for better description. To achieve easy reference purpose, the functions mentioned in pseudo code are exactly the one for real development. You can check the API Reference Guide for the details about the function usage and limitation.

Table of Contents

1. IOTC Data Transfer. 3

1.1. Device Side. 3

1.1.1. A device sends data to a client 3

1.1.2. A device sends two types of data to a client simultaneously. 4

1.1.3. A device sends data to multiple clients. 5

1.1.4. A device uses secure way to transfer data with a client 6

1.1.5. A device limits the number of connected clients. 7

1.2. Client Side. 8

1.2.1. A client receives data from a device. 8

1.2.2. A client receives data from a device and send back to the device simultaneously. 9

1.2.3. A client uses secure way to transfer data with a device. 10

1.2.4. A client limits the number of connected devices. 11

2. Reliable Data Transfer. 12

2.1. RDT Server Side. 12

2.1.1. A RDT server sends data to a RDT client 12

2.1.2. A RDT server sends multiple file to a RDT client simultaneously. 13

2.1.3. A RDT server limits the number of connected RDT clients. 14

2.2. RDT Client Side. 15

2.2.1. A RDT client receives data from a RDT server 15

2.2.2. A RDT client limits the number of connected RDT servers. 16

3. Audio / Video Data Transfer. 17

3.1. AV Server Side. 17

3.1.1. An AV server sends frame data and audio data to an AV client 17

3.1.2. An AV server streams frame data and audio data to multiple AV clients. 18

3.1.3. An AV server handles IO control request from an AV client while streaming. 19

3.2. AV Client Side. 20

3.2.1. An AV client receives frame data and audio data from an AV server 20

3.2.2. An AV client handles IO control request to an AV server while streaming. 21

1. IOTC Data Transfer

1.1. Device Side

1.1.1. A device sends data to a client

1.1.2. A device sends two types of data to a client simultaneously

1.1.3. A device sends data to multiple clients

1.1.4. A device uses secure way to transfer data with a client

1.1.5. A device limits the number of connected clients

1.2. Client Side

1.2.

1.2.1. A client receives data from a device

1.2.2. A client receives data from a device and send back to the device simultaneously

1.2.3. A client uses secure way to transfer data with a device

1.2.4. A client limits the number of connected devices

2. Reliable Data Transfer

1.

2.

2.1. RDT Server Side

2.

2.1.

2.1.1. A RDT server sends data to a RDT client

2.1.2. A RDT server sends multiple file to a RDT client simultaneously

2.1.3. A RDT server limits the number of connected RDT clients

2.2. RDT Client Side

2.2.

2.2.1. A RDT client receives data from a RDT server

2.2.2. A RDT client limits the number of connected RDT servers

3. Audio / Video Data Transfer

3.

3.1. AV Server Side

3.

3.1.

3.1.1. An AV server sends frame data and audio data to an AV client

3.1.2. An AV server streams frame data and audio data to multiple AV clients

3.1.3. An AV server handles IO control request from an AV client while streaming

3.2. AV Client Side

3.2.

3.2.1. An AV client receives frame data and audio data from an AV server

3.2.2. An AV client handles IO control request to an AV server while streaming