Remote Access base on libstrophe 56/2156/17
authorK.J. Kao <jeremyk@workssys.com>
Wed, 29 Jul 2015 08:53:00 +0000 (16:53 +0800)
committerJon A. Cruz <jonc@osg.samsung.com>
Fri, 4 Sep 2015 18:46:59 +0000 (18:46 +0000)
commit8240c09721afa1381f1279b8278e089147e64b93
tree00477f449bf8b0873d0908eb0d3cc2cade7142ec
parent610012a40924b391912156baee9d4f6d0ce9f7ee
Remote Access base on libstrophe

merge from 'Change 1971'

add a option(WITH_RA_IBB) and two folders(libstrophe,wksxmppxep)

add test code with wksxmpp_chat

try to checkout specific version

Conflicts:
resource/csdk/SConscript

disable ra_xmpp library link when using libstrophe.
remove wks prefix file name and function name.

use IBB instread of chat message.

multi session support
  use pdu token(CoAP data) as session id

add error_cb function

add connection_status

Patch Set 7:
observe in persistent ibb session

Patch Set 8:
remove xmpp chat code
code format review

Patch Set 9:
patch libstrophe, add function xmpp_conn_is_secured()

Patch Set 10:
update README, apt-get install libtool for libstrophe
update code follow comments
call force tls function

Patch Set 11:
add README-building-and-running-remote-access-sample.txt

Patch Set 12:
update README

Patch Set 13:
update for comments, code format review.

Patch Set 14:
update example code for comments

Patch Set 15:
update for xep0047.
fix xep0047 git version.

Patch Set 16:
update for comments.

Change-Id: Ia48642bd3a347248a1d2cf810c575333d010368a
Signed-off-by: K.J. Kao <jeremyk@workssys.com>
Reviewed-on: https://gerrit.iotivity.org/gerrit/2156
Reviewed-by: Jon A. Cruz <jonc@osg.samsung.com>
Tested-by: Jon A. Cruz <jonc@osg.samsung.com>
13 files changed:
README-building-and-running-remote-access-sample.txt [new file with mode: 0644]
Readme.scons.txt
build_common/SConscript
build_common/external_libs.scons
extlibs/libstrophe/SConscript [new file with mode: 0644]
extlibs/libstrophe/strophe-xmpp_conn_is_secured.patch [new file with mode: 0644]
extlibs/wksxmppxep/SConscript [new file with mode: 0644]
resource/csdk/SConscript
resource/csdk/connectivity/samples/linux/SConscript
resource/csdk/connectivity/src/ra_adapter/SConscript
resource/csdk/connectivity/src/ra_adapter/caraadapter.c
resource/csdk/stack/samples/linux/SimpleClientServer/ocremoteaccessclient.cpp
resource/csdk/stack/samples/linux/SimpleClientServer/ocserver.cpp