Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/rzr/iotivity
Mirror of the IoTivity Framework
https://github.com/rzr/iotivity
Last synced: about 22 hours ago
JSON representation
Mirror of the IoTivity Framework
- Host: GitHub
- URL: https://github.com/rzr/iotivity
- Owner: rzr
- License: apache-2.0
- Created: 2015-01-19T15:57:55.000Z (almost 10 years ago)
- Default Branch: master
- Last Pushed: 2022-05-20T20:55:45.000Z (over 2 years ago)
- Last Synced: 2024-12-18T23:13:14.547Z (4 days ago)
- Language: C++
- Homepage: http://www.iotivity.org
- Size: 82.5 MB
- Stars: 2
- Watchers: 3
- Forks: 1
- Open Issues: 5
-
Metadata Files:
- Readme: README-building-and-running-remote-access-sample.txt
- Contributing: CONTRIBUTING.md
- License: LICENSE.md
Awesome Lists containing this project
README
== Quick guide: build and run IoTivity(remote access) projects on Ubuntu ==
1. Build
Go to the top directory of 'iotivity' project
(Note: should always run 'scons' command in this directory)Install external libraries (on Debian based OS):
$ sudo apt-get install libboost-dev libboost-program-options-dev libboost-thread-dev uuid-dev libssl-dev
$ sudo apt-get install libglib2.0-dev autoconf libtool chrpathOr check this page for more updated info:
https://wiki.iotivity.org/osBuild release binaries:
$ scons WITH_RA=1 WITH_RA_IBB=1
(Note: C sdk requires tiny-cbor. Please follow the instruction in the build
message to install tiny-cbor)Build debug binaries:
$ scons WITH_RA=1 WITH_RA_IBB=1 RELEASE=falseHelp:
$ scons -hClear:
$ scons -c2. Run the remote access testing
remote access samples in /out/linux/x86_64/release/resource/csdk/stack/samples/linux/SimpleClientServerbefore testing,
setup a XMPP server and create an account in XMPP server
ex: account: user1@localhost / password: 1234oic server:
$ ocserver -o 1 -u user1 -d localhost -w 1234 -s localhostoic client:
$ ocremoteaccessclient -t 1 -u user1 -d localhost -w 1234 -s localhosttest steps:
1. run ocserver, and copy the bound jid
2. run ocremoteaccessclient on the another term, and paste the bound jid of ocserver and press 'Enter'
use '-t' to change testcase.