[dev] C API: conditional code

2017-04-07 Thread Junghyun Oh
+1 on "stub out functions if they don't apply " 2017. 4. 6. ?? 11:27? "Mats Wichmann" ?? ??: > > Some of the code that *is* in the C API is bracketed in conditional > compilation. > > For example, ocpayload.h has: > > #ifdef __WITH_TLS__ > bool OCRepPayloadSetPropPubDataType(OCRepPayload *payloa

[dev] Transferring large files through IoTivity

2017-03-04 Thread Junghyun Oh
+2 to Thiago?s opinion. @Vandita I have tested both the CoAP and CoAP + TCP for implementing file transfer feature. and.. Case 1. with CoAP + TCP (with SECURED=1), it did not exceed 2 min when transferring the 50MB. Case 2. with CoAP (with SECURED=1), it did not exceed the 5 min when

[dev] IoTivity Resource collection Observe

2017-03-04 Thread Junghyun Oh
Hi there, I need to look into OIC Specification on the Collection observe one more time, however, there was a description on how to handle requet(ex: observe) on the collection resource (or maybe agreed implicitly) As you may know, collection has children resources and resource client could get

[dev] Resource Discovery performance issue

2017-02-19 Thread Junghyun Oh
Hi Max, When a resource server gets the ?Discovery Request (which is multicast GET on /oic/res)?, it returns a list of resources it has back to the requesting resource client. However, it is the iotivity stack of the resource client which reads the list and call the ?foundResource? callback wit

[dev] Transferring large files through IoTivity

2017-02-18 Thread Junghyun Oh
Hi Vandita, You can use the ?byte? data type to transfer a file. Let me share you the example representation so that you could get a tip for your need. /file/transfer { rt : [?x.com .mycompany.file.transfer?], if : [?oic.if.s?],

[dev] Removing depth 3 arrays from OCRepresentation to fix symbol name length issue

2017-02-15 Thread Junghyun Oh
Hi Pawel, My name is Jay and am working on utilizing iotivity for several home appliance products. Unfortunately, I have used this depth-3 arrays for some features on those products already and about to get certification test sooner or later. For the back-ward compatibility issue, those APIs rel

[dev] [feature request] merging secure/non-secure IoTivity build binaries

2016-06-06 Thread Junghyun Oh
I would like to put "+1" on Uze's proposal. Having 2 different IoTivity libraries on one device to support or to use both the un-secured and secured resources seems not right. FYI, currwntly the "Resource clients" are unavoidably mandated to have both un-secured & secured version of IoTivity libs

[dev] About lite device

2016-05-27 Thread Junghyun Oh
Hi Jinhong, If you build iotivity, you will have some libraries as a result. Among those libraries, you will see the "octbstack.so/a". That is the C based stack which I think you could use for your needs. Header file which carries the APIs that you will need to refer is "ocstack.h". You can find

[dev] [Dev] Crash in deviceDiscoveryClient build 1.1.0

2016-05-21 Thread Junghyun Oh
Hi Tim, It seems like we need to cherrypick this patch into 1.1 release version of IoTivity or put some information on the 1.1 release page for those 1.1 version users to apply this patch. Do you think we could apply this patch into the 1.1 rel version of IoTivity with any changes? Thank you.

[dev] Iotivity porting to arm based platforms

2016-04-23 Thread Junghyun Oh
Hello there, It would be helpful if you share us the error logs so that we could start from there. Thank you. Jay. > 2016. 4. 22., ?? 6:50, Kada Saikumar ??: > > Hi folks , > > >I 've been looking for a solution to port iotivity on arm devices > , thanks to Mr. Madan for his r

[dev] Proposal: explicit method for start of Resource Hosting

2016-01-15 Thread Junghyun Oh
JungYong, There was a request from the ?IoTivity Simulator? developer to share the plan for such API. I was kind of negative on the idea to extend the APIs without reasonable use-cases for it. However, I think it would be nice to have if the use-cases where this ?Resource-Hosting? feature coul

[dev] Proposal: explicit method for start of Resource Hosting

2016-01-14 Thread Junghyun Oh
Hi To my understanding, IoTivity Stack does not provide any APIs for updating the resource policy(such as discoverable or observable). Could provide us ?How the application could update the resource policy dynamically?? (ex Discoverable --> Non-discoverable) Thank you. Jay. From: iotivity-

[dev] [Scene Manager] Share a way how to form a Scene Collection resource

2016-01-08 Thread Junghyun Oh
Hi Jihoon, I added my comments inlined. Thank you. Jay. From: iotivity-dev-boun...@lists.iotivity.org [mailto:iotivity-dev- bounces at lists.iotivity.org] On Behalf Of ???(Uze Choi) Sent: Friday, January 08, 2016 1:46 PM To: jihun.ha at samsung.com; iotivity-dev at lists.iotivity.org Subj

[dev] Not able to access the non-secure resource registered into the IoTivity with Secured mode

2015-12-08 Thread Junghyun Oh
Hi Sachin, Sorry the late response. I?ve created the jira ticket and the link is (https://jira.iotivity.org/browse/IOT-899) Thank you. :) Jay. From: Agrawal, Sachin [mailto:sachin.agra...@intel.com] Sent: Monday, November 30, 2015 2:38 AM To: Junghyun Oh; iotivity Subject: RE: [dev

[dev] Not able to access the non-secure resource registered into the IoTivity with Secured mode

2015-11-26 Thread Junghyun Oh
Dear IoTivity-Security Maintainer, I have found that the non-secure resource registered into the IoTivity Stack with "Secured" mode cannot be accessed through the network. Here is the code snippet that I'm using. Case 1. Non-Secured Resource with Discoverable Property OCStackResult ret

[dev] IoTivity 1.0.1 release status

2015-11-25 Thread Junghyun Oh
Since the memory leak could lead the installed system to some critical problems, I prefer including this. However, as Jon mentioned I think we need to dig bit more why empty string has delivered later and patch the fix. Thank you. -Original Message- From: ???(Uze Choi) [mailto:uzc...@sams

[dev] What does the Attributes of the /oic/d stands for?

2015-11-25 Thread Junghyun Oh
Hi all, I found there're 4 attributes in the reserved URI /oic/d (Device Resource) in the IoTivity Stack. Those are "n", the device name, "di",. the device ID, "lcv", the spec version url and "dmv", the data model. The attributes "n" & "di" are relatively easy to understand what they stand for

[dev] Request for the critical patch for the Iotivity ver.1.0

2015-11-11 Thread Junghyun Oh
Hi all, I have 2 urgent requests for the critical(Major at least) patch for the IoTivity ver. 1.0. When I was tried to build a Resource Server & Client for the embaded device, I found some problems while executing provisioning the Resource Client into the Resource Server. I couldn't, however

[dev] Fail to build/run sample app for Android

2015-07-10 Thread Junghyun Oh
hotmail.com> > (Website) http://hungys.logdown.com/ <http://hungys.logdown.com/> > === > > ? 2015?7?9? ? 23:17:16, Junghyun Oh (jhvics1 at gmail.com <mailto:jhvics1 at > gmail.com>) ?: > >> Hi, >> >> You?ll need to wait till the API for the Andr

[dev] Fail to build/run sample app for Android

2015-07-10 Thread Junghyun Oh
Engineering and Computer Science Undergraduate Honors Program, > National Chiao-Tung Universiry, Hsinchu 300, Taiwan > (Phone) +886911012113 / +16262412272 > (Email) hungys at hotmail.com <mailto:hungys at hotmail.com> > (Website) http://hungys.logdown.com/ <http://hungys

[dev] Fail to build/run sample app for Android

2015-07-10 Thread Junghyun Oh
Hi, You?ll need to wait till the API for the Android Platform gets ready to use. Bindings between different module inside stack need to be done. To my experience, only wifi works on the Android for now(I didn?t tried the BT/BLE yet). I will share my experience when I found some tips to share. :)

[dev] Error running sample app (simpleserver) for Android

2015-07-10 Thread Junghyun Oh
Hi, Did you add the iotivity-armeabi-base-debug.aar as a module into dependencies list of your project ? Without it, your application cannot find the necessary native libs. Thank you. Jay. > 2015. 7. 8., ?? 8:24, Paraschiv, Andra ??: > > Hi, > > I am trying to run the simpleserver sample

[dev] UsatisfiedLinkError on android

2015-05-24 Thread Junghyun Oh
different issue on this mailing list. Thank you. Jay. > 2015. 5. 23., ?? 11:18, Junghyun Oh ??: > > Hi Tim, > > Thanks for the information. > However, the simple-client still does not able to discover the server > even-though I?ve manually changed the DEFAULT_INTERFACE

[dev] UsatisfiedLinkError on android

2015-05-23 Thread Junghyun Oh
> From: iotivity-dev-bounces at lists.iotivity.org [mailto:iotivity-dev-bounces > at lists.iotivity.org] On Behalf Of Junghyun Oh > Sent: Friday, May 22, 2015 10:37 AM > To: Lenahan, Charlie > Cc: iotivity-dev at lists.iotivity.org > Subject: Re: [dev] UsatisfiedLinkError on andr

[dev] UsatisfiedLinkError on android

2015-05-23 Thread Junghyun Oh
I?m also facing a problem when I tried to test the android version of the Simpleserver & Simpleclient. I have successfully built iotivity for android platform with build script as.. ?scons TARGET_OS=android TARGET_ARCH=armeabi TARGET_TRANSPORT=IP RELEASE=1? described Readme.scons.txt file. Ho

[dev] CBOR proposal

2015-04-12 Thread Junghyun Oh
Hi Thiago, In summary, by adapting the ?CBOR? .. (please correct me if i?m wrong) 1. Stack size will be bit more minimized by removing the ?cjson? lib. out of the Stack. 2. The MAXIMUM size of the payload might be lengthen. 3. The CBOR en/decoding might influence the performance. 4. Only

[dev] Why does the soft sensor manager need SQLite?

2015-04-12 Thread Junghyun Oh
Hi Thiago, Thanks for your comments, and sorry for that late response. I will let SSM developers to take a look at that issues and do what they have to do, and share you their comments if necessary. (Including, SQLite, Type Casting?) I can share you the design documents of the SSM for IoTivity 0

[dev] Proposing Keyword Dictionary for the IoTivity Project

2015-03-29 Thread Junghyun Oh
Hi all, I just added those definitions in the IoTivity WIKI site. Since, those are the commonly used keywords, it would be nice if develpers in the IoTivity community have a look at it. And please do propose/update the definition if it?s necessary. :) Thank you. Jay. > 2015. 3. 26., ?? 4:07, ??

[dev] [oswg] Re: Group Action Set discussion

2015-03-10 Thread Junghyun Oh
rch 2015 01:35:28 Junghyun Oh wrote: >> Hi Thiago, >> >> The string(actionSet) is for the in-process-use only. :) >> Meaning, the actions will be tokenized and not all but only some of the >> tokens will be sent over the wire. >> >> For example, in the action

[dev] [oswg] Re: Group Action Set discussion

2015-03-10 Thread Junghyun Oh
Hi Thiago, The string(actionSet) is for the in-process-use only. :) Meaning, the actions will be tokenized and not all but only some of the tokens will be sent over the wire. For example, in the actionSet "AllBulbOn*-mm-dd hh:mm:ss 1*uri=coap://x.x.x.10:/a/light|power=on*? the {?key?:?

[dev] API Naming convention for IoTivity

2015-02-03 Thread Junghyun Oh
Hi, everyone, I agree on the idea that we should drop the namespace ?oc? or ?oic? since they are not representing the IoTivity project. And basically do agree on the idea that we need to separate the namespace naming convention for c & c++ layer. However, won?t this different conventions make de

[dev] Control Manager

2015-01-26 Thread Junghyun Oh
Hi, everyone :) I would like to choose #2 with additional comments on it. Generally, we do use tools to do something quickly or not to add human-errors. Meaning, a tool is nothing a logic which helps us to create something we need. Therefore, I think we need to more focus on for what reason this t

[dev] [Question] Is there any alternative data model for the "AttributeMap" (Which is removed now..)

2015-01-04 Thread Junghyun Oh
Hi Erich, I think your suggestion seems satisfies my needs. Here is the code snippet the I've wrote based on suggestion & please do correct me if I'm wrong.. // Hosting Module.. OCResource cur_res; std::map HostingRes; foundResource(std::shared_ptr resource) { // check whether found resou