Hi Alex
I'm not sure if this question belows to the iotivity-dev group. Pls create
an issue for that https://github.com/plgd-dev/cloud/issues.

If you mean:
https://github.com/plgd-dev/cloud/blob/master/bundle/client/grpc/main.go

You need to put json to stdin and call it with args "deviceid", "href". eg:
echo '{ "state": true }' | grpc --update --deviceid <deviceid> --href
/light/1

Regards
Jozef



On Thu, 24 Sep 2020 at 11:11, <[email protected]> wrote:

> Hi.
>
> I'm trying to control the sample devices on cloud(using grpc client).
>
> Getting the status of the device was successful, but I don't know how to
> control it(ex, light turn on/off).
>
> How can I control it?
>
> Thank you for reading my question.
> 
>
>


-=-=-=-=-=-=-=-=-=-=-=-
Groups.io Links: You receive all messages sent to this group.
View/Reply Online (#10401): 
https://iotivity.groups.io/g/iotivity-dev/message/10401
Mute This Topic: https://groups.io/mt/77053685/21656
Group Owner: [email protected]
Unsubscribe: https://iotivity.groups.io/g/iotivity-dev/unsub 
[[email protected]]
-=-=-=-=-=-=-=-=-=-=-=-


Reply via email to