- 15 Jan, 2018 1 commit
-
-
Philippe Coval authored
To support fedora-24 for ARTIK7 Change-Id: I8d40700b8f19fcbc71cb3ad3235cda990290792d Origin: https://gerrit.iotivity.org/gerrit/#/c/23299/Signed-off-by:
Philippe Coval <philippe.coval@osg.samsung.com> (cherry picked from commit 56ce7b64)
-
- 12 Jan, 2018 1 commit
-
-
Philippe Coval authored
This was needed for fedora-24 for ARTIK7 Bug: https://jira.iotivity.org/browse/IOT-1745 Change-Id: I177a277a07a0684e58f5935b5785de50b3d78af1 Signed-off-by:
Philippe Coval <philippe.coval@osg.samsung.com>
-
- 11 Jan, 2018 2 commits
-
-
Mats Wichmann authored
github evaluates the maturity of a project in part by whether it has certain things set up: a readme, a license, a contributions document and a code of conduct. There's no cost to adding the CONTRIBUTING.md which the github mirror will pick up - it's the content from a web page (and points to that page as well). Change-Id: Idb77d3b822482ddc430cf500eca0a6bae5ccc955 Signed-off-by:
Mats Wichmann <mats@linux.com> (cherry picked from commit 140f1b9f)
-
Philippe Coval authored
This was needed for fedora-24 for ARTIK7 Bug: https://jira.iotivity.org/browse/IOT-1745 Change-Id: I1dab992c31013170d2ec068e8ac05ef9c4d9c84a Origin: https://gerrit.iotivity.org/gerrit/#/c/23271/Signed-off-by:
Philippe Coval <philippe.coval@osg.samsung.com> (cherry picked from commit c56974d4)
-
- 08 Jan, 2018 1 commit
-
-
Philippe Coval authored
Fixed some Install rules and where they were missued, InstalTarget and UserInstall* were somehow overlapping. If prefix is not used, then install to separate folder in tree. See python comments for more details. Maybe this could be refactored later, but this change tried to keep the difference minimal. Other related fixes are separated in obvious patches. Instalation of supported examples to come later This was needed for ARTIK7 on fedora-24 Bug: https://jira.iotivity.org/browse/IOT-524 Change-Id: I2143f41c6dba7356617186f2d9cb68ef82323f5e Forwarded: https://gerrit.iotivity.org/gerrit/#/c/23403/ Origin: https://github.com/TizenTeam/iotivity/tree/sandbox/pcoval/on/master/fedoraSigned-off-by:
Philippe Coval <philippe.coval@osg.samsung.com>
-
- 02 Jan, 2018 6 commits
-
-
Oleksandr Dmytrenko authored
sample randompin server refactoring Bug: https://jira.iotivity.org/browse/IOT-2912 Change-Id: I4aa744a34d706a995fb8d4d7d2927ff29a2ec39a Signed-off-by:
Oleksandr Dmytrenko <o.dmytrenko@samsung.com>
-
Oleksandr Dmytrenko authored
svr db editor refactoring Bug: https://jira.iotivity.org/browse/IOT-2912 Change-Id: Id08cb65a06c296619bf81814bf4ca9490688e2c8 Signed-off-by:
Oleksandr Dmytrenko <o.dmytrenko@samsung.com>
-
Oleksandr Dmytrenko authored
cloud sample refactoring Bug: https://jira.iotivity.org/browse/IOT-2912 Change-Id: I5b229f56dcd21efb823e2663e418cfaee99f6ab5 Signed-off-by:
Oleksandr Dmytrenko <o.dmytrenko@samsung.com>
-
Oleksandr Dmytrenko authored
cpp provisioning refactoing Bug: https://jira.iotivity.org/browse/IOT-2912 Change-Id: Ic80a6a9df54d1f6930ea779ad0a95dcd5b843c1c Signed-off-by:
Oleksandr Dmytrenko <o.dmytrenko@samsung.com>
-
Aleksey authored
possible NULL derefence fix Change-Id: Ib1cb32a746555ae66bc89b26bb35fbcb52223c18 Signed-off-by:
Oleksii Beketov <ol.beketov@samsung.com> Signed-off-by:
Aleksey Volkov <a.volkov@samsung.com>
-
Oleksandr Dmytrenko authored
Possible NULL dereference fix Change-Id: I89f0883d2e20616585a143c6b96e00d19528a907 Signed-off-by:
Oleksii Beketov <ol.beketov@samsung.com> Signed-off-by:
Oleksandr Dmytrenko <o.dmytrenko@samsung.com>
-
- 19 Dec, 2017 1 commit
-
-
Philippe Coval authored
Previously .dat where placed in /bin this not nice Note yocto should align to this too Bug: https://jira.iotivity.org/browse/IOT-2541 Bug-Tizen: https://bugs.tizen.org/browse/TINF-861 Forwarded: https://gerrit.iotivity.org/gerrit/#/c/23293/ Origin: https://github.com/TizenTeam/iotivity/tree/sandbox/pcoval/on/master/fedora Change-Id: I1ea8ebbe63b6ff8d029a195882b9c7e8ec69e640 Signed-off-by:
Philippe Coval <philippe.coval@osg.samsung.com>
-
- 18 Dec, 2017 1 commit
-
-
George Nash authored
Two major modifications: 1) The aar file no longer adds the TARGET_ARCH to the name of the file. The aar file contains all of the architectures that were built upto that point. This has been the case for quite a while so the architecture in the name only indicated the build that created the aar file not the contents of the aar file. 2) When APK files are built it will try to build all possible architectures as well as the universal APK file. Bug: https://jira.iotivity.org/browse/IOT-582 Change-Id: I11f5db9f4cb8c634afe4417b280e5feec6c3d7e9 Signed-off-by:
George Nash <george.nash@intel.com>
-
- 13 Dec, 2017 1 commit
-
-
Philippe Coval authored
The fix is to do querry only on resource's address (to use CoAPs channel) Observed issue was: ./ocserverbasicops ./occlientbasicops -u 0 -c 0 -d 1 -p 0 -t 2 (...) INFO: occlientbasicops: Callback Context for GET query recvd successfully INFO: occlientbasicops: StackResult: OC_STACK_UNAUTHORIZED_REQ INFO: occlientbasicops: SEQUENCE NUMBER: 16777216 INFO: PayloadLog: NULL Payload INFO: occlientbasicops: =============> Get Response I fixed it to: INFO: occlientbasicops: StackResult: OC_STACK_OK (...) INFO: PayloadLog: Payload Type: Representation (...) INFO: PayloadLog: URI:/a/led (...) INFO: PayloadLog: state(bool):false (...) Extra note, it look like the parse function is never returning false. Change-Id: Id3e48c8a04453e87a09e7636ead9a9f64c499d44 Bug: https://jira.iotivity.org/browse/IOT-2390 Origin: https://gerrit.iotivity.org/gerrit/#/c/23637/Signed-off-by:
Philippe Coval <philippe.coval@osg.samsung.com> (cherry picked from commit f6394a48)
-
- 11 Dec, 2017 1 commit
-
-
Oleksii Beketov authored
Multiple ownership enable Change-Id: Ic6cff37ada8f84417c623bead93539f73d61b68d Signed-off-by:
Oleksii Beketov <ol.beketov@samsung.com>
-
- 08 Dec, 2017 4 commits
-
-
George Nash authored
This is needed to be able to set a deivice type to the /oic/d resource. Bug: https://jira.iotivity.org/browse/IOT-2774 Change-Id: I179d593f4b1e0408c18f7c28e6f8bda586223a9e Signed-off-by:
George Nash <george.nash@intel.com>
-
Mushfiqul Islam Antu authored
If a server supports both randompin and certificate then the doxm.sct value should be 24, instead of current default 16 on IoTivity. Change-Id: I017bed18d3e0ad568b662a03d9bd80134538a8c3 Signed-off-by:
Mushfiqul Islam Antu <i.mushfiq@samsung.com>
-
Vitalii Irkha authored
This is workaround. One of callbacks provide OC_STACK_INVALID_QUERY instead of OC_STACK_RESOURCE_DELETED. Details please see in https://jira.iotivity.org/browse/IOT-2788. Change-Id: Iccf2d6e5308ba2bc8322fa66c3acec395ef21811 Signed-off-by:
Vitalii Irkha <v.irkha@samsung.com>
-
Todd Malsbary authored
Bug: https://jira.iotivity.org/browse/IOT-2828 Change-Id: Iac85f39806857767bbc6f5dcab02057f791bb5bc Signed-off-by:
Todd Malsbary <todd.malsbary@intel.com>
-
- 04 Dec, 2017 1 commit
-
-
Senthil Kumar G S authored
It includes the following:- 1. [IOT-2909] Exclude read-only properties. Read-Write interface response for "/WiFiConfResURI" is currently including the read-only properties ("swat" and "swet") which is incorrect. These read-only properties should not be added in the "oic.if.rw" response for '/WiFiConfResURI'. 2. [IOT-2910] Handling post request to "/WiFiConfResURI" with baseline interface when there is no interface in the query paramter. 3. [IOT-2911] Remove "href" from the baseline response for "/WiFiConfResURI". Change-Id: I730efa70cedda4dbdb1f21df6e38fec657bc9bb7 Signed-off-by:
Senthil Kumar G S <senthil.gs@samsung.com>
-
- 30 Nov, 2017 1 commit
-
-
Mushfiqul Islam Antu authored
Current randompin database is having "sct" value 9. Which is improper. Correct value should be 16 Change-Id: I017bed18d3e0ad568b662a03d9bd80134538a8c1 Signed-off-by:
Mushfiqul Islam Antu <i.mushfiq@samsung.com>
-
- 29 Nov, 2017 1 commit
-
-
Mushfiqul Islam Antu authored
OCGetServerInstanceID() & OCGetServerInstanceID() these 2 APIs were keeping a local copy of doxm.deviceuuid, while there is no way to keep track whether doxm.deviceuuid was updated by the provisioning manager. So local copies are removed, each time d.di is required, it will be fetched doxm.deviceuuid Change-Id: I017bed18d3e0ad568b662a03d9bd80134538a8c2 Signed-off-by:
Mushfiqul Islam Antu <i.mushfiq@samsung.com>
-
- 23 Nov, 2017 2 commits
-
-
Senthil Kumar G S authored
For requests which come directly to child resources (/WiFiConfResURI, /CoapCloudConfResURI and /DevConfResURI), this patch will remove the "href" property from the response as spec doesn't mandate the addition of "href" in the response. And also, CTT expects the response from direct request to any child to be same as the response which comes for the same child through collection. For example: Properties in "rep" for '/WiFiConfResURI' should be same as the properties in the direct response for GET from '/WiFiConfResURI' resource. Currently "href" is not included in "rep" for child resources. But it is included in the direct response for GET/POST. When CTT compares both responses, it finds them different due of "href". This patch resolves the issue and still conforms to spec. Change-Id: I017bed18d3e0ad568b662a03d9bd80134538a8c0 Signed-off-by:
Senthil Kumar G S <senthil.gs@samsung.com>
-
Senthil Kumar G S authored
1. If one of the resources in the POST request over batch has invalid properties, then the response should include an empty "rep" for those resources. For all other resources with valid properties in the request, "rep" should include all the properties. 2. Allowing "cn" property to be set to ES_CONNECT_NONE. Change-Id: Ib819bed7a126717cc56df0fb32b3d9f3ec570682 Signed-off-by:
Senthil Kumar G S <senthil.gs@samsung.com>
-
- 22 Nov, 2017 2 commits
-
-
Vadym Riznyk authored
Add Cred add symmetric key pair Add Cred modification TrustCA cert is saved in cred->publicdata instead of optional data. (see https://gerrit.iotivity.org/gerrit/#/c/21983/) [IOT-2494] SVR DB Editor : Clean codes Fix typo, memleak Remove unnecessary codes. New Feature: https://jira.iotivity.org/browse/IOT-2494Signed-off-by:
Sangjoon Je <sangjoon.je@samsung.com> Change-Id: I487786c432c7d51ead84d08fca0326d34b10e27a Signed-off-by:
Vadym Riznyk <v.riznyk@samsung.com>
-
Vadym Riznyk authored
Adding InitPstatResourceToDefault() to svrdbeditor, for initialize gPstat and correctly get dos.state Change-Id: I5eefd50d6dcfcc35fd20ffd3e6e147acbf924e45 Signed-off-by:
Vadym Riznyk <v.riznyk@samsung.com>
-
- 20 Nov, 2017 2 commits
-
-
Senthil Kumar G S authored
Required to make the successful execution of the CTT test case which expects observe notification from DevConf. As DevConf is a read-only resource, it is not possible to update its properties and hence there can't be any observe notifications. So this change makes DevConf non-observable. Change-Id: I8c73865aa995a61729e41063dfa0a74d0bea1400 Signed-off-by:
Senthil Kumar G S <senthil.gs@samsung.com>
-
Senthil Kumar G S authored
When there is an update in the properties of child resources (WifiConf, CloudConf) of collection(EasySetup), a notification should be sent to EasySetup's observers. Change-Id: I9d4d4ab0b0f7e21995d29376819e014c90408d9c Signed-off-by:
Senthil Kumar G S <senthil.gs@samsung.com>
-
- 18 Nov, 2017 1 commit
-
-
George Nash authored
Change-Id: Iecff451094731616bbab6b680954e0ec333a61a3 Signed-off-by:
George Nash <george.nash@intel.com>
-
- 17 Nov, 2017 1 commit
-
-
Philippe Coval authored
Change-Id: Ie54313a0437c8bdffe2d0c6484524a1fc6775f7d Bug: https://jira.iotivity.org/browse/IOT-1745Signed-off-by:
Philippe Coval <philippe.coval@osg.samsung.com>
-
- 15 Nov, 2017 2 commits
-
-
Nathan Heldt-Sheller authored
This reverts commit 7f9d8c71. 22967 caused a regression in the CTT; we'll fix and re-submit after regression testing. Change-Id: Ie06cf59b6463072c54b23c61d322bdb7f09cc22f Signed-off-by:
Nathan Heldt-Sheller <nathan.heldt-sheller@intel.com>
-
Philippe Coval authored
It's part of resource, not service. Bug: https://jira.iotivity.org/browse/IOT-524 Origin: https://gerrit.iotivity.org/gerrit/#/c/23131/ Change-Id: I502591a8db1c48bc21d9dd0b768c46efb353b6c3 Signed-off-by:
Philippe Coval <philippe.coval@osg.samsung.com>
-
- 14 Nov, 2017 3 commits
-
-
Philippe Coval authored
More features could be turned on later Bug: https://jira.iotivity.org/browse/IOT-2241 Change-Id: Ie58e4f4f54ab08e2f0a7f7273e4e9943f9389534 Signed-off-by:
Philippe Coval <philippe.coval@osg.samsung.com> Reviewed-on: https://gerrit.iotivity.org/gerrit/21539Reviewed-by:
Dan Mihai <Daniel.Mihai@microsoft.com> Reviewed-by:
George Nash <george.nash@intel.com> Reviewed-by:
Alex Kelley <alexke@microsoft.com> Tested-by:
jenkins-iotivity <jenkins@iotivity.org> Reviewed-by:
Mats Wichmann <mats@linux.com>
-
Oleksandr Dmytrenko authored
provisioningclient set rowneruuid for all the SVRs Change-Id: I46df6479aeb313955639df32b7e73c52b14691e0 Signed-off-by:
Oleksandr Dmytrenko <o.dmytrenko@samsung.com>
-
Oleksii Beketov authored
Allow to parse all CA certificates when SVR DB contains more than one root CA. Change-Id: Ie82632b459a9a064a90ff14e100e4db9ab60492d Signed-off-by:
Oleksii Beketov <ol.beketov@samsung.com>
-
- 09 Nov, 2017 3 commits
-
-
Mats Wichmann authored
A previous change updated all the scons scripts: https://gerrit.iotivity.org/gerrit/#/c/22525/ This change picks up the semi-external scripts that are called by the build, and thus are run in the scons context and need updating. Print statements are surrounded with parens so they look like function calls. This is an scons3 syntax requirement even if still using Python 2. The old exception format "except FooErr, err" is no longer supported in Python 3; since the Python 3 format "except FooErr as err" has been available since Python 2.6, there is no problem switching these and it makes sense to remove one way things could fail if Py3 is used. A few comparisons which used <> are changed to the preferred != form. Reformatted Builder call without changing it, and added a comment in the forked version to help explain why there are two copies of UnpackAll.py. With these changes, a full build completes successfully using scons3.0. Change-Id: Ia8df28d12c6504d6466dcf793779535d1ad3aa8b Signed-off-by:
Mats Wichmann <mats@linux.com> (cherry picked from commit b34da4aa)
-
Habib Virji authored
Add ttl parameter to RD client APIs. Bug: https://jira.iotivity.org/browse/IOT-1935 Change-Id: Ic189cebebbcf8127bea1d127dd11a116e09743bb Signed-off-by:
Habib Virji <habib.virji@samsung.com> Signed-off-by:
Todd Malsbary <todd.malsbary@intel.com>
-
Nathan Heldt-Sheller authored
Fix for a binary->CBOR marshaling case, where payload is to contain "dos", but not "p". This in in turns causes the next Property to be incorrectly placed inside the "dos" CBOR map (and then skipped over by the CBOR->binary un-marshaling code). Also improved logging. Change-Id: Ib28fc1e30fdaf1e639afa940ee2626ba14e77584 Signed-off-by:
Nathan Heldt-Sheller <nathan.heldt-sheller@intel.com>
-
- 08 Nov, 2017 1 commit
-
-
Ibrahim Esmat authored
Cherry Pick Mats change from master to enable building with SCons 3.0 in 1.3-rel branch. This change and the change in review https://gerrit.iotivity.org/gerrit/#/c/22809 will be needed to merge together. With these 2 changes merged to 1.3-rel, you can successfully build IoTivity with SCons 3.0. Which will also allow you to build the UWP versions of the libraries needed for UWP Apps. Change in master: Prepare for scons3: change prints and others In preparation for scons3, recently released, modify remaining print statements by surrounding them with parens so they look like function calls. That takes care of the scons3 syntax requirement. The remaining instances of the sequence "print FOO; Exit(1)" were changed to "msg = FOO; Exit(msg)" - this helps with the change by not even using the print statement, and by giving the message to the output function, it is sent to the error stream rather than the output stream. Calls to dictionary keys() and values() are now wrapped in list(), on Python 3 these return special objects, not the expected list. That's harmless to Python 2 usage. The old exception format "except FooErr, err" is no longer supported; since the Python 3 format "except FooErr as err" has been available since Python 2.6, there is no problem switching these. Some instances of using the commands module in extlibs changes to use subprocess module. Change is transparent. A couple of instances of filter(lambda ...)) were changes to a python list comprehension, this is considered preferred for Python 3 (change was suggested by a conversion tool) Note on print() change: When running with Python2, the print statement is still used. That has a bit of an impact: print(a) is just prints the argument, but print(a, b, c) is interpreted as printing a tuple (a, b, c), so we could see: >>> print "This", "is", "a", "test" This is a test >>> print("This", "is", "a", "test") ('This', 'is', 'a', 'test') The second is not pretty. You can make Python2 code use the function instead of the statement: >>> from __future__ import print_function >>> print("This", "is", "a", "test") This is a test but that's a pain, so the small number of existing prints which used a comma as argument separators were updated to use addition, so now we're concatenating a string to produce one arg instead of supplying multiple "arguments" that would be misinterpreted as a tuple in print(). It's fine to add the import statement if it's needed. Change-Id: Idac00e1389b79ee65da4a2eb6ef3246551b66843 Signed-off-by:
Mats Wichmann <mats@linux.com> Signed-off-by:
Ibrahim Esmat <iesmat@microsoft.com>
-
- 07 Nov, 2017 1 commit
-
-
Veeraj Khokale authored
According to COAP spec section 4.5, confirmable duplicated requests should not be silently dropped, instead they need to be acknowledged every time. Therefore check if message is confirmable before dropping it. Change-Id: Ie7a49da9f7869fc11f679054fe8dd5c78684eb53 Signed-off-by:
Veeraj Khokale <veeraj.sk@samsung.com>
-