platform/upstream/iotivity.git
8 years agoResolved simulator crash issue.
G S Senthil Kumar [Fri, 22 Apr 2016 08:09:09 +0000 (13:39 +0530)]
Resolved simulator crash issue.

Simulator plug-in crashed due to recent changes in the OCDeviceInfo
structure in platform layer. Handled the changes required in simulater
module.

Change-Id: Ib277d0ed9ff6094f6f48c3c947144954d231bb9a
Signed-off-by: G S Senthil Kumar <senthil.gs@samsung.com>
Reviewed-on: https://gerrit.iotivity.org/gerrit/7891
Tested-by: jenkins-iotivity <jenkins-iotivity@opendaylight.org>
Reviewed-by: Uze Choi <uzchoi@samsung.com>
8 years agoIOT-1079 /oic/d & /oic/p to include oic.if.baseline
Habib Virji [Fri, 8 Apr 2016 10:31:04 +0000 (11:31 +0100)]
IOT-1079 /oic/d & /oic/p to include oic.if.baseline

Added support for /oic/d to add interface information.
Added support in /oic/p to include oic.if.baseline.

Change-Id: I6985548cec4efee4f4ceedd11146e4e9a3ba672a
Signed-off-by: Habib Virji <habib.virji@samsung.com>
Reviewed-on: https://gerrit.iotivity.org/gerrit/7727
Reviewed-by: Mushfiqul Islam <i.mushfiq@samsung.com>
Tested-by: jenkins-iotivity <jenkins-iotivity@opendaylight.org>
Reviewed-on: https://gerrit.iotivity.org/gerrit/7841

8 years agoChange characteristic user desciption descriptor.
Jaehong Jo [Thu, 21 Apr 2016 05:36:10 +0000 (14:36 +0900)]
Change characteristic user desciption descriptor.

"OIC Node.." chaned to "OCF Node..".

Change-Id: Ifcf4355f58f90e53b06df3a93fb29be383e6c879
Signed-off-by: Jaehong Jo <jaehong.jo@samsung.com>
Reviewed-on: https://gerrit.iotivity.org/gerrit/7871
Tested-by: jenkins-iotivity <jenkins-iotivity@opendaylight.org>
Reviewed-by: Jon A. Cruz <jon@joncruz.org>
8 years agoClean up warning
George Nash [Tue, 12 Apr 2016 17:47:08 +0000 (10:47 -0700)]
Clean up warning

This cleans up the warning capture of variable with non-automatic
storage duration

The warning is given when lambda functions are trying to capture
variables that are static or global. The easy fix is to not
capture the variables. They will still be avalible to the lamba
function without the variable capture.

Change-Id: I00890ddf5cf6932d1114ff4ca305905b4b877cc6
Signed-off-by: George Nash <george.nash@intel.com>
Reviewed-on: https://gerrit.iotivity.org/gerrit/7761
Tested-by: jenkins-iotivity <jenkins-iotivity@opendaylight.org>
Reviewed-by: Jon A. Cruz <jon@joncruz.org>
8 years agoadded code to close the netlink socket.
hyuna0213.jo [Thu, 21 Apr 2016 02:53:11 +0000 (11:53 +0900)]
added code to close the netlink socket.

added code to close the netlink socket.

Change-Id: Ifbad9db35a9b38a6367f04586a665bc8208eecf4
Signed-off-by: hyuna0213.jo <hyuna0213.jo@samsung.com>
Reviewed-on: https://gerrit.iotivity.org/gerrit/7865
Tested-by: jenkins-iotivity <jenkins-iotivity@opendaylight.org>
Reviewed-by: Jon A. Cruz <jon@joncruz.org>
8 years agofixed build error issue related TCP Adapter.
jihwan.seo [Thu, 21 Apr 2016 03:18:28 +0000 (12:18 +0900)]
fixed build error issue related TCP Adapter.

some parameter of the callback realted to keepalive was not correct.

Change-Id: I21975c99221a506de722992280d929d446712a28
Signed-off-by: jihwan.seo <jihwan.seo@samsung.com>
Reviewed-on: https://gerrit.iotivity.org/gerrit/7867
Tested-by: jenkins-iotivity <jenkins-iotivity@opendaylight.org>
Reviewed-by: Jon A. Cruz <jon@joncruz.org>
8 years agoFixed odd comment block formatting that was breaking tools.
Jon A. Cruz [Wed, 20 Apr 2016 06:05:16 +0000 (23:05 -0700)]
Fixed odd comment block formatting that was breaking tools.

Corrected odd combination of comment delimiters that was confusing
tools such as Doxygen.

Change-Id: I692513c12c32801d4949cbc03ed2f9cc3ea86774
Signed-off-by: Jon A. Cruz <jon@joncruz.org>
Reviewed-on: https://gerrit.iotivity.org/gerrit/7855
Tested-by: jenkins-iotivity <jenkins-iotivity@opendaylight.org>
Reviewed-by: Tim Kourt <tim.a.kourt@intel.com>
Reviewed-by: Habib Virji <habib.virji@samsung.com>
Reviewed-by: Jee Hyeok Kim <jihyeok13.kim@samsung.com>
8 years agoModify the potential errors
Jaehong Jo [Fri, 15 Apr 2016 01:55:05 +0000 (10:55 +0900)]
Modify the potential errors

Added null check

Change-Id: I007b131450e672091d5783c82b56d6a5151439ef
Signed-off-by: Jaehong Jo <jaehong.jo@samsung.com>
Reviewed-on: https://gerrit.iotivity.org/gerrit/7793
Tested-by: jenkins-iotivity <jenkins-iotivity@opendaylight.org>
Reviewed-by: Jon A. Cruz <jon@joncruz.org>
8 years ago[IOT-972] add type and interface to platform representation
hekra [Thu, 10 Mar 2016 01:58:19 +0000 (17:58 -0800)]
[IOT-972] add type and interface to platform representation

Change-Id: Ie02a201507ffcc0c6a640846dc57341832ea3158
Signed-off-by: Hugues Ekra <hekra@cisco.com>
Reviewed-on: https://gerrit.iotivity.org/gerrit/5655
Tested-by: jenkins-iotivity <jenkins-iotivity@opendaylight.org>
Reviewed-by: Habib Virji <habib.virji@samsung.com>
(cherry picked from commit 22932f7aefc633d90011f8fc474f416305976cfc)
Reviewed-on: https://gerrit.iotivity.org/gerrit/7857

8 years ago[IOT-963] Fix maximum URI length
Inga Stotland [Mon, 18 Apr 2016 22:41:52 +0000 (15:41 -0700)]
[IOT-963] Fix maximum URI length

According to core spec, maximum URI length could be up to 256

Change-Id: Ic9037fcca8a6ef49b0695ac5d3515f84aa11c773
Signed-off-by: Inga Stotland <inga.stotland@intel.com>
Reviewed-on: https://gerrit.iotivity.org/gerrit/7821
Tested-by: jenkins-iotivity <jenkins-iotivity@opendaylight.org>
Reviewed-by: Habib Virji <habib.virji@samsung.com>
8 years agoReorder library link order for connectivity abstraction
hyuna0213.jo [Tue, 19 Apr 2016 07:28:47 +0000 (16:28 +0900)]
Reorder library link order for connectivity abstraction

An unresolved symbol error for connectivity abstraction occurred
during the Linux link phase. Generally, libraries that depend on
specific libraries should appear earlier in the linker command line.

Change-Id: Ic126e8e03266f4061328018c49037dc658652bfd
Signed-off-by: hyuna0213.jo <hyuna0213.jo@samsung.com>
Reviewed-on: https://gerrit.iotivity.org/gerrit/7789
Tested-by: jenkins-iotivity <jenkins-iotivity@opendaylight.org>
Reviewed-by: Jon A. Cruz <jon@joncruz.org>
8 years agoIOT-970: Handle get requests on oic/p and oic/d resources
hekra [Tue, 8 Mar 2016 14:26:03 +0000 (06:26 -0800)]
IOT-970: Handle get requests on oic/p and oic/d resources

Change-Id: I6a96e188f7dcb839467c4285c3b4a57871669b78
Signed-off-by: Hugues Ekra <hekra@cisco.com>
Reviewed-on: https://gerrit.iotivity.org/gerrit/5553
Tested-by: jenkins-iotivity <jenkins-iotivity@opendaylight.org>
Reviewed-by: Phil Coval <philippe.coval@osg.samsung.com>
Reviewed-by: Habib Virji <habib.virji@samsung.com>
(cherry picked from commit a51b71c150d30614439dbbe1c3ec0ae01bdefaeb)
Reviewed-on: https://gerrit.iotivity.org/gerrit/7843

8 years agoIOT-982 Query handling for /oic/res
Habib Virji [Sat, 26 Mar 2016 22:54:02 +0000 (22:54 +0000)]
IOT-982 Query handling for /oic/res

- By default oic.if.baseline is added for any resource created. All resource
  created in OIC should have oic.if.baseline.
- In case query is empty, oic.if.ll as interface query.
- oic.if.ll handler returns all resources which are DISCOVERABLE.
- Same handler handles when query includes oic.if.ll.
- Only oic.if.ll and oic.if.baseline are supported as query param for /oic/res.
- oic.if.baseline handler only responds to query that are baseline interface.
- In case query includes rt but no if param. response is based on matching of rt value.
- It also include rt, if and uri for /oic/res response if it is oic.if.baseline..

Change-Id: Icaeab9f5407e9a02623e31b2d3be4488643c1e7a
Signed-off-by: Habib Virji <habib.virji@samsung.com>
Reviewed-on: https://gerrit.iotivity.org/gerrit/7365
Tested-by: jenkins-iotivity <jenkins-iotivity@opendaylight.org>
Reviewed-on: https://gerrit.iotivity.org/gerrit/7837

8 years ago[IOT-994] Fixing crash for parsing arbitrary UTF-8 payload
Markus Jung [Mon, 11 Apr 2016 09:23:33 +0000 (18:23 +0900)]
[IOT-994] Fixing crash for parsing arbitrary UTF-8 payload

Avoid the crash by checking whether the cbortype is map.
Fundamentally, no-cbor type payload should be filtered in tinycbor library.
This change can be removed later.

Change-Id: Icde1422c61319d8c5e66675d9ef2b66f30dc4077
Signed-off-by: Markus Jung <markus.jung@samsung.com>
Reviewed-on: https://gerrit.iotivity.org/gerrit/7737
Tested-by: jenkins-iotivity <jenkins-iotivity@opendaylight.org>
Reviewed-by: Uze Choi <uzchoi@samsung.com>
Reviewed-by: Markus Jung <markus.jung85@gmail.com>
(cherry picked from commit d237eecb9b581157dee9c3314d5a07091b0078ed)
Reviewed-on: https://gerrit.iotivity.org/gerrit/7835
Reviewed-by: Habib Virji <habib.virji@samsung.com>
8 years agoIOT-921 OCSetDeviceInfo to update resource type information
Habib Virji [Tue, 5 Apr 2016 00:01:49 +0000 (01:01 +0100)]
IOT-921 OCSetDeviceInfo to update resource type information

OCSaveDeviceInfo to  update resource information. The code has been
updated to include this information.

Change-Id: Id30546d0e32f5347875a9346de9699a35d81734e
Signed-off-by: Habib Virji <habib.virji@samsung.com>
Reviewed-on: https://gerrit.iotivity.org/gerrit/7585
Tested-by: jenkins-iotivity <jenkins-iotivity@opendaylight.org>
Reviewed-by: Markus Jung <markus.jung85@gmail.com>
Reviewed-by: Uze Choi <uzchoi@samsung.com>
(cherry picked from commit 2ccfba677941ada7bc3730538132182ce9fb872d)
Reviewed-on: https://gerrit.iotivity.org/gerrit/7833

8 years agoIOT-1075 PUT/POST/DELETE for /oic/res, /oic/d, /oic/p returns error
Habib Virji [Tue, 5 Apr 2016 18:58:01 +0000 (19:58 +0100)]
IOT-1075 PUT/POST/DELETE for /oic/res, /oic/d, /oic/p returns error

/oic/res. /oic/d and /oic/p returns error when PUT/POST/DELETE is performed on the resource.

Change-Id: Ib40c4d2b5e9263bc4252e3553fa7e30ef21c2a51
Signed-off-by: Habib Virji <habib.virji@samsung.com>
Reviewed-on: https://gerrit.iotivity.org/gerrit/7625
Tested-by: jenkins-iotivity <jenkins-iotivity@opendaylight.org>
Reviewed-by: Mushfiqul Islam <i.mushfiq@samsung.com>
Reviewed-by: Markus Jung <markus.jung85@gmail.com>
Reviewed-by: Uze Choi <uzchoi@samsung.com>
(cherry picked from commit 10ac37501a95a2ebbeb4e16a873b45d2c8a9a3b4)
Reviewed-on: https://gerrit.iotivity.org/gerrit/7831

8 years ago[IOT-990] Support for URI comparisons to be case-insenstive
Habib Virji [Wed, 23 Mar 2016 21:31:47 +0000 (21:31 +0000)]
[IOT-990] Support for URI comparisons to be case-insenstive

Support for rt or if in the query to be case-insensitive.

JIRA ISSUE: IOT-990
Signed-off-by: Habib Virji <habib.virji@samsung.com>
Change-Id: Ieff5256e25b2232f25dec52e86b356a0682e3241
Reviewed-on: https://gerrit.iotivity.org/gerrit/6237
Tested-by: jenkins-iotivity <jenkins-iotivity@opendaylight.org>
(cherry picked from commit 34df9a3c8865ea31c1bfc2dd18198733ec05f2aa)
Reviewed-on: https://gerrit.iotivity.org/gerrit/7829

8 years ago[IOT-914] Device ID to be based on DOXM GetDeviceID
Habib Virji [Thu, 24 Mar 2016 14:01:26 +0000 (14:01 +0000)]
[IOT-914] Device ID to be based on DOXM GetDeviceID

Instead of ocstack generating random device id. DOXM id is going to be used.

Change-Id: I1a780f07388ee1fe09e315c2d645f1c8ee5142de
Signed-off-by: Habib Virji <habib.virji@samsung.com>
Reviewed-on: https://gerrit.iotivity.org/gerrit/6299
Tested-by: jenkins-iotivity <jenkins-iotivity@opendaylight.org>
(cherry picked from commit eb927a675208f8c2d416f874ed02ed01b8007d2b)
Reviewed-on: https://gerrit.iotivity.org/gerrit/7827

8 years ago[IOT-921]Return correct resource type in /oic/d
Habib Virji [Fri, 11 Mar 2016 12:37:43 +0000 (12:37 +0000)]
[IOT-921]Return correct resource type in /oic/d

It adds support to add device resource type via API.

Jira Issue: IOT-921
Signed-off-by: Habib Virji <habib.virji@samsung.com>
Change-Id: Ib47f637ff343b5bc8dbce5d5f0cc2b5f1eab46ab
Reviewed-on: https://gerrit.iotivity.org/gerrit/5747
Tested-by: jenkins-iotivity <jenkins-iotivity@opendaylight.org>
Reviewed-on: https://gerrit.iotivity.org/gerrit/7825

8 years ago[IOT-980] oic.if.ll support for /oic/res
Habib Virji [Thu, 17 Mar 2016 13:31:37 +0000 (13:31 +0000)]
[IOT-980] oic.if.ll support for /oic/res

/oic/res currently was supporting only oic.if.baseline.

Support for oic.if.ll has been added. It includes unit test as a callback.

Change-Id: I8b90c7c686b753c5d41191508866b0c23bcc6578
Signed-off-by: Habib Virji <habib.virji@samsung.com>
Reviewed-on: https://gerrit.iotivity.org/gerrit/6025
Tested-by: jenkins-iotivity <jenkins-iotivity@opendaylight.org>
(cherry picked from commit 8b297671a821177b41e62d39aa4d2d1bb6114235)
Reviewed-on: https://gerrit.iotivity.org/gerrit/7813

8 years ago[IOT-914] Change format of the device id as text string
Habib Virji [Thu, 10 Mar 2016 17:59:51 +0000 (17:59 +0000)]
[IOT-914] Change format of the device id as text string

DI field was being sent as a byte string over ther wire.

This patch update it to be sent as a string.

ocpayloadparse.c can handle both byte string and text string.
But ocpayloadconvert.c will be sending in text string.

Jira Issue: IOT-914
Signed-off-by: Habib Virji <habib.virji@samsung.com>
Change-Id: I049bf4cff5f2b390e589eb5cf55966e8034838b1
Reviewed-on: https://gerrit.iotivity.org/gerrit/5691
Reviewed-by: Dwarkaprasad Dayama <dwarka.dayama@samsung.com>
Tested-by: jenkins-iotivity <jenkins-iotivity@opendaylight.org>
(cherry picked from commit d96fb8bee5a4895962f4b8fce8fee0f314bcce3b)
Reviewed-on: https://gerrit.iotivity.org/gerrit/7811

8 years ago[IOT-979] Correct /oic/d icv field
Habib Virji [Thu, 10 Mar 2016 12:03:42 +0000 (12:03 +0000)]
[IOT-979] Correct /oic/d icv field

Currently icv [Spec Version] field was being set as lcv instead of icv.

Change-Id: I3e4930cba42f5474f90f622b28c031a03331053e
Signed-off-by: Habib Virji <habib.virji@samsung.com>
Reviewed-on: https://gerrit.iotivity.org/gerrit/5685
Reviewed-by: Dwarkaprasad Dayama <dwarka.dayama@samsung.com>
Tested-by: jenkins-iotivity <jenkins-iotivity@opendaylight.org>
(cherry picked from commit 7a893187456a05110f32f730695fa3cf3c58904e)
Reviewed-on: https://gerrit.iotivity.org/gerrit/7809

8 years agofixed EDR crash issue when g_context is deleted.
jihwan.seo [Mon, 18 Apr 2016 09:58:35 +0000 (18:58 +0900)]
fixed EDR crash issue when g_context is deleted.

Change-Id: I7876a3604272ee568b86041d0eeee02158234017
Signed-off-by: jihwan.seo <jihwan.seo@samsung.com>
Reviewed-on: https://gerrit.iotivity.org/gerrit/7807
Tested-by: jenkins-iotivity <jenkins-iotivity@opendaylight.org>
Reviewed-by: Jaehong Jo <jaehong.jo@samsung.com>
Reviewed-by: Jon A. Cruz <jon@joncruz.org>
8 years agofixed svace issue for CA
jihwan.seo [Mon, 18 Apr 2016 08:33:12 +0000 (17:33 +0900)]
fixed svace issue for CA

- buffer overflow issue in caprotocolmessage.c
- OICfree timing issue in tcp

Change-Id: Ifd1682e485cc415175023b05657e0cd1e33b3cbc
Signed-off-by: jihwan.seo <jihwan.seo@samsung.com>
Reviewed-on: https://gerrit.iotivity.org/gerrit/7805
Tested-by: jenkins-iotivity <jenkins-iotivity@opendaylight.org>
Reviewed-by: Jon A. Cruz <jon@joncruz.org>
8 years agomodified comment related parameter in BT JNI interface.
jihwan.seo [Fri, 15 Apr 2016 03:12:07 +0000 (12:12 +0900)]
modified comment related parameter in BT JNI interface.

Change-Id: I8958e7f1353a5b69787ec6973c706c1c0f5caace
Signed-off-by: jihwan.seo <jihwan.seo@samsung.com>
Reviewed-on: https://gerrit.iotivity.org/gerrit/7795
Tested-by: jenkins-iotivity <jenkins-iotivity@opendaylight.org>
Reviewed-by: Jon A. Cruz <jon@joncruz.org>
8 years agoAdded unit test cases for cablockwisetransfer.c api
hyuna0213.jo [Wed, 16 Mar 2016 07:15:12 +0000 (16:15 +0900)]
Added unit test cases for cablockwisetransfer.c api

Added unit test cases for cablockwisetransfer.c api.

Change-Id: Idf6570aebc4bd5f15202d6f0236b126199768851
Signed-off-by: hyuna0213.jo <hyuna0213.jo@samsung.com>
Reviewed-on: https://gerrit.iotivity.org/gerrit/5947
Tested-by: jenkins-iotivity <jenkins-iotivity@opendaylight.org>
Reviewed-by: Jon A. Cruz <jon@joncruz.org>
8 years ago[Easy-Setup] Fixed Android-Arduino issue.
Jay Sharma [Thu, 7 Apr 2016 14:49:24 +0000 (20:19 +0530)]
[Easy-Setup] Fixed Android-Arduino issue.

Change-Id: I0b8d4b918047f0a95b1d1b45e79bf439d458700c
Signed-off-by: Jay Sharma <jay.sharma@samsung.com>
Reviewed-on: https://gerrit.iotivity.org/gerrit/7661
Tested-by: jenkins-iotivity <jenkins-iotivity@opendaylight.org>
Reviewed-by: Madan Lanka <lanka.madan@samsung.com>
(cherry picked from commit 3cd1ecdf06dc7c0cb2c788103ca9dea5e9f7df9f)
Reviewed-on: https://gerrit.iotivity.org/gerrit/7717
Reviewed-by: Jihun Ha <jihun.ha@samsung.com>
8 years agoRemoved un-needed build script
George Nash [Thu, 14 Apr 2016 18:28:07 +0000 (11:28 -0700)]
Removed un-needed build script

In resource/csdk/connectivity/ the SConscript tries to
build sample code that does not exist. Since the samples
do not exist the build warns that the samples SConscript
can not be found.

Change-Id: I96cc0b2c8a53f9431a7188089075d8f85e75cbe5
Signed-off-by: George Nash <george.nash@intel.com>
Reviewed-on: https://gerrit.iotivity.org/gerrit/7787
Tested-by: jenkins-iotivity <jenkins-iotivity@opendaylight.org>
Reviewed-by: Jon A. Cruz <jon@joncruz.org>
8 years agofixed svace issue in ocstack
jihwan.seo [Thu, 14 Apr 2016 08:36:27 +0000 (17:36 +0900)]
fixed svace issue in ocstack

added null check.

Change-Id: I772835707ea7b8dfb32bb12bec90c965bc349928
Signed-off-by: jihwan.seo <jihwan.seo@samsung.com>
Reviewed-on: https://gerrit.iotivity.org/gerrit/7783
Tested-by: jenkins-iotivity <jenkins-iotivity@opendaylight.org>
Reviewed-by: Jon A. Cruz <jon@joncruz.org>
8 years agoChanged to be used only once to create input stream.
Jaehong Jo [Tue, 12 Apr 2016 07:50:03 +0000 (16:50 +0900)]
Changed to be used only once to create input stream.

Fixed a problem that generates whenever read data.

Change-Id: Ib07dac59dce69f8305926d3b7ad5597a582d0a4d
Signed-off-by: Jaehong Jo <jaehong.jo@samsung.com>
Reviewed-on: https://gerrit.iotivity.org/gerrit/7755
Tested-by: jenkins-iotivity <jenkins-iotivity@opendaylight.org>
Reviewed-by: Jon A. Cruz <jon@joncruz.org>
8 years ago[Resource-container] Fix member var initialization
Inga Stotland [Tue, 12 Apr 2016 18:22:06 +0000 (11:22 -0700)]
[Resource-container] Fix member var initialization

Incorrect type was used causing build error.

Change-Id: I701096c3b6512546847cf4e120430f690e920453
Signed-off-by: Inga Stotland <inga.stotland@intel.com>
Reviewed-on: https://gerrit.iotivity.org/gerrit/7759
Tested-by: jenkins-iotivity <jenkins-iotivity@opendaylight.org>
Reviewed-by: George Nash <george.nash@intel.com>
Reviewed-by: Markus Jung <markus.jung85@gmail.com>
Reviewed-by: Uze Choi <uzchoi@samsung.com>
8 years agoCleaned up the unused-parameter warning
George Nash [Mon, 11 Apr 2016 17:09:37 +0000 (10:09 -0700)]
Cleaned up the unused-parameter warning

unused parameters are typically the result of 3 things
- they are from a call back and are not needed for that instance of
  the call back
- introduced to maintain backward compatability for older APIs
- variables only used in debug mode for debuging reasons

Many projects that try to build without warnings cast the unused
paramenter to a void type to prevent the warning.  The cast can
be added to the project using a #define.

The OC_UNUSED macro has been added to the octypes header file
to be used when in one of the three given scenarios.

In addition the macro has been used to prevent the unused-parameter
warning for several files.

Change-Id: Ib10967df4a135f0863aebbca41479d8e62d1a27b
Signed-off-by: George Nash <george.nash@intel.com>
Reviewed-on: https://gerrit.iotivity.org/gerrit/7757
Tested-by: jenkins-iotivity <jenkins-iotivity@opendaylight.org>
Reviewed-by: Jon A. Cruz <jon@joncruz.org>
8 years agoCompiler warning clean up
George Nash [Tue, 12 Apr 2016 20:19:02 +0000 (13:19 -0700)]
Compiler warning clean up

sign-compare warning:
IotivityandZigbeeClient.c compares as size_t and int
one value  comes from sizeof the other from snprinf
the larger size_t value is cast to int to remove the
warning

discarded-qualifiers warning:
in the cablockwisetransfer files the CAUpdateBlockOptionItems
function is passing one of its const input parameters to
the CANegotiateBlockSize function but the input parameter is
not const in CANegotiatedBlockSize.  Since CANegotiatedBlockSize
does not actually change the pdu input pointer so it is changed
to const.

type-limits warning:
The variable nextStartIndex is of type unsigned int. The value
is assigned from a call to find_first_of that returns a size_t
value. If the the value string::npos is returned (0xFFFFFFFFFFFFFFFF)
on a 64-bit system it would be cast to (0x00000000FFFFFFFF) so the
compairison (nextStartIndex == string::npos) will always be false
and the RCSInvalidParameterException will never be thrown even if
string::npos was returned from the find_first_of call.

Change-Id: I949ad7c9ab20f9b220fbe46235e27a5c87aa487f
Signed-off-by: George Nash <george.nash@intel.com>
Reviewed-on: https://gerrit.iotivity.org/gerrit/7763
Reviewed-by: Thiago Macieira <thiago.macieira@intel.com>
Tested-by: jenkins-iotivity <jenkins-iotivity@opendaylight.org>
Reviewed-by: Jon A. Cruz <jon@joncruz.org>
8 years agocombined getting JNI methodID for several connectivity type.
jihwan.seo [Mon, 11 Apr 2016 05:50:41 +0000 (14:50 +0900)]
combined getting JNI methodID for several connectivity type.

- BLE : caedrserver.c / caedrutils.c
- EDR : caleserver.c / caleutils.h / caleutils.c,
- NFC : canfcserver.c

Change-Id: Ibe936afb320e5112bfc221d6b5a16f53b170210a
Signed-off-by: jihwan.seo <jihwan.seo@samsung.com>
Reviewed-on: https://gerrit.iotivity.org/gerrit/7733
Tested-by: jenkins-iotivity <jenkins-iotivity@opendaylight.org>
Reviewed-by: Jon A. Cruz <jon@joncruz.org>
8 years agofixed calling getService failure without SDP.
jihwan.seo [Thu, 7 Apr 2016 07:38:35 +0000 (16:38 +0900)]
fixed calling getService failure without SDP.

- modified setter/getter related to state in common.
- cleaned up state management for connection / send state.

Change-Id: I5d136ae502e506f62a3bea83a6b32023219ec2d3
Signed-off-by: jihwan.seo <jihwan.seo@samsung.com>
Reviewed-on: https://gerrit.iotivity.org/gerrit/7653
Tested-by: jenkins-iotivity <jenkins-iotivity@opendaylight.org>
Reviewed-by: Jon A. Cruz <jon@joncruz.org>
8 years ago[Resource-Encapsulation] [IOT-1026] Fixed Jira Issue
Jay Sharma [Mon, 28 Mar 2016 11:27:00 +0000 (16:57 +0530)]
[Resource-Encapsulation] [IOT-1026] Fixed Jira Issue

Change-Id: I216c46097a85590ba927fe74c56b74b848a5611f
Signed-off-by: Jay Sharma <jay.sharma@samsung.com>
Reviewed-on: https://gerrit.iotivity.org/gerrit/6293
Tested-by: jenkins-iotivity <jenkins-iotivity@opendaylight.org>
Reviewed-by: Uze Choi <uzchoi@samsung.com>
(cherry picked from commit c055363558b594263a523f54d5016463d64eb872)
Reviewed-on: https://gerrit.iotivity.org/gerrit/7679

8 years agoAdd simplebase app for Android
Jaehong Jo [Mon, 21 Mar 2016 13:58:54 +0000 (22:58 +0900)]
Add simplebase app for Android

It can be tested Message and Bluetooth APIs.

Change-Id: I6315c0eba8d22d5c152fbe3de74ad8a1abda387f
Signed-off-by: Jaehong Jo <jaehong.jo@samsung.com>
Reviewed-on: https://gerrit.iotivity.org/gerrit/6137
Tested-by: jenkins-iotivity <jenkins-iotivity@opendaylight.org>
Reviewed-by: Jon A. Cruz <jon@joncruz.org>
8 years agoModified SceneManager Unittest
wonny [Mon, 28 Mar 2016 12:53:58 +0000 (21:53 +0900)]
Modified SceneManager Unittest

- SceneTest : fix not creating scene
- RemoteSceneActionTest : fix setup() logic

Change-Id: Ie923d766e5da8ac7a3798f5a7febfb9404e7a2d5
Signed-off-by: wonny <jw_wonny.cha@samsung.com>
Reviewed-on: https://gerrit.iotivity.org/gerrit/7401
Reviewed-by: Uze Choi <uzchoi@samsung.com>
Tested-by: jenkins-iotivity <jenkins-iotivity@opendaylight.org>
(cherry picked from commit 84454c74e9654fac18391d0ed8e6d3bdec1f59a6)
Reviewed-on: https://gerrit.iotivity.org/gerrit/7683

8 years ago[Simulator] Changed the vendor name of eclipse plugins.
G S Senthil Kumar [Wed, 6 Apr 2016 10:12:12 +0000 (15:42 +0530)]
[Simulator] Changed the vendor name of eclipse plugins.

Updated the vendor name from IoTivity to IoTivity.org.

Change-Id: Ifeccaf02696bd85797c1bab80ae77e13f49b8ea5
Signed-off-by: G S Senthil Kumar <senthil.gs@samsung.com>
Reviewed-on: https://gerrit.iotivity.org/gerrit/7637
Reviewed-by: Uze Choi <uzchoi@samsung.com>
Tested-by: Uze Choi <uzchoi@samsung.com>
(cherry picked from commit 279a56eb75931fae41299986b7108a91406a45ae)
Reviewed-on: https://gerrit.iotivity.org/gerrit/7739
Tested-by: jenkins-iotivity <jenkins-iotivity@opendaylight.org>
8 years agoResolved simulator build failure issue.
G S Senthil Kumar [Mon, 14 Mar 2016 09:53:16 +0000 (15:23 +0530)]
Resolved simulator build failure issue.

Included a necessary header file(algorithm) to prevent build failures
when using boost version(1.46).

Change-Id: I4c6e9829d6b1a59f7c6f745551ef92ee6514df26
Signed-off-by: G S Senthil Kumar <senthil.gs@samsung.com>
Reviewed-on: https://gerrit.iotivity.org/gerrit/5873
Tested-by: jenkins-iotivity <jenkins-iotivity@opendaylight.org>
Reviewed-by: Madan Lanka <lanka.madan@samsung.com>
(cherry picked from commit 7d8d21aeb1cd01a7f8890a71f0fac97544afff81)
Reviewed-on: https://gerrit.iotivity.org/gerrit/7703
Reviewed-by: Uze Choi <uzchoi@samsung.com>
8 years ago[IOT-1019] Fix for jira issue
Hun-je Yeon [Thu, 1 Oct 2015 14:17:54 +0000 (23:17 +0900)]
[IOT-1019] Fix for jira issue

Add console out when Resource Container started.

Change-Id: If262e26fcee0e9ce52fada57fec03eccf47fc69f
Signed-off-by: Hun-je Yeon <hunje.yeon@samsung.com>
Reviewed-on: https://gerrit.iotivity.org/gerrit/6289
Tested-by: jenkins-iotivity <jenkins-iotivity@opendaylight.org>
Reviewed-by: Minji Park <minjii.park@samsung.com>
Reviewed-by: Uze Choi <uzchoi@samsung.com>
(cherry picked from commit 51917e8752f9e7de02f885a65da38fe7e8e9a136)
Reviewed-on: https://gerrit.iotivity.org/gerrit/7689

8 years ago(IOT-1006) modified sceneCollection
wonny [Wed, 23 Mar 2016 06:44:24 +0000 (15:44 +0900)]
(IOT-1006) modified sceneCollection

resolved jira issue IOT-1006

This issue is caused by checking sceneName existed or not.
modified checking logic.

Change-Id: I6ef17e1ef9c7182852ea783e71ed57dd7b81efbe
Signed-off-by: wonny <jw_wonny.cha@samsung.com>
Reviewed-on: https://gerrit.iotivity.org/gerrit/6205
Reviewed-by: JungYong KIM <jyong2.kim@samsung.com>
Reviewed-by: Uze Choi <uzchoi@samsung.com>
Tested-by: Uze Choi <uzchoi@samsung.com>
(cherry picked from commit dfcdec1141bab876f45f841c0afaff0b28a2be34)
Reviewed-on: https://gerrit.iotivity.org/gerrit/7699
Tested-by: jenkins-iotivity <jenkins-iotivity@opendaylight.org>
8 years ago[IOT-1052] Resource container fixes
Markus Jung [Thu, 31 Mar 2016 07:39:54 +0000 (16:39 +0900)]
[IOT-1052] Resource container fixes

Resource container fixes:
- Using strncat instead of strcat and including a length check for
configured paths.
- Checks for non-null references in Configuration.cpp
- Member initializiation in BundleInfoInternal.cpp

Signed-off-by: Markus Jung <markus.jung@samsung.com>
Reviewed-on: https://gerrit.iotivity.org/gerrit/7509
Tested-by: jenkins-iotivity <jenkins-iotivity@opendaylight.org>
Reviewed-by: Madan Lanka <lanka.madan@samsung.com>
Reviewed-by: JungHo Kim <jhyo.kim@samsung.com>
Conflicts:

service/resource-container/src/Configuration.cpp

Change-Id: Ifb4c50a76b22e7c2b06465187c90a8328eda5a90
Signed-off-by: uzchoi <uzchoi@samsung.com>
Reviewed-on: https://gerrit.iotivity.org/gerrit/7715
Tested-by: jenkins-iotivity <jenkins-iotivity@opendaylight.org>
8 years agoFixed failed tests of RE cache module.
coderhyme [Fri, 8 Apr 2016 01:33:15 +0000 (18:33 -0700)]
Fixed failed tests of RE cache module.

The cause was calling a method not mocked.

Change-Id: I74e20d34d793085e9888f634bb1a5e060f09e0ee
Signed-off-by: coderhyme <jhyo.kim@samsung.com>
Reviewed-on: https://gerrit.iotivity.org/gerrit/7709
Reviewed-by: JungYong KIM <jyong2.kim@samsung.com>
Tested-by: jenkins-iotivity <jenkins-iotivity@opendaylight.org>
Reviewed-by: Uze Choi <uzchoi@samsung.com>
(cherry picked from commit 4fa510cdc72a7412fcae654d031b7d3bff9b1800)
Reviewed-on: https://gerrit.iotivity.org/gerrit/7725

8 years ago(IOT-1014) modified sceneCollectionResource
wonny [Wed, 23 Mar 2016 05:57:19 +0000 (14:57 +0900)]
(IOT-1014) modified sceneCollectionResource

resolved jira issue IOT-1014

When scene execute, this issue is caused by not adding scene name
in SceneCollectionResource.

modified parameter in execute API.

Change-Id: I0c78bcd9523f2f425832c0d4934a1b9abd560d81
Signed-off-by: wonny <jw_wonny.cha@samsung.com>
Reviewed-on: https://gerrit.iotivity.org/gerrit/6199
Reviewed-by: JungYong KIM <jyong2.kim@samsung.com>
Reviewed-by: Uze Choi <uzchoi@samsung.com>
Tested-by: Uze Choi <uzchoi@samsung.com>
(cherry picked from commit 53b841669ce6f838d0f964191b42657dbf84b56b)
Reviewed-on: https://gerrit.iotivity.org/gerrit/7697
Tested-by: jenkins-iotivity <jenkins-iotivity@opendaylight.org>
8 years agoAdd collection payload to send a request
HyunJun Kim [Tue, 8 Mar 2016 23:16:49 +0000 (08:16 +0900)]
Add collection payload to send a request
for including each resource information(attributes).

- Client side can send a message
  which each resource information is stored in one message.

Change-Id: I45a65dc66dfcec9288b858864b6c83906d341756
Signed-off-by: HyunJun Kim <hyunjun2.kim@samsung.com>
Reviewed-on: https://gerrit.iotivity.org/gerrit/5583
Tested-by: jenkins-iotivity <jenkins-iotivity@opendaylight.org>
Reviewed-by: Phil Coval <philippe.coval@osg.samsung.com>
Reviewed-by: Habib Virji <habib.virji@samsung.com>
(cherry picked from commit 8d222b6e6aa9c73a12e07d23385b23cc22b8debd)
Reviewed-on: https://gerrit.iotivity.org/gerrit/7705
Reviewed-by: Uze Choi <uzchoi@samsung.com>
8 years agoFix for jira IOT-1042.
G S Senthil Kumar [Wed, 23 Mar 2016 13:06:44 +0000 (18:36 +0530)]
Fix for jira IOT-1042.

Resolving the issue of incorrectly shown allowed values in
"Modify Array Attribute Value" UI dialog of Service Provider Plug-in.

Change-Id: Ie652d5bc1185f51d2c52a55b72ded68e38c32664
Signed-off-by: G S Senthil Kumar <senthil.gs@samsung.com>
Reviewed-on: https://gerrit.iotivity.org/gerrit/6227
Tested-by: jenkins-iotivity <jenkins-iotivity@opendaylight.org>
Reviewed-by: Madan Lanka <lanka.madan@samsung.com>
(cherry picked from commit d2d8a8af2478b16bb85b9e56234adfdbace188b3)
Reviewed-on: https://gerrit.iotivity.org/gerrit/7695
Reviewed-by: Uze Choi <uzchoi@samsung.com>
8 years agoFix for Jira IOT-1044.
G S Senthil Kumar [Thu, 24 Mar 2016 10:15:11 +0000 (15:45 +0530)]
Fix for Jira IOT-1044.

Resolved UI issues which occurred when changing attribute values
from Simulator plug-ins in Eclipse Mars IDE.

Change-Id: Ibd2e0c7c5cfc314dddaba551958a86258d3188f0
Signed-off-by: G S Senthil Kumar <senthil.gs@samsung.com>
Reviewed-on: https://gerrit.iotivity.org/gerrit/6267
Tested-by: jenkins-iotivity <jenkins-iotivity@opendaylight.org>
Reviewed-by: Madan Lanka <lanka.madan@samsung.com>
(cherry picked from commit c310e8bc34ea435ec8a7a5a5487f7341e61493e1)
Reviewed-on: https://gerrit.iotivity.org/gerrit/7693
Reviewed-by: Uze Choi <uzchoi@samsung.com>
8 years ago[IOT-1039]Fixed for jira issue.
jyong2.kim [Thu, 24 Mar 2016 10:35:01 +0000 (19:35 +0900)]
[IOT-1039]Fixed for jira issue.

It is fix for a RH android sample application.
When the call terminate RH android sample, It expected to return success but return error.
terminate API is try to terminate a thread, but it was already terminated at other api.

Change-Id: I52b79252f1d952917729f7716d381303b57501a6
Signed-off-by: jyong2.kim <jyong2.kim@samsung.com>
Reviewed-on: https://gerrit.iotivity.org/gerrit/6287
Tested-by: jenkins-iotivity <jenkins-iotivity@opendaylight.org>
Reviewed-by: Hun-je Yeon <hunje.yeon@samsung.com>
Reviewed-by: Madan Lanka <lanka.madan@samsung.com>
Reviewed-by: Uze Choi <uzchoi@samsung.com>
(cherry picked from commit 8db0090a12cd8d994cc87d919f1329eb4fdbbc68)
Reviewed-on: https://gerrit.iotivity.org/gerrit/7691

8 years ago[IOT-1040] Fixed for jira issue about RH android.
jyong2.kim [Thu, 24 Mar 2016 23:02:57 +0000 (08:02 +0900)]
[IOT-1040] Fixed for jira issue about RH android.

prevented crash when init is called with null String at address.

Change-Id: I390fdd036e6afae44af36d935564b2fa5045d990
Signed-off-by: jyong2.kim <jyong2.kim@samsung.com>
Reviewed-on: https://gerrit.iotivity.org/gerrit/6307
Tested-by: jenkins-iotivity <jenkins-iotivity@opendaylight.org>
Reviewed-by: Hun-je Yeon <hunje.yeon@samsung.com>
Reviewed-by: Madan Lanka <lanka.madan@samsung.com>
Reviewed-by: Uze Choi <uzchoi@samsung.com>
(cherry picked from commit 9cbaf9309f0f671b899641a3ed2286621b5b6ed5)
Reviewed-on: https://gerrit.iotivity.org/gerrit/7687

8 years ago[IOT-993] Remove limit of payload size handling
Habib Virji [Thu, 24 Mar 2016 22:10:42 +0000 (22:10 +0000)]
[IOT-993] Remove limit of payload size handling

It cannot go beyond two level of increasing the payload size and it a[[ear it can go for handling bigger size.

Change-Id: I303f29563b32ba25d2f5e92a28f3a0ecac46ea60
Signed-off-by: Habib Virji <habib.virji@samsung.com>
Reviewed-on: https://gerrit.iotivity.org/gerrit/6305
Tested-by: jenkins-iotivity <jenkins-iotivity@opendaylight.org>
Reviewed-by: Mushfiqul Islam <i.mushfiq@samsung.com>
Tested-by: Uze Choi <uzchoi@samsung.com>
(cherry picked from commit 8e60cf6d33f5d9c4c0f308ea79784effda409109)
Reviewed-on: https://gerrit.iotivity.org/gerrit/7685
Reviewed-by: Uze Choi <uzchoi@samsung.com>
8 years ago[Resource-Encapsulation] Fixed the Tizen sample app build issue.
Jay Sharma [Mon, 28 Mar 2016 15:57:39 +0000 (21:27 +0530)]
[Resource-Encapsulation] Fixed the Tizen sample app build issue.

- Updated "NestedAttributeClientApp" Tizen app.

Change-Id: I3cf63257fe3e23dde2cf1998ebccbb9d25de8388
Signed-off-by: Jay Sharma <jay.sharma@samsung.com>
Reviewed-on: https://gerrit.iotivity.org/gerrit/7409
Reviewed-by: Hun-je Yeon <hunje.yeon@samsung.com>
Tested-by: jenkins-iotivity <jenkins-iotivity@opendaylight.org>
Reviewed-by: Uze Choi <uzchoi@samsung.com>
(cherry picked from commit 875624d06e0e1496ccace06fc09e29e5092b1ae7)
Reviewed-on: https://gerrit.iotivity.org/gerrit/7681

8 years ago[IOT-1070][IOT-1071] RC-Android: check for null or empty parameters
Markus Jung [Mon, 4 Apr 2016 06:05:12 +0000 (15:05 +0900)]
[IOT-1070][IOT-1071] RC-Android: check for null or empty parameters

Check for null or empty parameters. Throwing IllegalArgumentException.

Change-Id: I15822ee0ad6e572ab51b8f85efc666a8e43bc320
Signed-off-by: Markus Jung <markus.jung@samsung.com>
Reviewed-on: https://gerrit.iotivity.org/gerrit/7567
Tested-by: jenkins-iotivity <jenkins-iotivity@opendaylight.org>
Reviewed-by: JungHo Kim <jhyo.kim@samsung.com>
(cherry picked from commit bb9d6c566b9dc7998f69395bc4b3f1d8bc8fd610)
Reviewed-on: https://gerrit.iotivity.org/gerrit/7677
Reviewed-by: Uze Choi <uzchoi@samsung.com>
8 years ago[Easy-Setup] Updated README file for Mediator Android app.
Jay Sharma [Thu, 7 Apr 2016 07:50:09 +0000 (13:20 +0530)]
[Easy-Setup] Updated README file for Mediator Android app.

- Updated for using SECURITY feature.

Change-Id: I3d99696e60b2d817617cf1c80205dafd2768b62a
Signed-off-by: Jay Sharma <jay.sharma@samsung.com>
Reviewed-on: https://gerrit.iotivity.org/gerrit/7655
Tested-by: jenkins-iotivity <jenkins-iotivity@opendaylight.org>
Reviewed-by: Uze Choi <uzchoi@samsung.com>
(cherry picked from commit 943305507880a8cbb4cbef16e2362b128b504d3f)
Reviewed-on: https://gerrit.iotivity.org/gerrit/7671

8 years agoUpdated the MANIFEST content of simulator plugins.
G S Senthil Kumar [Wed, 6 Apr 2016 05:48:05 +0000 (11:18 +0530)]
Updated the MANIFEST content of simulator plugins.

Changed the version of plugins from 1.0.0 to 1.1.0.
Also specified the vendor as OCF.

Change-Id: Ic12f18a939530e75045c5f274b4e4d2dd1724d46
Signed-off-by: G S Senthil Kumar <senthil.gs@samsung.com>
Reviewed-on: https://gerrit.iotivity.org/gerrit/7629
Tested-by: jenkins-iotivity <jenkins-iotivity@opendaylight.org>
Reviewed-by: Uze Choi <uzchoi@samsung.com>
(cherry picked from commit 8eb5af23e34861e55e82f385cb3beb3dbedd4703)
Reviewed-on: https://gerrit.iotivity.org/gerrit/7675

8 years agoAdded sonames to libs when build target is android.
coderhyme [Tue, 5 Apr 2016 05:01:17 +0000 (22:01 -0700)]
Added sonames to libs when build target is android.

This is because the dynamic linker of android 6.0 requires soname.
see https://developer.android.com/intl/ko/about/versions/marshmallow/android-6.0-changes.html#behavior-runtime.

Change-Id: I6908631d7bb734df262a86c98e3699af5fccfc14
Signed-off-by: coderhyme <jhyo.kim@samsung.com>
Reviewed-on: https://gerrit.iotivity.org/gerrit/7595
Reviewed-by: Uze Choi <uzchoi@samsung.com>
Tested-by: Uze Choi <uzchoi@samsung.com>
8 years ago[Simulator] Specified the run-time path and provided 64-bit support
G S Senthil Kumar [Wed, 6 Apr 2016 07:12:35 +0000 (12:42 +0530)]
[Simulator] Specified the run-time path and provided 64-bit support
for eclipse plugins.

1. Added support to use eclipse plugins on 64-bit linux machines.
   Created seperate folder under /libs in plugins for
   32-bit and 64-bit libraries.
   Updated the MANIFEST file to load the libraries
   corresponding to the underlying architecture.
2. Specified the run-time path to help the loader to find the
   dependent libraries of oc in resource/src/SConscript
   for simulator to avoid the need to set the LD_LIBRARY_PATH
   to run the plugins.
3. Moved the code to load the simulator libraries
   from plugins to Java SDK.

Change-Id: Ia9b9e8542c4e82c18768dcc25c9ae727614ff7bf
Signed-off-by: G S Senthil Kumar <senthil.gs@samsung.com>
Reviewed-on: https://gerrit.iotivity.org/gerrit/7631
Tested-by: jenkins-iotivity <jenkins-iotivity@opendaylight.org>
Reviewed-by: Uze Choi <uzchoi@samsung.com>
(cherry picked from commit 315181862e61115c82470920fdf4ff9d0e07f447)
Reviewed-on: https://gerrit.iotivity.org/gerrit/7673

8 years agoAdded necessary error log in LE server for android.
jihwan.seo [Fri, 8 Apr 2016 07:46:17 +0000 (16:46 +0900)]
Added necessary error log in LE server for android.

Change-Id: I8c2c62f0a324c6cff5cd8787b9c164f3db93b507
Signed-off-by: jihwan.seo <jihwan.seo@samsung.com>
Reviewed-on: https://gerrit.iotivity.org/gerrit/7723
Tested-by: jenkins-iotivity <jenkins-iotivity@opendaylight.org>
Reviewed-by: Jon A. Cruz <jon@joncruz.org>
8 years ago[IOT-1043] [RI] Canceling observation using RESET is not working
hyuna0213.jo [Fri, 8 Apr 2016 07:27:25 +0000 (16:27 +0900)]
[IOT-1043] [RI] Canceling observation using RESET is not working

Related JIRA ticket : https://jira.iotivity.org/browse/IOT-1043

Change-Id: I7f984fe8f649af0681352fed14f8a37d73b2eba9
Signed-off-by: hyuna0213.jo <hyuna0213.jo@samsung.com>
Signed-off-by: Abhishek Sharma <ce.abhishek@samsung.com>
Reviewed-on: https://gerrit.iotivity.org/gerrit/7451
Tested-by: jenkins-iotivity <jenkins-iotivity@opendaylight.org>
Reviewed-by: Sungkyu Ko <sungkyu.ko@samsung.com>
Reviewed-by: Gihong Kim <k1358.kim@samsung.com>
Reviewed-by: Ashok Babu Channa <ashok.channa@samsung.com>
Reviewed-on: https://gerrit.iotivity.org/gerrit/7719
Reviewed-by: Jon A. Cruz <jon@joncruz.org>
8 years agochanged code to close the socket generated when initializing.
hyuna0213.jo [Fri, 8 Apr 2016 01:17:29 +0000 (10:17 +0900)]
changed code to close the socket generated when initializing.

changed code to close the socket generated when initializing.

Change-Id: Ib3f45bfb6f49f14b04088cfcff936e68d7ddb88c
Signed-off-by: hyuna0213.jo <hyuna0213.jo@samsung.com>
Reviewed-on: https://gerrit.iotivity.org/gerrit/7707
Tested-by: jenkins-iotivity <jenkins-iotivity@opendaylight.org>
Reviewed-by: Jon A. Cruz <jon@joncruz.org>
8 years agoFinished moving check for failure to connect over
jihwan.seo [Thu, 7 Apr 2016 13:50:14 +0000 (22:50 +0900)]
Finished moving check for failure to connect over
to bt_le_adapter/android/calenwmonitor.c.

Change-Id: Ic12e8278653774e9fc2bc1005136643bc16cf401
Signed-off-by: jihwan.seo <jihwan.seo@samsung.com>
Reviewed-on: https://gerrit.iotivity.org/gerrit/7657
Reviewed-by: Jon A. Cruz <jon@joncruz.org>
Tested-by: Jon A. Cruz <jon@joncruz.org>
8 years agofixed code to get token about the empty message
hyuna0213.jo [Mon, 28 Mar 2016 08:25:07 +0000 (17:25 +0900)]
fixed code to get token about the empty message

fixed code to get token about the empty message

Change-Id: Ifbe334f42457c1b2ba801d92cdca540433689938
Signed-off-by: hyuna0213.jo <hyuna0213.jo@samsung.com>
Reviewed-on: https://gerrit.iotivity.org/gerrit/7387
Tested-by: jenkins-iotivity <jenkins-iotivity@opendaylight.org>
Reviewed-by: Jaewook Jung <jw0213.jung@samsung.com>
Reviewed-by: Ashok Babu Channa <ashok.channa@samsung.com>
Reviewed-on: https://gerrit.iotivity.org/gerrit/7433
Reviewed-by: Jon A. Cruz <jon@joncruz.org>
8 years agoremove unnecessary startScan logic.
jihwan.seo [Thu, 31 Mar 2016 12:02:13 +0000 (21:02 +0900)]
remove unnecessary startScan logic.

it doesn't need to scan when disconnected LE anymore.
since scenario was changed for support manual disconnect API.

Change-Id: I9fb36953d0dc209f7c7dda5c8ad2a3a05b61f0cb
Signed-off-by: jihwan.seo <jihwan.seo@samsung.com>
Reviewed-on: https://gerrit.iotivity.org/gerrit/7499
Tested-by: jenkins-iotivity <jenkins-iotivity@opendaylight.org>
Reviewed-by: Ashok Babu Channa <ashok.channa@samsung.com>
(cherry picked from commit 00c308854d882d4be3c35438b293b7b34ee850ef)
Reviewed-on: https://gerrit.iotivity.org/gerrit/7517
Reviewed-by: Jon A. Cruz <jon@joncruz.org>
8 years agomodified target message type related blockwise transfer.
hyuna0213.jo [Thu, 24 Mar 2016 06:36:13 +0000 (15:36 +0900)]
modified target message type related blockwise transfer.

according to a spec, uses of the block options in conjunction
with multicast messages are for further study. so I modified to not
pass the blockwise transfer logic in case of the multicast message.

Change-Id: I2913dc7fc608e6da007071fd325c76931cf02325
Signed-off-by: hyuna0213.jo <hyuna0213.jo@samsung.com>
Reviewed-on: https://gerrit.iotivity.org/gerrit/6253
Tested-by: jenkins-iotivity <jenkins-iotivity@opendaylight.org>
Reviewed-by: jihwan seo <jihwan.seo@samsung.com>
Reviewed-by: Ashok Babu Channa <ashok.channa@samsung.com>
Reviewed-on: https://gerrit.iotivity.org/gerrit/7375
Reviewed-by: Jon A. Cruz <jon@joncruz.org>
8 years agoadded BLE connection State callback routine in common
jihwan.seo [Tue, 5 Apr 2016 00:05:16 +0000 (09:05 +0900)]
added BLE connection State callback routine in common

Change-Id: I9bb7e2df9acf4b885cb4db6e97f2e3a20fe86d3d
Signed-off-by: jihwan.seo <jihwan.seo@samsung.com>
Reviewed-on: https://gerrit.iotivity.org/gerrit/7587
Tested-by: jenkins-iotivity <jenkins-iotivity@opendaylight.org>
Reviewed-by: Jon A. Cruz <jon@joncruz.org>
8 years agoFix issuse related unregisterReceiver
Jaehong Jo [Tue, 5 Apr 2016 11:15:59 +0000 (20:15 +0900)]
Fix issuse related unregisterReceiver

In EDR, BLE, NFC Adapter

Change-Id: I6102c96c1cad58e8124b75c848a498621d250e96
Signed-off-by: Jaehong Jo <jaehong.jo@samsung.com>
Reviewed-on: https://gerrit.iotivity.org/gerrit/7615
Tested-by: jenkins-iotivity <jenkins-iotivity@opendaylight.org>
Reviewed-by: Jon A. Cruz <jon@joncruz.org>
8 years agomodified reasonable log message for connectionStateChanged state
jihwan.seo [Mon, 4 Apr 2016 03:15:13 +0000 (12:15 +0900)]
modified reasonable log message for connectionStateChanged state

Change-Id: I3bf080c1b002211b2af4f9e03225a01a7e93f248
Signed-off-by: jihwan.seo <jihwan.seo@samsung.com>
Reviewed-on: https://gerrit.iotivity.org/gerrit/7557
Tested-by: jenkins-iotivity <jenkins-iotivity@opendaylight.org>
Reviewed-by: Jon A. Cruz <jon@joncruz.org>
(cherry picked from commit 405827da21e88977ffc3855dec0b546ee33fc0e2)
Reviewed-on: https://gerrit.iotivity.org/gerrit/7599

8 years agoFix issue related SVACE in oickeepalive
Jaehong Jo [Thu, 31 Mar 2016 07:16:52 +0000 (16:16 +0900)]
Fix issue related SVACE in oickeepalive

Change-Id: I4c788411bcd8eb4251d292e0bf56ab470dfcafc1
Signed-off-by: Jaehong Jo <jaehong.jo@samsung.com>
Reviewed-on: https://gerrit.iotivity.org/gerrit/7481
Tested-by: jenkins-iotivity <jenkins-iotivity@opendaylight.org>
Reviewed-by: Hyuna Jo <hyuna0213.jo@samsung.com>
Reviewed-by: Jon A. Cruz <jon@joncruz.org>
(cherry picked from commit ede0115adf224edcca0d80c6f7f87140c0de8451)
Reviewed-on: https://gerrit.iotivity.org/gerrit/7611
Reviewed-by: Ashok Babu Channa <ashok.channa@samsung.com>
8 years agoAdd activity for NFC Transport.
Jaehong Jo [Mon, 21 Mar 2016 00:23:00 +0000 (09:23 +0900)]
Add activity for NFC Transport.

The activity required for the NFC adapter.

Change-Id: Id735532944dfb2f496043620c0b7b3230d534957
Signed-off-by: Jaehong Jo <jaehong.jo@samsung.com>
Reviewed-on: https://gerrit.iotivity.org/gerrit/6111
Tested-by: jenkins-iotivity <jenkins-iotivity@opendaylight.org>
Reviewed-by: jihwan seo <jihwan.seo@samsung.com>
Reviewed-by: Ashok Babu Channa <ashok.channa@samsung.com>
(cherry picked from commit 40fad8c44605a63a8c4943f5da5f62ea0535caf8)
Reviewed-on: https://gerrit.iotivity.org/gerrit/7613

8 years agoFix a wrong conditional statement in oicgroup
Jihun Ha [Mon, 4 Apr 2016 01:12:16 +0000 (10:12 +0900)]
Fix a wrong conditional statement in oicgroup

strlen(actionTypeStr) at line 790 was always 0, which is not what it meant
to be. After assign a proper string to actionTypeStr, then strlen() function
should be used.

Change-Id: I2ac7dd5750f54f59eb16e9469fc4dcec5259bcc9
Signed-off-by: Jihun Ha <jihun.ha@samsung.com>
Reviewed-on: https://gerrit.iotivity.org/gerrit/7553
Reviewed-by: Uze Choi <uzchoi@samsung.com>
Tested-by: jenkins-iotivity <jenkins-iotivity@opendaylight.org>
(cherry picked from commit d7c32ded070bccb20868674705a521f82964990f)
Reviewed-on: https://gerrit.iotivity.org/gerrit/7563

8 years agoBug Fix - the Object Array Value in the Palyload was not cloned properly.
Jay Oh [Fri, 1 Apr 2016 02:36:30 +0000 (11:36 +0900)]
Bug Fix - the Object Array Value in the Palyload was not cloned properly.

- Object type (String) value was not checked
- Modification : add the case handling for OCREP_PROP_OBJECT

Change-Id: I8fe9c1fc7fec43648d2127284169af225a6a2bb0
Signed-off-by: Jay Oh <junghyun.oh@samsung.com>
Reviewed-on: https://gerrit.iotivity.org/gerrit/7475
Tested-by: jenkins-iotivity <jenkins-iotivity@opendaylight.org>
Reviewed-by: Jon A. Cruz <jon@joncruz.org>
(cherry picked from commit c53351f54d4e619dcdef8e703c586e2fcea65c9e)
Reviewed-on: https://gerrit.iotivity.org/gerrit/7555
Reviewed-by: Uze Choi <uzchoi@samsung.com>
8 years agoto enable manual disconnect callback for android BLE client
jihwan.seo [Mon, 4 Apr 2016 10:29:33 +0000 (19:29 +0900)]
to enable manual disconnect callback for android BLE client

Change-Id: I7254b9485393957b8b823aeb0d6e19dde10911de
Signed-off-by: jihwan.seo <jihwan.seo@samsung.com>
Reviewed-on: https://gerrit.iotivity.org/gerrit/7577
Tested-by: jenkins-iotivity <jenkins-iotivity@opendaylight.org>
Reviewed-by: Jon A. Cruz <jon@joncruz.org>
8 years agoenabled ScanResponse for Advertising in BLE server
jihwan.seo [Fri, 1 Apr 2016 00:34:03 +0000 (09:34 +0900)]
enabled ScanResponse for Advertising in BLE server

long device name can be used
though using ScanResonse Advertise data.

Change-Id: I42a60591577cd54b7de109a15b096c080bb43667
Signed-off-by: jihwan.seo <jihwan.seo@samsung.com>
Reviewed-on: https://gerrit.iotivity.org/gerrit/7523
Tested-by: jenkins-iotivity <jenkins-iotivity@opendaylight.org>
Reviewed-by: Jon A. Cruz <jon@joncruz.org>
8 years ago[Easy-Setup] Fixed JIRA issue IOT-1064
Jay Sharma [Fri, 1 Apr 2016 16:00:26 +0000 (21:30 +0530)]
[Easy-Setup] Fixed JIRA issue IOT-1064

Change-Id: I1f2184ed17fb262628e52d4171d6579577158973
Signed-off-by: Jay Sharma <jay.sharma@samsung.com>
Reviewed-on: https://gerrit.iotivity.org/gerrit/7537
Tested-by: jenkins-iotivity <jenkins-iotivity@opendaylight.org>
Reviewed-by: Madan Lanka <lanka.madan@samsung.com>
(cherry picked from commit 266464719a5e3ae4d59acab1089d98e9b831873b)
Reviewed-on: https://gerrit.iotivity.org/gerrit/7547

8 years ago[Tizen SVACE] Fixed svace issues for tizen enrollee
Sandipan Patra [Fri, 1 Apr 2016 13:33:44 +0000 (19:03 +0530)]
[Tizen SVACE] Fixed svace issues for tizen enrollee

Change-Id: I26b5692362dea51fc4a729415066e4aaf035e728
Signed-off-by: Sandipan Patra <sandipan.p@samsung.com>
Reviewed-on: https://gerrit.iotivity.org/gerrit/7533
Tested-by: jenkins-iotivity <jenkins-iotivity@opendaylight.org>
Reviewed-by: Madan Lanka <lanka.madan@samsung.com>
(cherry picked from commit d96195c119d605892061660dc754bd6793e49dfa)
Reviewed-on: https://gerrit.iotivity.org/gerrit/7545

8 years ago[Arduino SVACE] Fixed svace issue for arduino
Sandipan Patra [Fri, 1 Apr 2016 12:05:44 +0000 (17:35 +0530)]
[Arduino SVACE] Fixed svace issue for arduino

Change-Id: Iee5e7bea013be0e04c5c5898ace716e6f5a8bd80
Signed-off-by: Sandipan Patra <sandipan.p@samsung.com>
Reviewed-on: https://gerrit.iotivity.org/gerrit/7529
Tested-by: jenkins-iotivity <jenkins-iotivity@opendaylight.org>
Reviewed-by: Madan Lanka <lanka.madan@samsung.com>
(cherry picked from commit a89533748ea97c745be2ea7d68564f41cbdbe8c2)
Reviewed-on: https://gerrit.iotivity.org/gerrit/7541

8 years ago[Easy-Setup] Fixed SVACE issues for Android [Mediator]
Jay Sharma [Fri, 1 Apr 2016 11:06:12 +0000 (16:36 +0530)]
[Easy-Setup] Fixed SVACE issues for Android [Mediator]

Change-Id: Ia0f3c0ec84e6129fafb8e4334b10b493977222b5
Signed-off-by: Jay Sharma <jay.sharma@samsung.com>
Reviewed-on: https://gerrit.iotivity.org/gerrit/7525
Tested-by: jenkins-iotivity <jenkins-iotivity@opendaylight.org>
Reviewed-by: Madan Lanka <lanka.madan@samsung.com>
(cherry picked from commit 7444144fef76c258a0354781439d29487de89ed5)
Reviewed-on: https://gerrit.iotivity.org/gerrit/7539

8 years agoFix for SVACE reported issues on Simulator Java layer.
G S Senthil Kumar [Fri, 1 Apr 2016 12:32:47 +0000 (18:02 +0530)]
Fix for SVACE reported issues on Simulator Java layer.

Resolved SVACE issues on java sdk and ServiceProvider and ClientController
plugins.

Change-Id: I1ba0b937deef1cf7f7a8d37de6fe0192eb07a82f
Signed-off-by: G S Senthil Kumar <senthil.gs@samsung.com>
Reviewed-on: https://gerrit.iotivity.org/gerrit/7531
Tested-by: jenkins-iotivity <jenkins-iotivity@opendaylight.org>
Reviewed-by: Madan Lanka <lanka.madan@samsung.com>
(cherry picked from commit fef6c484910e41b52f38857b13584664a7dd9799)
Reviewed-on: https://gerrit.iotivity.org/gerrit/7543

8 years agoRemove an vulnerability for using strcat() function in oicgroup
Jihun Ha [Fri, 1 Apr 2016 07:38:34 +0000 (16:38 +0900)]
Remove an vulnerability for using strcat() function in oicgroup

Rather than strcat function, strncat function with a consideration of
a maximum length of string is better to be used for security reason.

Change-Id: I12b76ef4c149c66fac2b6b2963feef86d760d85f
Signed-off-by: Jihun Ha <jihun.ha@samsung.com>
Reviewed-on: https://gerrit.iotivity.org/gerrit/7521
Reviewed-by: Uze Choi <uzchoi@samsung.com>
Tested-by: jenkins-iotivity <jenkins-iotivity@opendaylight.org>
8 years ago[Easy-Setup] Fixed SVACE issues.
Jay Sharma [Thu, 31 Mar 2016 14:41:37 +0000 (20:11 +0530)]
[Easy-Setup] Fixed SVACE issues.

Change-Id: Id2722e42ac6958e57a46f6cb8480395788697b10
Signed-off-by: Jay Sharma <jay.sharma@samsung.com>
Reviewed-on: https://gerrit.iotivity.org/gerrit/7501
Tested-by: jenkins-iotivity <jenkins-iotivity@opendaylight.org>
Reviewed-by: Madan Lanka <lanka.madan@samsung.com>
(cherry picked from commit bd4708f5b3a1fc5b522a3128c0d374d44eb56568)
Reviewed-on: https://gerrit.iotivity.org/gerrit/7513
Reviewed-by: Jon A. Cruz <jon@joncruz.org>
8 years agoFixed unused variable static warning
Shashank Shekhar Shukla [Wed, 30 Mar 2016 05:00:43 +0000 (10:30 +0530)]
Fixed unused variable static warning

Change-Id: I8dc129a9063b744229fd2ea7b6916e5ae8272a77
Signed-off-by: Shashank Shekhar Shukla <shekhar1.s@samsung.com>
Reviewed-on: https://gerrit.iotivity.org/gerrit/7455
Tested-by: jenkins-iotivity <jenkins-iotivity@opendaylight.org>
Reviewed-by: Jon A. Cruz <jon@joncruz.org>
8 years agoUpdate a resource type of SceneMember resource
Jihun Ha [Fri, 11 Mar 2016 01:48:28 +0000 (10:48 +0900)]
Update a resource type of SceneMember resource

The current public OIC spec.(v0.9.9) has introduced the resource type,
wrongly. It would be "oic.wk.scenemember".

Change-Id: I768c086f75f0bf281558e582cdee264ddc16709c
Signed-off-by: Jihun Ha <jihun.ha@samsung.com>
Reviewed-on: https://gerrit.iotivity.org/gerrit/5697
Reviewed-by: JungYong KIM <jyong2.kim@samsung.com>
Tested-by: jenkins-iotivity <jenkins-iotivity@opendaylight.org>
Reviewed-by: Uze Choi <uzchoi@samsung.com>
(cherry picked from commit 30a06e1d82cb7fb12035eb189746ef78ed8c1dae)
Reviewed-on: https://gerrit.iotivity.org/gerrit/5711

8 years ago[Tizen Enrollee] Removing GUI Enrollee Sample
Sandipan Patra [Tue, 29 Mar 2016 11:20:33 +0000 (16:50 +0530)]
[Tizen Enrollee] Removing GUI Enrollee Sample

Change-Id: I4c6dd1656d8ce184107e2bd5aa79a6c4b8c2475e
Signed-off-by: Sandipan Patra <sandipan.p@samsung.com>
Reviewed-on: https://gerrit.iotivity.org/gerrit/7441
Tested-by: jenkins-iotivity <jenkins-iotivity@opendaylight.org>
Reviewed-by: Hemant Mahsky <h.mahsky@samsung.com>
Reviewed-by: Madan Lanka <lanka.madan@samsung.com>
Reviewed-on: https://gerrit.iotivity.org/gerrit/7461

8 years agoFixed build issue by including condition_variable header
Philippe Coval [Mon, 7 Mar 2016 11:19:05 +0000 (12:19 +0100)]
Fixed build issue by including condition_variable header

Problem was observed while building on Tizen:2.4:Mobile (g++ 4.9.2):

    error: 'condition_variable' in namespace 'std' does not name a type
    std::condition_variable cond;

Change-Id: I03b03af4693738c6a852b0d03b6d6a2744a87109
Origin: https://github.com/TizenTeam/iotivity/tree/sandbox/pcoval/for-upstream
Signed-off-by: Philippe Coval <philippe.coval@osg.samsung.com>
Reviewed-on: https://gerrit.iotivity.org/gerrit/5493
Tested-by: jenkins-iotivity <jenkins-iotivity@opendaylight.org>
Reviewed-by: Mats Wichmann <mats@osg.samsung.com>
Reviewed-by: Uze Choi <uzchoi@samsung.com>
8 years agoadded tizen bt error codes
junghun kim [Tue, 29 Mar 2016 10:44:36 +0000 (19:44 +0900)]
added tizen bt error codes

Change-Id: I8c3ed85ec147e4c7961ef266086b461044c4e78d
Signed-off-by: junghun kim <jhun1105.kim@samsung.com>
Reviewed-on: https://gerrit.iotivity.org/gerrit/7437
Tested-by: jenkins-iotivity <jenkins-iotivity@opendaylight.org>
Reviewed-by: Abhishek Sharma <ce.abhishek@samsung.com>
Reviewed-by: Ashok Babu Channa <ashok.channa@samsung.com>
8 years agomodified BT on/off monitoring logic in EDR Adapter
jihwanseo [Wed, 23 Mar 2016 07:54:41 +0000 (16:54 +0900)]
modified BT on/off monitoring logic in EDR Adapter

- added checking EDR disconnected event
- added the connection management logic to remove disconnected
  device information from list
- removed unnecessary code

Change-Id: I3a6f1c81e039cad530d063da6476aed72ae693e5
Signed-off-by: hyuna0213.jo <hyuna0213.jo@samsung.com>
Signed-off-by: jihwan.seo <jihwan.seo@samsung.com>
Reviewed-on: https://gerrit.iotivity.org/gerrit/6177
Tested-by: jenkins-iotivity <jenkins-iotivity@opendaylight.org>
Reviewed-by: Jon A. Cruz <jon@joncruz.org>
8 years ago[Easy-Setup] Fixed arduino issue.
Jay Sharma [Wed, 30 Mar 2016 04:20:48 +0000 (09:50 +0530)]
[Easy-Setup] Fixed arduino issue.

Change-Id: I3b167eccaa5835288b5a560f070882df996aeb9e
Signed-off-by: Jay Sharma <jay.sharma@samsung.com>
Reviewed-on: https://gerrit.iotivity.org/gerrit/7453
Reviewed-by: Sandipan Patra <sandipan.p@samsung.com>
Tested-by: jenkins-iotivity <jenkins-iotivity@opendaylight.org>
Reviewed-by: Madan Lanka <lanka.madan@samsung.com>
(cherry picked from commit bdbfe9ec9c30249ee3d7eece8c47b6979e41448e)
Reviewed-on: https://gerrit.iotivity.org/gerrit/7457
Reviewed-by: Jon A. Cruz <jon@joncruz.org>
8 years agoremoved CASample App for CA
jihwanseo [Mon, 28 Mar 2016 07:16:18 +0000 (16:16 +0900)]
removed CASample App for CA

since simpleserver and simpleclient can be covered it.
remove all sample sources.

Change-Id: Ib5960c0e9ee3ef8093718f0dd5f0e93b3db8e16f
Signed-off-by: jihwan.seo <jihwan.seo@samsung.com>
Signed-off-by: Abhishek Sharma <ce.abhishek@samsung.com>
Signed-off-by: jihwan.seo <jihwan.seo@samsung.com>
Reviewed-on: https://gerrit.iotivity.org/gerrit/7381
Tested-by: jenkins-iotivity <jenkins-iotivity@opendaylight.org>
Reviewed-by: Tim Kourt <tim.a.kourt@intel.com>
Reviewed-by: Jon A. Cruz <jon@joncruz.org>
Signed-off-by: jihwan.seo <jihwan.seo@samsung.com>
Reviewed-on: https://gerrit.iotivity.org/gerrit/7463

8 years agoRedefinition of Macro removed
Manoj Gupta [Tue, 29 Mar 2016 03:50:52 +0000 (09:20 +0530)]
Redefinition of Macro removed

Change-Id: I6f55225e1c4121eed45ccf13194da51cdced645d
Signed-off-by: Manoj Gupta <manoj.g2@samsung.com>
Reviewed-on: https://gerrit.iotivity.org/gerrit/7421
Tested-by: jenkins-iotivity <jenkins-iotivity@opendaylight.org>
Reviewed-by: Jon A. Cruz <jon@joncruz.org>
8 years agoFix a bug of RCSResourceObject.
coderhyme [Tue, 29 Mar 2016 10:06:54 +0000 (03:06 -0700)]
Fix a bug of RCSResourceObject.

The problem was that when handler is canceled, segfault ocuured.

Change-Id: I04f4bae70db986245566f97f8388dc39254fb828
Signed-off-by: coderhyme <jhyo.kim@samsung.com>
Reviewed-on: https://gerrit.iotivity.org/gerrit/7435
Tested-by: jenkins-iotivity <jenkins-iotivity@opendaylight.org>
Reviewed-by: Uze Choi <uzchoi@samsung.com>
(cherry picked from commit 47bdb4f412a029164aa8f96d3464b1b3039e1979)
Reviewed-on: https://gerrit.iotivity.org/gerrit/7443

8 years agoRemoved unnecessary files in connectivity abstraction
hyuna0213.jo [Tue, 22 Mar 2016 01:10:44 +0000 (10:10 +0900)]
Removed unnecessary files in connectivity abstraction

deletes unnecessary files from clond-interface branch.

Change-Id: I6d6e59384f4a2b792e91e6a72d750893a47628fd
Signed-off-by: hyuna0213.jo <hyuna0213.jo@samsung.com>
Reviewed-on: https://gerrit.iotivity.org/gerrit/6159
Tested-by: jenkins-iotivity <jenkins-iotivity@opendaylight.org>
Reviewed-by: Jee Hyeok Kim <jihyeok13.kim@samsung.com>
(cherry picked from commit e4d5358fa4f4fcddc7d660b0b2538c299ed3e1c0)
Reviewed-on: https://gerrit.iotivity.org/gerrit/7427

8 years agowrong format specifier
Manoj Gupta [Tue, 29 Mar 2016 03:58:48 +0000 (09:28 +0530)]
wrong format specifier

Change-Id: Ibb26c371648dd14aa5b34d0f6015b60d4e341c11
Signed-off-by: Manoj Gupta <manoj.g2@samsung.com>
Reviewed-on: https://gerrit.iotivity.org/gerrit/7423
Tested-by: jenkins-iotivity <jenkins-iotivity@opendaylight.org>
Reviewed-by: Randeep Singh <randeep.s@samsung.com>
8 years agoProper Format Specifier for unsigned value
Manoj Gupta [Tue, 29 Mar 2016 03:37:03 +0000 (09:07 +0530)]
Proper Format Specifier for unsigned value

Change-Id: I032228b4ab2bd1e8e8636d6dce30b345d9be3959
Signed-off-by: Manoj Gupta <manoj.g2@samsung.com>
Reviewed-on: https://gerrit.iotivity.org/gerrit/7419
Tested-by: jenkins-iotivity <jenkins-iotivity@opendaylight.org>
Reviewed-by: Jon A. Cruz <jon@joncruz.org>
8 years agoCompile Time Warnings Removed
Manoj Gupta [Mon, 28 Mar 2016 14:01:55 +0000 (19:31 +0530)]
Compile Time Warnings Removed

Change-Id: Iec076f09552514418e97d78b574204a9786c6277
Signed-off-by: Manoj Gupta <manoj.g2@samsung.com>
Reviewed-on: https://gerrit.iotivity.org/gerrit/7403
Tested-by: jenkins-iotivity <jenkins-iotivity@opendaylight.org>
Reviewed-by: Jon A. Cruz <jon@joncruz.org>
8 years agomodified start Multicast Server logic of android BLE.
jihwan.seo [Thu, 17 Mar 2016 04:58:30 +0000 (13:58 +0900)]
modified start Multicast Server logic of android BLE.

Change-Id: I22dc91b6361da26830490dbf7c5b773473ccd4e8
Signed-off-by: jihwan.seo <jihwan.seo@samsung.com>
Reviewed-on: https://gerrit.iotivity.org/gerrit/5993
Tested-by: jenkins-iotivity <jenkins-iotivity@opendaylight.org>
Reviewed-by: Jon A. Cruz <jon@joncruz.org>
(cherry picked from commit 9a79a0333d52b0435f17eae84662a828a021a3c7)
Reviewed-on: https://gerrit.iotivity.org/gerrit/6113

8 years agoEnabled OIC_LOG_BUFFER for Tizen
vimala.v [Tue, 22 Mar 2016 06:25:09 +0000 (11:55 +0530)]
Enabled OIC_LOG_BUFFER for Tizen

Change-Id: Ifdbfeb28d96ea417e5a7125a2e2eef2f8cacb7bd
Signed-off-by: vimala.v <vimala.v@samsung.com>
Reviewed-on: https://gerrit.iotivity.org/gerrit/6163
Tested-by: jenkins-iotivity <jenkins-iotivity@opendaylight.org>
Reviewed-by: Jon A. Cruz <jon@joncruz.org>
8 years agoclean up getting methodID from jni
jihwan.seo [Fri, 25 Mar 2016 07:34:37 +0000 (16:34 +0900)]
clean up getting methodID from jni

Change-Id: Ic6852d4f6195356cd35c1c4cabe3d3438ecbcd26
Signed-off-by: jihwan.seo <jihwan.seo@samsung.com>
Reviewed-on: https://gerrit.iotivity.org/gerrit/6321
Tested-by: jenkins-iotivity <jenkins-iotivity@opendaylight.org>
Reviewed-by: Jon A. Cruz <jon@joncruz.org>
8 years agoChanged the message transmission logic about CA_DEFAULT_ADAPTER
hyuna0213.jo [Mon, 21 Mar 2016 04:55:36 +0000 (13:55 +0900)]
Changed the message transmission logic about CA_DEFAULT_ADAPTER

if transport adapter type is set as CA_DEFAULT_ADAPTER,
CA transmit a message via all transport adapter after generating a pdu.
but CoAP over UDP and CoAP over TCP can be used to generating pdu
according to transport type. so transport type should be determined
before generating a pdu.

Change-Id: I1cd6adda7dd060239eb40d74c36a1fa69da619f5
Signed-off-by: hyuna0213.jo <hyuna0213.jo@samsung.com>
Reviewed-on: https://gerrit.iotivity.org/gerrit/6115
Tested-by: jenkins-iotivity <jenkins-iotivity@opendaylight.org>
Reviewed-by: jihwan seo <jihwan.seo@samsung.com>
Reviewed-by: Jon A. Cruz <jon@joncruz.org>
(cherry picked from commit 58f6af2f58862fc44ae516fbe952c5a713a12077)
Reviewed-on: https://gerrit.iotivity.org/gerrit/6311

8 years ago[Easy-setup] Fixed Security feature
lankamadan [Mon, 28 Mar 2016 09:33:06 +0000 (18:33 +0900)]
[Easy-setup] Fixed Security feature

 - Updated Mediator and enrollee sample applications [Android, Linux,Tizen]
 - Updated iotivity.spec file
 - Updated tizen-sdb README file

Change-Id: I95a8540ced6c9b5ac5036afb2763aeb02ec24a09
Signed-off-by: Jay Sharma <jay.sharma@samsung.com>
Reviewed-on: https://gerrit.iotivity.org/gerrit/6303
Tested-by: jenkins-iotivity <jenkins-iotivity@opendaylight.org>
Reviewed-by: Madan Lanka <lanka.madan@samsung.com>
Conflicts:

service/easy-setup/sampleapp/enrollee/linux/enrolleewifi.cpp

Conflicts:

service/easy-setup/sampleapp/enrollee/linux/enrolleewifi.c

Change-Id: I95a8540ced6c9b5ac5036afb2763aeb02ec24a09
Signed-off-by: lankamadan <lanka.madan@samsung.com>
Reviewed-on: https://gerrit.iotivity.org/gerrit/6313
Tested-by: jenkins-iotivity <jenkins-iotivity@opendaylight.org>
Reviewed-by: Sandipan Patra <sandipan.p@samsung.com>
8 years ago[Easy-Setup] Changed the enrollee's cpp files to c files
Jay Sharma [Mon, 21 Mar 2016 13:08:15 +0000 (18:38 +0530)]
[Easy-Setup] Changed the enrollee's cpp files to c files

- Updated the enrollee SDK.
- Updated the Linux Application

Change-Id: Ia7a42011f609870fb2654f2a324213c1fdee5720
Signed-off-by: Jay Sharma <jay.sharma@samsung.com>
Reviewed-on: https://gerrit.iotivity.org/gerrit/6133
Tested-by: jenkins-iotivity <jenkins-iotivity@opendaylight.org>
Reviewed-by: Madan Lanka <lanka.madan@samsung.com>