- 12 Feb, 2018 1 commit
-
-
Philippe Coval authored
To track versions config options (SCONSFLAGS) are shared into dev package. Also introduce EXTRA_RPM_SCONSFLAGS that could be used outside (ie: rpmbuild) It will be helpful for ARTIK7 support on fedora-24 Bug: https://jira.iotivity.org/browse/IOT-524 Change-Id: I15a3dcc3d3f74078e561143804562c750d9c4660 Origin: https://github.com/TizenTeam/iotivity/tree/sandbox/pcoval/on/master/fedora Forwarded: https://gerrit.iotivity.org/gerrit/#/c/23393/Signed-off-by:
Philippe Coval <philippe.coval@osg.samsung.com>
-
- 09 Feb, 2018 2 commits
-
-
Yogisha Poojary authored
Bug: https://jira.iotivity.org/browse/IOT-1897 https://jira.iotivity.org/browse/IOT-2570 Change-Id: If8eb4fd34191da7144f39b9e6d1870209d17c9ca Signed-off-by:
Yogisha Poojary <yogisha.poojary@lnttechservices.com>
-
Oleksandr Dmytrenko authored
add json2cbor save doxm section Change-Id: I2578ebd8162978b489833edc7e6159b30cb851ec Signed-off-by:
Oleksandr Dmytrenko <o.dmytrenko@samsung.com> (cherry picked from commit 2a46516c) Origin: https://gerrit.iotivity.org/gerrit/#/c/23903/
-
- 08 Feb, 2018 1 commit
-
-
Mats Wichmann authored
In case user is not pointing to correct JAVA_HOME, the java version check will error out without being very descriptive. Catch the error and print a message. Change-Id: Ie78bc0882d8f1f1436352c8c1e26307ce2cad731 Signed-off-by:
Mats Wichmann <mats@linux.com> (cherry picked from commit 954bec4b)
-
- 07 Feb, 2018 1 commit
-
-
Mats Wichmann authored
Per the header ocstackconfig.h, two defines are deprecated with replacement. Change the single file which still uses the old names. The header comment: /** * Maximum length of the Manufacturer name supported by the server * for manufacturer name. * @deprecated use MAX_PLATFORM_NAME_LENGTH instead. */ /** * Maximum length of the URL to the Manufacturer details supported by * the server. * @deprecated use MAX_PLATFORM_URL_LENGTH instead. */ Change-Id: I40ae198120de175750447996ebd43bed9ec25fa8 Signed-off-by:
Mats Wichmann <mats@linux.com>
-
- 06 Feb, 2018 2 commits
-
-
Philippe Coval authored
Bug: https://jira.iotivity.org/browse/IOT-524 Change-Id: Idb2b2da72104f91d4a1257f571abdea4ca10d88a Origin: https://github.com/TizenTeam/iotivity/tree/sandbox/pcoval/on/master/fedoraSigned-off-by:
Philippe Coval <philippe.coval@osg.samsung.com>
-
Thiago Macieira authored
Since we're doing err |=, the correct way to check for OOM is with &. TinyCBOR 0.5 is capable of reporting if you added too many or too few elements to a container. So don't skip adding one: always add them all, so we can get the actual size you need. Change-Id: I56b444f9d6274221a3b7fffd150d4c8e2cb6618a Signed-off-by:
Thiago Macieira <thiago.macieira@intel.com>
-
- 02 Feb, 2018 1 commit
-
-
Philippe Coval authored
Bug: https://jira.iotivity.org/browse/IOT-2541 Bug-Tizen: https://bugs.tizen.org/jira/browse/TINF-861 Change-Id: Ia37aade9f23db37bb7e86a81e8639d2b6e0300cd Signed-off-by:
Philippe Coval <philippe.coval@osg.samsung.com> (cherry picked from commit b5d0182d)
-
- 01 Feb, 2018 2 commits
-
-
George Nash authored
This cleans new build warnings discovered when building iotivity with GCC 7.2.1 -Werror=format-truncation Fixed in json2cbor that was a result of incorrect buffer size in snprintf -Werror=implicit-fallthrough With the addition of the [[fallthrough]] keyword in C++17 GCC now detects fallthrough locations. The fallthrough error can be hidden by adding the comment "fall through" to the case that is falling though. -Werror=pragmas and -Werror=attributes are from the external tinyCbor code. We Ignore build warnings from extern libraries. We may fix the warnings by working witht he external project but it should not block any work in IoTivity. Change-Id: I86c9fb42b987858c66698fe48e4c2a405769b004 Signed-off-by:
George Nash <george.nash@intel.com>
-
Philippe Coval authored
This was needed for ARTIK7 on fedora-24 Change-Id: Ice95627b6afdf19f16c1e9277015f63938d2c132 Bug: https://jira.iotivity.org/browse/IOT-524 Origin: https://gerrit.iotivity.org/gerrit/#/c/23373/Signed-off-by:
Philippe Coval <philippe.coval@osg.samsung.com> (cherry picked from commit 5bf81a0c)
-
- 29 Jan, 2018 4 commits
-
-
Philippe Coval authored
Could be done in scons install too Bug: https://jira.iotivity.org/browse/IOT-524 Change-Id: I60f4684d17d260e1917fe5840b4eda626c196056 Signed-off-by:
Philippe Coval <philippe.coval@osg.samsung.com> (cherry picked from commit df6ca6d5) Origin: https://gerrit.iotivity.org/gerrit/#/c/23301/
-
Philippe Coval authored
Bug: https://jira.iotivity.org/browse/IOT-1745 Change-Id: Ie7196851c3e623f383e6727b5cbd1c29cf1ae6ac Signed-off-by:
Philippe Coval <philippe.coval@osg.samsung.com>
-
Philippe Coval authored
Working tests will be sorted out in later changes, for now hierarchy is kept. libcoap is installed as static lib used by com-oic-es-sample. This was needed for ARTIK7 on Fedora-24 Bug: https://jira.iotivity.org/browse/IOT-524 Change-Id: Idca20f1ddd00fbaf8c980e959a041397887f123b Forwarded: https://gerrit.iotivity.org/gerrit/#/c/23471/ Origin: https://github.com/TizenTeam/iotivity/tree/sandbox/pcoval/on/master/fedoraSigned-off-by:
Philippe Coval <philippe.coval@osg.samsung.com>
-
Philippe Coval authored
This was needed for ARTIK7 on fedora-24 Change-Id: I9a5081fe78299ca57dd2fbfa4efb70b051e4ad28 Bug: https://jira.iotivity.org/browse/IOT-524Signed-off-by:
Philippe Coval <philippe.coval@osg.samsung.com> (cherry picked from commit 924f632d) Origin: https://gerrit.iotivity.org/gerrit/#/c/23371/3
-
- 25 Jan, 2018 2 commits
-
-
Mats Wichmann authored
Currently, when the run_tests function is called twice from the the same scons script (that is, the script has more than one unit test binary to register), the GTEST_OUTPUT environment variable becomes malformed. This is because the string to add is added to a list instead of just being appended as a string. The result is that while all the test output binaries are expected to go to BUILD_DIR/test_out, in these cases they go deep down underneath that directory. Here are the unexpected paths in an unmodified testing run: out/linux/x86_64/debug/test_out/:xml: out/linux/x86_64/debug/test_out/:xml:/home out/linux/x86_64/debug/test_out/:xml:/home/mats out/linux/x86_64/debug/test_out/:xml:/home/mats/iotivity.work out/linux/x86_64/debug/test_out/:xml:/home/mats/iotivity.work/out out/linux/x86_64/debug/test_out/:xml:/home/mats/iotivity.work/out/linux out/linux/x86_64/debug/test_out/:xml:/home/mats/iotivity.work/out/linux/x86_64 out/linux/x86_64/debug/test_out/:xml:/home/mats/iotivity.work/out/linux/x86_64/debug out/linux/x86_64/debug/test_out/:xml:/home/mats/iotivity.work/out/linux/x86_64/debug/test_out out/linux/x86_64/debug/test_out/:xml:/home/mats/iotivity.work/out/linux/x86_64/debug/test_out/unittest.xml out/linux/x86_64/debug/test_out/:xml:/home/mats/iotivity.work/out/linux/x86_64/debug/test_out/stacktests.xml out/linux/x86_64/debug/test_out/:xml:/home/mats/iotivity.work/out/linux/x86_64/debug/test_out/cbortests.xml out/linux/x86_64/debug/test_out/:xml:/home/mats/iotivity.work/out/linux/x86_64/debug/test_out/provisiontests.xml The :xml: is intended as a tag used to signal gtest, it is never supposed to be part of the real filesystem path. Note fix was already proposed as part of https://gerrit.iotivity.org/gerrit/#/c/22275/ but since it's a distinct error with a very simple fix, wanted to get it pushed through by itself while that one is under consideration. Change-Id: I05c57d54034686a7c77c783eab758e7f501e86ea Signed-off-by:
Mats Wichmann <mats@linux.com> (cherry picked from commit 0d010e4b)
-
Sushil Yadav authored
The following change has been merged in the master. https://gerrit.iotivity.org/gerrit/20689 Pushing the change one the 1.3-rel branch as suggested by Phil. Change-Id: I8d4b8b97d93521174273e08aa9202e6008e6abfe Signed-off-by:
Sushil Yadav <sushil.ky@samsung.com> Reviewed-by:
Jooseok Park <jooseok.park@samsung.com> Reviewed-by:
Phil Coval <philippe.coval@osg.samsung.com> Reviewed-by:
Uze Choi <uzchoi@samsung.com> Reviewed-by:
Ashok Babu Channa <ashok.channa@samsung.com> Origin: https://gerrit.iotivity.org/gerrit/#/c/23347/
-
- 24 Jan, 2018 1 commit
-
-
Philippe Coval authored
Functions in payload_logging.h can be used in examples, so it's installed in "experimental" sub namespace along dependencies. Bug: https://jira.iotivity.org/browse/IOT-1745 Change-Id: If3a9e4309601c356ab9a2faaa9fbe26283408633 Signed-off-by:
Philippe Coval <philippe.coval@osg.samsung.com> Reviewed-on: https://gerrit.iotivity.org/gerrit/21195Tested-by:
jenkins-iotivity <jenkins@iotivity.org> Reviewed-by:
George Nash <george.nash@intel.com> Reviewed-by:
Dan Mihai <Daniel.Mihai@microsoft.com>
-
- 19 Jan, 2018 2 commits
-
-
George Nash authored
Turning on the ERROR_ON_WARN has caused issues for developers building the code on untested compilers. We still want the build system to reject new warnings but we don't want to preven developers from building on their own system. Bug: https://jira.iotivity.org/browse/IOT-2966 Change-Id: I69e9d52185db37d283645ee2fb41e39f288a38ef Signed-off-by:
George Nash <george.nash@intel.com>
-
Way Vadhanasin authored
Windows needs run.bat to have line ending as CRLF and this change ensures that. Change-Id: I3f879424b72e101281c2bfe4a03784886332742e Signed-off-by:
Way Vadhanasin <wayvad@microsoft.com> Reviewed-on: https://gerrit.iotivity.org/gerrit/20599Reviewed-by:
Kevin Kane <kkane@microsoft.com> Tested-by:
jenkins-iotivity <jenkins@iotivity.org> Reviewed-by:
Dan Mihai <Daniel.Mihai@microsoft.com> Reviewed-by:
Phil Coval <philippe.coval@osg.samsung.com> (cherry picked from commit 88a4786c)
-
- 18 Jan, 2018 1 commit
-
-
Larry Sachs authored
Some Android phones (LG, HTC) crashed on removing listeners when compiled WITH_CLOUD=1. By reversing the order in which the listeners were removed, the crash does not occur. Bug: https://jira.iotivity.org/browse/IOT-2957 Change-Id: I32facaaf9a93ad6d0c7125e791c11618aa527587 Signed-off-by:
Larry Sachs <larry.j.sachs@intel.com>
-
- 17 Jan, 2018 1 commit
-
-
Philippe Coval authored
While working on "scons install", static lib were not resolved. So I found this could be changed separately Observed issue was: Linking shared .../libhueplugin.so g++: error: .../out/.../libmpmcommon.a: No such file or directory scons: *** [out/.../libhueplugin.so] Error 1 This was needed for ARTIK7 on fedora-24 Bug: https://jira.iotivity.org/browse/IOT-524 Change-Id: Ibadd174bd84bcaf48d972fdb3071ba3b03ff1373 Origin: https://github.com/TizenTeam/iotivity/tree/sandbox/pcoval/on/master/fedora Forwarded: https://gerrit.iotivity.org/gerrit/#/c/23409Signed-off-by:
Philippe Coval <philippe.coval@osg.samsung.com>
-
- 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>
-