Hi MyeongGi,

Thanks for the answer.

Regards,
Shaoguang

From: MyeongGi Jeong [mailto:[email protected]]
Sent: Thursday, January 14, 2016 16:11
To: Li, ShaoguangX; 'iotivity-dev'
Subject: Re: Re: [dev] Iotivity data block transmission


Hi, Shaoguang



For Blockwise transfer, IoTivity automatically devides the payload data into 
small block series if the size is larger that 1KB.

You don't need to do anything for it.

The transmission flow follows the following :

https://tools.ietf.org/html/draft-ietf-core-block-18



And you can use TCP data transmission by selecting the transfer type as 
'CT_ADAPTER_TCP'

The uri scheme have to begin 'coap+tcp' and the port number is fixed as 8000. ( 
You can change ).

Please don't forget you should build binary with TCP TRANSPORT_TYPE because 
this feature is optional.



Thanks

Best Regards,

---

MyeongGi Jeong

Senior Engineer, Software Architect

Software R&D Center, Samsung Electronics Co., Ltd.

+82-10-3328-1130 | +82-2-6147-7699







------- Original Message -------

Sender : Li, ShaoguangX<shaoguangx.li at intel.com<mailto:shaoguangx.li at 
intel.com>>

Date : 2016-01-14 10:37 (GMT+09:00)

Title : Re: [dev] Iotivity data block transmission


Hi Uze,

Thanks for the answer.

I?m planning to try the data transfer, can you please provide some detailed 
information about how to use these 2 mechanism, or tell me where I can find the 
detailed instruction?

Thanks again!

Regards,
Shaoguang

From: ???(Uze Choi) [mailto:[email protected]]
Sent: Wednesday, January 13, 2016 18:33
To: Li, ShaoguangX; 'iotivity-dev'
Subject: RE: [dev] Iotivity data block transmission

Hi, Shaoguang,

IoTivity provide the block-wise transfer mechanism which concatenate the large 
size data into 1KB byte blocks.
However, this mechanism usually takes the relatively large computing resource 
to aggregate the fragmented block into original and so on.
CoAP over TCP connectivity can be selected as alternative channel for your use 
case.
For this one, you need to build the Iotivity by enabling the CoAP over TCP 
connectivity.

BR, Uze Choi
From: iotivity-dev-bounces at lists.iotivity.org<mailto:iotivity-dev-bounces at 
lists.iotivity.org> [mailto:[email protected]] On Behalf 
Of Li, ShaoguangX
Sent: Wednesday, January 13, 2016 7:01 PM
To: iotivity-dev
Subject: [dev] Iotivity data block transmission

Hi All,

Does Iotivity provide any mechanism to transmit a block of data  whose size is 
relatively large (e.g.  1MB) from an OIC server to an OIC client?

Regards,
Shaoguang


[cid:image001.gif at 01D14EF1.636B3430]

[http://ext.samsung.net/mailcheck/SeenTimeChecker?do=213efb02e5f841dc1594e13d6d84605b207f4e7d94077b04032aa89e99be1a3e9ecbf11f6b8d2cbdc725b3fc8019f0caaa8f112c08b63c45db9fdddda33e82cbe4a391424e62fcf6cf878f9a26ce15a0]
-------------- next part --------------
An HTML attachment was scrubbed...
URL: 
<http://lists.iotivity.org/pipermail/iotivity-dev/attachments/20160114/f37fcf31/attachment.html>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: image001.gif
Type: image/gif
Size: 13168 bytes
Desc: image001.gif
URL: 
<http://lists.iotivity.org/pipermail/iotivity-dev/attachments/20160114/f37fcf31/attachment.gif>

Reply via email to