Skip to content

Learn-iot/iochibity-c

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

34 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

iotivity-c

docs

cod/operations.adoc has a concise summary of the kernel C API.

examples

To compile and run the examples you need a working installation of the Iotivity dev kit.

Edit source.me and then $ source source.me.

Then:

$ make server
$ make client

If you run into link problems on OS X use install_name_tool. See also $ man ld, search for "install_name".

For example, for the minimal example, to build just run make. Then run the server: ./server -o 0. Then in another terminal run one of the examples that come with the official dev kit, such as resource/examples/presenceclient or resource/examples/devicediscoveryclient. Be sure to run the server first, then the client.

debugging

OS X

The standard debugger is lldb, not GNU gdb.

Also, it looks like lldb might ignore DYLD_LIBRARY_PATH, so you might have to use install_name_tool to fix up your links. Use otool -L to see the links.

profiling

About

Iotivity C SDK

Resources

License

EPL-1.0, Unknown licenses found

Licenses found

EPL-1.0
LICENSE
Unknown
LICENSE.md

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • Shell 100.0%