Are you looking for example code of a client or a server?

If you are looking for a sample server the smart_home_server_linux sample is 
the most up to date and complete sample for the server. Unfortunately we don’t 
have a client sample to interact with this server it is typically exercised by 
the certification and testing tool (CTT).

If you are looking for sample clients I would suggest checking out the 
temp_sensor_client_linux


The simpleclient will talk to the simpleserver sample.  However these samples 
are not using standardized resources for that reason I typically don’t 
recommend them as a samples but they are some of the few samples that we have 
both a client and server that talk with each other.

Hope this helps.

George

From: [email protected] <[email protected]> On 
Behalf Of [email protected]
Sent: Wednesday, February 19, 2020 8:29 AM
To: [email protected]
Subject: Re: [dev] Iotivity Client

Hi Clarke,
Thanks. I've downloaded the OTGC Linux.
Also, is there any example in C for the client?
In iotivity-lite source in github, there are several examples of the client in 
C, but I couldn't found an example when it runs get or post function (e.g. turn 
on/off the light, get light state) from the client that is written in C file.


-=-=-=-=-=-=-=-=-=-=-=-
Groups.io Links: You receive all messages sent to this group.

View/Reply Online (#10354): 
https://iotivity.groups.io/g/iotivity-dev/message/10354
Mute This Topic: https://groups.io/mt/69378274/21656
Group Owner: [email protected]
Unsubscribe: https://iotivity.groups.io/g/iotivity-dev/unsub  
[[email protected]]
-=-=-=-=-=-=-=-=-=-=-=-

Reply via email to