Commands with Input Parameters #118
sounak-1989
started this conversation in
General
Replies: 1 comment
-
which device protocol you are talking about? |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
Hey guys,
I have a device with multiple channels. There are different sensors connected to each channel. I am trying to design the device profile so that I can pass in the channel which I want to read.
Is there a way where I can send a read command from core command with the Channel number passed as a JSON body? I dont see any option to access the JSON body through the parameters passed to HandleReadCommands().
Let me know if there is a better way to do it or am I getting the whole thing wrong.
Thanks
Beta Was this translation helpful? Give feedback.
All reactions