contrib/iotivity.git
9 years agoUpdated TB Stack Unittest source code and makefile to be up to date with current...
Joseph Morrow [Fri, 8 Aug 2014 17:29:36 +0000 (13:29 -0400)]
Updated TB Stack Unittest source code and makefile to be up to date with current state of TB Stack.

9 years agoFixing the unit test Makefile so it can find cJSON in ccf-utilities
Adam Westhusing [Fri, 8 Aug 2014 15:24:19 +0000 (11:24 -0400)]
Fixing the unit test Makefile so it can find cJSON in ccf-utilities

9 years agoFixing the unit tests so that they build in Jenkins.
Adam Westhusing [Fri, 8 Aug 2014 15:16:17 +0000 (11:16 -0400)]
Fixing the unit tests so that they build in Jenkins.

9 years agoFixed a TODO that got reported by Chris
Erich Keane [Thu, 7 Aug 2014 22:16:12 +0000 (15:16 -0700)]
Fixed a TODO that got reported by Chris
Change-Id: I185ea9161f40a920d9183a33482c7d410d1d0caa

9 years agoMerge "Removing resourceAttributeRepresentation and allowedMethods parameters through...
Keane, Erich [Thu, 7 Aug 2014 22:09:29 +0000 (15:09 -0700)]
Merge "Removing resourceAttributeRepresentation and allowedMethods parameters through the C Stack. These parameters are not required, and confusing C++ stack developers."

9 years agoMerge "US1310: C++ Client will now do callbacks when an error callback is received...
Erich Keane [Thu, 7 Aug 2014 21:31:51 +0000 (14:31 -0700)]
Merge "US1310: C++ Client will now do callbacks when an error callback is received and it is required to by the spec"

9 years agoUS1310: C++ Client will now do callbacks when an error callback is received and it...
Erich Keane [Wed, 6 Aug 2014 03:15:59 +0000 (20:15 -0700)]
US1310: C++ Client will now do callbacks when an error callback is received and it is required to by the spec

Patch 2 & 3: responded to code-review feedback

Change-Id: I726cca729164ae5eb13ac154a0bec9819e2f441f

9 years agoAdded Release Notes from Sudarshan.
William R. Dieter [Thu, 7 Aug 2014 01:00:36 +0000 (21:00 -0400)]
Added Release Notes from Sudarshan.

Change-Id: Ibff971b9b9ba6b42f08b427503cc44d5b40b4f59

9 years agoRemoving resourceAttributeRepresentation and allowedMethods parameters through the...
Sashi Penta [Wed, 6 Aug 2014 21:41:19 +0000 (14:41 -0700)]
Removing resourceAttributeRepresentation and allowedMethods parameters through the C Stack. These parameters are not required, and confusing C++ stack developers.

9 years agoFixed the makefile to properly use CJSON
Erich Keane [Tue, 5 Aug 2014 21:58:16 +0000 (14:58 -0700)]
Fixed the makefile to properly use CJSON

9 years agoMerge branch 'master' of ssh://git-amr-1.devtools.intel.com:29418/ccf-resource
Erich Keane [Tue, 5 Aug 2014 21:51:56 +0000 (14:51 -0700)]
Merge branch 'master' of ssh://git-amr-1.devtools.intel.com:29418/ccf-resource

9 years agoAll changes in the C++ stack to get the Get/put/StartObserve functionality working...
Sashi Penta [Tue, 5 Aug 2014 21:21:47 +0000 (14:21 -0700)]
All changes in the C++ stack to get the Get/put/StartObserve functionality working.  Combination/squash of Sashi & Erich's effort.

Patch3: OCStackResult return added to registerResource

Patch4: Simplified simpleserver.cpp

Patch5: Cleaned InProcServerWrapper.cpp

Patch6: Responded to a number of issues that came up as a part of the code review (thanks Jesse!)

Patch7: Review comments from Sudarshan/Sam

Patch8: Rebased on PS21 from Joey, enabled cancel, pushing so we can debug it.

Patch9: Got cancel working correctly, removed the Cancel callback, since we aren't provided with it from the lower layer

Patch10: Cleaned some tabs space. Changed the resource to core.light. Removed examples from examples. and other cleanups.

Patch11: Header file changes from Sudarshan. Fixed tabs.

Patch12: Rebase

Patch13: improved examples. Added myLightResource.setRepresentation()

Patch14: Simple one line change (adding a new line)

Change-Id: Ic6fb03372bf9ff2bca94ff9605fd5f30ce5fac1f

9 years agoTo come on this changeset: All convergences between and server and client observation...
Vijay Kesavan [Tue, 5 Aug 2014 21:19:25 +0000 (14:19 -0700)]
To come on this changeset: All convergences between and server and client observation functionality.

Added changes for implementing SequenceNum on Client Side.

Fixed token nuances. Now server and client utilize the same token.

Added Delete functionality to observer implementation.

Sequence Iterator work...It works!! :D

Patch #7 : Modified OCClientResponseHandler callback signature. Updated occlient sample app to reflect that.
   Updated code in OCDoResource API for proper error handling.
   Updated OCClientCb.h to store DoHandle instead of address of DoHandle.
   Took care of some other small tid-bits regarding code formatiing.

Patch #8 : Made one little change Sachin forgot. Check for ptr == NULL not needed when calling free().

Patch #9 : Put in logic for OBSERVE_ALL notification Vs. OBSERVE on client-side. Now client will not accept notifications out of order if OC_REST_OBSERVE is used.

Patch #10 & 11: Added more complete logic for OBSERVE Vs. OBSERVE_ALL logic.  Also verified that out of order notifications are handled correctly in each case.

Patch #12: Added functionality to convert coap errors to OC stack errors for server respsonses.
    Updated OCClient application to weild specific usage scenarios.

Patch #13: Added fix for some of code review comments by Jesse.
   Updated occlient.cpp to OC_REST_OBSERVE in InitObserveRequest method.

Patch #14: (Joey)  Added RST to Remove Observations logic.

Patch #15:  Rebase on master

Patch #16: (Vijay) Observe delete on server

Patch #17: (Vijay) Fixed issues with cancel (cancel observe still not working)

Patch #18: (Joey) Reverted and Fixed issues with cancel observe.

Patch #19: (Vijay) Observer list delete

Patch #20: (Joey) Fully implemented Cancel Observe. Needs Vijay's approval. (I.e. if Vijay +1's we're done make changes except for code review changes)

Patch #21: (Joey) Cleaned up ALL warnings (minus TODO pragma messages someone has put in.).

Patch #22: (Vijay) Clean up of observe delete and removed printfs

Patch #23: (Vijay) Addressed some of the review comments
Change-Id: Iad7a4263ece57f1545606a5cf05ddfcacb48d363

9 years agoInitial empty repository
EC TF Bind account [Tue, 5 Aug 2014 13:11:06 +0000 (06:11 -0700)]
Initial empty repository

9 years agoServer-side changes to support observe functionality.
Joseph Morrow [Sun, 3 Aug 2014 23:23:37 +0000 (19:23 -0400)]
Server-side changes to support observe functionality.

Moved/Added occoaptoken.h. There were some weird cyclical dependency patterns in the compiler.

CoAP token storage for observe sends.

Sending sequence numbers with observations.

Change-Id: Ib101a093c6c37066e4b6d51218fc689f2c5423e5

9 years agoAdded API enum for removing observation of servers' resource.
Joseph Morrow [Sun, 3 Aug 2014 00:05:05 +0000 (20:05 -0400)]
Added API enum for removing observation of servers' resource.

Turned out to be a very minimal change to the public API.

Added more changes to fulfill callback management requirements. (i.e. Token in/out on OCDoResource())

Reverted Token implementation. Defined "OCDoHandle"

Turned off many over-zealous ignore-warning flags. Fixed few errors that arose with that.

Made fixes to all modules (minus libcoap, which didnt need it) to get the stack to build with new infrastructure (i.e. baggage of maintaining ODDoHandle) in place.

Rebased on top of Sachin's changeset. Made changes so that the stack and apps build and compile.

Sachin made changes to a makefile. I rebased onto his patch set #6.

Changed "eth3" to "eth0" in sample apps. Turned tabs into spaces.

Somehow 'OCDoHandle' was commented out in my changeset? Well, I uncommented it out and it builds again. Logging ONLY works with "make BUILD=debug" now. I assume this is in alignment with Sachin's changes. -- So no worries on logging?

Implementation of send observe request in place now.

Change-Id: I93140cafc1dd51ba35fb47b1fb455fef7a95499a

9 years agoMerge "Initial check-in of GET code. This is Work In Progress and is NOT Tested....
Keane, Erich [Mon, 4 Aug 2014 18:52:31 +0000 (11:52 -0700)]
Merge "Initial check-in of GET code. This is Work In Progress and is NOT Tested. This check-in is to facilitate co-development. Patch 3: Added code to add payload in pdu for PUT request.   Added 'PUT' method in supported list. Patch 4: Added some changes to ocstack.c to bind the Entityhandler to the resource and also modified the client and          server c++ app, which uses the c apis to use GET. Patch 5: Merged Yamin's changes and Vijay's Arduino changesets. Patch 6: Updated ocserver/occlient sample apps to use OCLogger mechanism.   Some related changes in oclogger module. Patch 7: PUT API now function from C++ app using C APIs. Patch 8: Modified patch 7's commit blunder :( Patch 9: Fixed some of the review comments by Yamin.   Modified logic in occlient and ocserver test app to pass NULL when OCGetInterfaceAddress   api is unable to retrieve local IP address.   Fixed some method names to Upper Camel case."

9 years agoInitial check-in of GET code. This is Work In Progress and is NOT Tested. This check...
Sachin Agrawal [Sat, 2 Aug 2014 01:17:56 +0000 (18:17 -0700)]
Initial check-in of GET code. This is Work In Progress and is NOT Tested. This check-in is to facilitate co-development.
Patch 3: Added code to add payload in pdu for PUT request.
 Added 'PUT' method in supported list.
Patch 4: Added some changes to ocstack.c to bind the Entityhandler to the resource and also modified the client and
         server c++ app, which uses the c apis to use GET.
Patch 5: Merged Yamin's changes and Vijay's Arduino changesets.
Patch 6: Updated ocserver/occlient sample apps to use OCLogger mechanism.
 Some related changes in oclogger module.
Patch 7: PUT API now function from C++ app using C APIs.
Patch 8: Modified patch 7's commit blunder :(
Patch 9: Fixed some of the review comments by Yamin.
 Modified logic in occlient and ocserver test app to pass NULL when OCGetInterfaceAddress
 api is unable to retrieve local IP address.
 Fixed some method names to Upper Camel case.

Change-Id: Ic3469e01add2b44b6925dd0a91c32e6cf7b1e186

9 years agoAdded modified header files and samples for aug 5 deliverable. Lots of TODOs to compl...
Sudarshan Prasad [Wed, 30 Jul 2014 13:00:56 +0000 (06:00 -0700)]
Added modified header files and samples for aug 5 deliverable. Lots of TODOs to complete. But this will get the team going
Fixed the author issue

Change-Id: Ie2260641248a48ec4100882124223f462af9e19d

9 years agoMerge "Fix some build issues"
Dieter, William R [Fri, 25 Jul 2014 17:05:19 +0000 (10:05 -0700)]
Merge "Fix some build issues"

9 years agoMerge "Removing cJSON.c & cJSON.h source files from repo. I have no idea why they...
Dieter, William R [Fri, 25 Jul 2014 16:59:59 +0000 (09:59 -0700)]
Merge "Removing cJSON.c & cJSON.h source files from repo.  I have no idea why they were added after I removed them. This was overlooked at some point."

9 years agoRemoving cJSON.c & cJSON.h source files from repo. I have no idea why they were...
Joseph Morrow [Fri, 25 Jul 2014 16:24:28 +0000 (12:24 -0400)]
Removing cJSON.c & cJSON.h source files from repo.  I have no idea why they were added after I removed them. This was overlooked at some point.

Change-Id: I94902ab94f70b7d2fd79a98a604eef70354885fd

9 years agoUpdating makefiles to build in release mode by default. Restrict debug logs in debug...
Sachin Agrawal [Fri, 25 Jul 2014 15:38:18 +0000 (08:38 -0700)]
Updating makefiles to build in release mode by default. Restrict debug logs in debug builds only.
Patch 3 : Adding the Fix for seg fault in ocserverrequest.c(Fix provided by Erich).

Change-Id: I056c9fd293e51b0c5f08dc28cbd4f0cff9ad269b

9 years agoFix some build issues
Sashi Penta [Thu, 24 Jul 2014 23:21:22 +0000 (16:21 -0700)]
Fix some build issues

9 years agoMissed a few name conversions.
Jesse Williamson [Thu, 24 Jul 2014 03:42:30 +0000 (20:42 -0700)]
Missed a few name conversions.

9 years agoSymmetric property serialization; progress toward method binding; simplified some...
Erich Keane [Thu, 24 Jul 2014 16:14:27 +0000 (09:14 -0700)]
Symmetric property serialization; progress toward method binding; simplified some names.
Change-Id: Ic278672587dbbe939bdf41a2bee701f8dea1dda6

9 years agoUpdated license header to reference Apache 2.0 License
William R. Dieter [Wed, 23 Jul 2014 04:26:21 +0000 (00:26 -0400)]
Updated license header to reference Apache 2.0 License

Change-Id: I57416603084e7c2019d93ba1ce2c79b86092fb46

9 years agoSome cleanup.
Sashi Penta [Wed, 23 Jul 2014 00:22:05 +0000 (17:22 -0700)]
Some cleanup.

9 years agoInitial merge-commit of the OIC code. Should successfully do discovery for single...
Jesse Williamson [Tue, 22 Jul 2014 21:30:21 +0000 (14:30 -0700)]
Initial merge-commit of the OIC code.  Should successfully do discovery for single-level resources

Fixed the host address on the resource object

Removed echo messages form makefiles.

Moved cJSON to ccf-utilities repo.  Update makefiles accordingly.

Change-Id: I6c0798a1f9602db8a2800baec5561c8f1281f76f

Added copyright notice.

Change-Id: I6c0798a1f9602db8a2800baec5561c8f1281f76f