[dev] Question about resource with multiple resource types

2016-09-02 Thread Annie Weng
u OCF for more correct answer. BR, Uze Choi. - Original Message - Sender : Annie Weng Date : 2016-09-01 18:18 (GMT+9) Title : RE: [dev] Question about resource with multiple resource types Hi Uze: But, how to deal with case when the 2 rt have the attributes with the same name

[dev] Question about resource with multiple resource types

2016-09-01 Thread Annie Weng
ink. You can refer email addr from dev mail achieve. BR Uze Choi - Original Message - Sender : Annie Weng Date : 2016-09-01 15:27 (GMT+9) Title : RE: [dev] Question about resource with multiple resource types Hi Uze: For a one-rt resource, everything would be OK. But for a multi

[dev] Question about resource with multiple resource types

2016-09-01 Thread Annie Weng
each resource type, I think. You can check it thru OCF Core technology WG mailing list for correct answer. BR, Uze Choi From: iotivity-dev-boun...@lists.iotivity.org [mailto:iotivity-dev-bounces at lists.iotivity.org] On Behalf Of Annie Weng Sent: Thursday, September 01, 2016 12:36 PM To:

[dev] Question about resource with multiple resource types

2016-09-01 Thread Annie Weng
apply to xxx.r.b automatically?? 3. POST /MyResource payload{value=XXX} Apply to xxx.r.a?? or apply to both?? Thank you Best Regards, Annie _ From: Dave Thaler [mailto:dtha...@microsoft.com] Sent: Wednesday, August 31, 2016 1:44 AM To: Annie Weng; iotivity-dev at lists.

[dev] Question about non-secured resource with SECURD config enabled

2016-09-01 Thread Annie Weng
mmitter to answer. Randeep could you explain in detail? BR, Uze Choi From: Annie Weng [mailto:annie.w...@u-media.com.tw] Sent: Tuesday, August 30, 2016 6:23 PM To: '???(Uze Choi)'; iotivity-dev at lists.iotivity.org Subject: RE: [dev] Question about non-secured resource with SECURD conf

[dev] Question about resource with multiple resource types

2016-08-30 Thread Annie Weng
uot;:" oic.r. switch.binary"}} Thank you. Best Regards, Annie _ From: Annie Weng [mailto:annie.w...@u-media.com.tw] Sent: Friday, August 19, 2016 9:46 AM To: 'iotivity-dev at lists.iotivity.org' Subject: Question about resource with multiple resource types Hi A

[dev] Question about non-secured resource with SECURD config enabled

2016-08-30 Thread Annie Weng
:uzc...@samsung.com] Sent: Tuesday, August 30, 2016 12:20 PM To: 'Annie Weng'; iotivity-dev at lists.iotivity.org Subject: RE: [dev] Question about non-secured resource with SECURD config enabled SECURED is build option enabling security module. This will enable the ACL table check.

[dev] Question about non-secured resource with SECURD config enabled

2016-08-30 Thread Annie Weng
Hi All: I have some questions about OC_SECURED flag. May I have your help for it? (1) According to this message: http://lists.iotivity.org/pipermail/iotivity-dev/2015-December/003202.html As long as the SECURD config is enabled, SRM will always check the ACL, irrespective if OC_SECURED of t

[dev] Question about resource with multiple resource types

2016-08-19 Thread Annie Weng
Hi All: I'm confused about multiple resource types. According to the OIC draft spec 1.1.1, a resource could be "one or more" resource type. The definition of "OCResourceType" is also "link list". So, what will be the use case of multiple resource types? (I can only find one example: a device w

[dev] Mapping existing Bluetooth profiles

2016-08-10 Thread Annie Weng
Hi IoTivity Developers: I'm interesting to the mapping of Bluetooth profiles to OCF specification. According to the following mail, does it mean that the mapping is already existed? If yes, where could I get the mapping of Bluetooth profiles? Or, it just means developers are able to design thei

[dev] Will Easy-Setup support iOS mediator?

2016-07-27 Thread Annie Weng
Hi All: I have some questions about Easy-Setup mediator on iOS, Could someone help me for the following questions? 1. Will Easy-Setup support iOS mediator? 2. Current Easy-Setup Wiki only introduce "SoftAP-at-Mediator Mode". Will there be fully support for "SoftAP-at-Enrollee Mode"? (It s

[dev] Abnormal behavior of Resource-Encapsulation ResourceBroker

2016-07-01 Thread Annie Weng
Hi: I got something abnormal of Resource-Encapsulation ResourceBroker. It happens when the ResourceBroker recover the signal of the target resource after a brief disconnection. The detected ResourceState will vibrate between "ALIVE" and "LOST_SIGNAL" continuously. And the ResourceBroker will se

[dev] About Resource Hosting Sample Code (Linux)

2016-06-21 Thread Annie Weng
due to resource? Thank you. Best Regards, Annie _ From: ???(Uze Choi) [mailto:uzc...@samsung.com] Sent: Tuesday, June 21, 2016 2:16 PM To: 'Annie Weng'; iotivity-dev at lists.iotivity.org Subject: RE: [dev] About Resource Hosting Sample Code (Linux) Hi Annie, Ther

[dev] About Resource Hosting Sample Code (Linux)

2016-06-21 Thread Annie Weng
w of samples is different from the listed flow above, then which flow should we follow? Samples or RH Wiki? Thank you. Best Regards, Annie -Original Message- From: Mats Wichmann [mailto:m...@osg.samsung.com] Sent: Tuesday, June 21, 2016 11:16 AM To: Annie Weng; iotivity-dev at lists.

[dev] About Resource Hosting Sample Code (Linux)

2016-06-21 Thread Annie Weng
Hi All: Our team is now studying the resource hosing service. But it seems that the behavior of the sample code (for Linux) doesn't match the flow diagram of RH's wiki page (https://wiki.iotivity.org/resource_hosting). According to the flow diagram, there should be 3 main steps: 1. RH serv

[dev] Question about Plugin and ResourceContainer

2016-05-17 Thread Annie Weng
Hi Markus: I'll refer to these documentations first. Thanks a lot! Best Regards, Annie _ From: Markus Jung [mailto:markus.j...@samsung.com] Sent: Tuesday, May 17, 2016 12:25 PM To: Annie Weng Cc: Uze Choi; iotivity-dev at lists.iotivity.org Subject: Re: Re: [dev] Question

[dev] Question about Plugin and ResourceContainer

2016-05-17 Thread Annie Weng
Hi Uze: (Yes, it is the plugin directory. Sorry for the wrong wording.) Thanks so much for the reply! I'll use ResourceContainer for Zigbee bridge. Best Regards, Annie _ From: ???(Uze Choi) [mailto:uzc...@samsung.com] Sent: Tuesday, May 17, 2016 10:49 AM To: '

[dev] Question about Plugin and ResourceContainer

2016-05-17 Thread Annie Weng
Hi All: I'm interesting in the similarity of Plugin and ResourceContainer. I could see that there is a sub-project "plugin" to support Zigbee. Since "plugin" is also a kind of "non-OIC device" bridge, is it suitable to implement the same behavior of Zigbee plugin by ResourceContainer? ResourceC

[dev] Questions about RD observable flag

2016-05-10 Thread Annie Weng
Hi All: I would need some help for these two questions about RD observable flag: 1. According to this table: https://wiki.iotivity.org/_detail/res_resourcedirectory.png?id=iotivity_clou d_-_programming_guide There are a "bitmap" which can hold observable flag. And there is also an "obs" to sp

[dev] Cloud: client only discover 1st device in payload from RD

2016-05-05 Thread Annie Weng
Hi Eunok: Yes, it's the same problem. Thanks a lot! Best Regards, Annie _ From: Eunok Shin [mailto:eunok.s...@samsung.com] Sent: Wednesday, May 04, 2016 1:16 PM To: Annie Weng; iotivity-dev at lists.iotivity.org Subject: Re: [dev] Cloud: client only discover 1st devi

[dev] Cloud: client only discover 1st device in payload from RD

2016-05-04 Thread Annie Weng
Hi all: I got a problem about DISCOVERY of cloud. I have 2 devices that both publish their resources to RD. When client do DISCOVERY, RD will response the info of 2 devices in one payload. But, client can discover only the 1st one. I've checked the log, and client does get payload containing

[dev] About IotivityandZigbeeServer.c

2016-05-03 Thread Annie Weng
Hi, My colleague found something wired in IotivityandZigbeeServer.c. (plugins/samples/linux/IotivityandZigbeeServer.c) A pointer is freed but it will be used. It is in function SetDeviceInfo(), as the red lines below. OCStackResult SetDeviceInfo() { static OCDeviceInfo deviceInfo =

[dev] Error of Simulator software download

2016-04-28 Thread Annie Weng
Hi Uze Choi: This URL works. Thanks a lot! Best Regards, Annie _ From: ???(Uze Choi) [mailto:uzc...@samsung.com] Sent: Thursday, April 28, 2016 11:07 AM To: 'Annie Weng'; iotivity-dev at lists.iotivity.org Subject: RE: [dev] Error of Simulator software download Try

[dev] Error of Simulator software download

2016-04-28 Thread Annie Weng
ie _ From: ???(Uze Choi) [mailto:uzc...@samsung.com] Sent: Thursday, April 28, 2016 10:21 AM To: 'Annie Weng'; iotivity-dev at lists.iotivity.org Subject: RE: [dev] Error of Simulator software download Please use ftp to download. From: iotivity-dev-boun...@lists.ioti

[dev] Error of Simulator software download

2016-04-28 Thread Annie Weng
Hi All: I'm setting up the simulator tool and have a problem. I follow the steps here: https://wiki.iotivity.org/iotivity_tool_guide While doing this step: "Select Help > Install New Software.. In the dialog appears enter the URL

[dev] Cloud: When GET a disconnected resource, Client blocked after CI Response

2016-04-26 Thread Annie Weng
Hi JK and Eunok, Thanks for the kindly reply. I've also added error handler in my client sample. The problem is solved. Thank you & Best Regards, Annie _ From: Eunok Shin [mailto:eunok.s...@samsung.com] Sent: Tuesday, April 26, 2016 8:39 AM To: Annie Weng; iotivi

[dev] Cloud: When GET a disconnected resource, Client blocked after CI Response

2016-04-25 Thread Annie Weng
Hello, I got a problem when test the cloud using the sample code "cloud_device". The issue happens when the resource server disconnected, which has published its resource to RD. The resource document is still on RD, thus the client can still DISCOVER it. But when the client GET the resource, th

[dev] Trigger requests from cloud

2016-04-22 Thread Annie Weng
HI JK: It is very helpful! Thank you so much! Best Regards, Annie _ From: Jee Hyeok Kim [mailto:jihyeok13@samsung.com] Sent: Wednesday, April 20, 2016 6:16 PM To: Annie Weng; iotivity-dev at lists.iotivity.org Subject: Re: [dev] Trigger requests from cloud Hi Annie

[dev] Trigger requests from cloud

2016-04-20 Thread Annie Weng
Hi All: We are now developing on iotivity cloud. (iotivity-1.1.0) Being the admin, we wanna control all devices from cloud side directly. Is there any API to trigger CRUDN requests from Cloud Server? Or, we should just add a daemon as iotivity client on our cloud and access RD directly? Than

[dev] Why Max Age not implemented for OBSERVE case?

2016-03-02 Thread Annie Weng
Hi: Our team is developing resources based on IoTivity. And we wonder that why Max Age (RFC7641) is not implemented for OBSERVE but only for PRESENCE? For some special case, we would need the parameter MaxAge to let the client re-register the Notification. Ps. Our resource is immobile and non

[dev] OCResourceProperty OC_SLOW

2016-02-05 Thread Annie Weng
Hi: We have a resource which always response to the client slowly because it need a few seconds to deal with the request. Thus we are interesting in the resource property "OC_SLOW". But we did not find any specific implementation or use case to this property in IoTivity. The sample programs, ocserv

[dev] How long should the client application wait for theDiscovery response

2016-02-03 Thread Annie Weng
lists.iotivity.org] On Behalf Of Thiago Macieira Sent: Tuesday, February 02, 2016 2:55 PM To: iotivity-dev at lists.iotivity.org Subject: Re: [dev] How long should the client application wait for theDiscovery response On Tuesday 02 February 2016 11:24:41 Annie Weng wrote: > Hello Everyone, > > > &g

[dev] How long should the client application wait for the Discovery response

2016-02-02 Thread Annie Weng
Hello Everyone, Our team has some development based on IoTivity and we have a question about Timeout of Discovery. I referred to some example programs and also OIC core spec, and I didn't find things about Discovery Timeout after client sends a Discovery request. We wonder that how long should