Not able to send command to rest device service json resource from app service #228
Closed
sudhamani-hcl
started this conversation in
General
Replies: 2 comments
-
You have to use |
Beta Was this translation helpful? Give feedback.
0 replies
-
Thanks @lenny-intel it was helpful. Hence closing the discussion. |
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
-
Hi Team,
I am trying to send core command to rest device service from EdgeX app service.
I am using
CommandClient().IssueSetCommandByName()
API in EdgeX app service.Rest device service is expecting data in the format
map[string]map[string]string
.For ex:
map[json:map[id:100 name:"xxx"]]
.Here;
Resource type is
object type
Resource name is
json
However
IssueSetCommandByName()
API is acceptingmap[string]string
type data only.How can I send
map[json:map[id:100 name:"xxx"]]
data to json resource from app service?Any help would be appreciated.
Thanks,
Sudhamani
Beta Was this translation helpful? Give feedback.
All reactions