Skip to main content


Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Eclipse Projects » Kura » Command Service
Command Service [message #1782799] Thu, 01 March 2018 15:26 Go to next message
Giuseppe Pappalardo is currently offline Giuseppe PappalardoFriend
Messages: 1
Registered: March 2018
Junior Member
Hello,
I'm trying to use the "command service" (CMD-V1 service through mqtt) but I have no idea about how build the payload.
I'm doing a test trying to run a simple directory listing (ls -al) on my device.
I'm publishing on the topic "$EDC/[account-name]/[client-id]/CMD-V1/EXEC/command" using as payload:

{"metrics":{"client.id":"0123456789","requester.client.id":"mqttspy","command.command":"ls -al"}}

I get no errors on kura.log and no reply from the device.
Could someone let me know how correct the payload?
Best
Re: Command Service [message #1783394 is a reply to message #1782799] Mon, 12 March 2018 15:04 Go to previous message
Matteo Maiero is currently offline Matteo MaieroFriend
Messages: 423
Registered: July 2015
Location: Italy
Senior Member
I believe this question was answered here: https://github.com/eclipse/kura/issues/488#issuecomment-370067210
Previous Topic:The modbus library
Next Topic:stopping via osgi> exit causes reboot via watchdog
Goto Forum:
  


Current Time: Fri Nov 08 08:12:02 GMT 2024

Powered by FUDForum. Page generated in 0.02529 seconds
.:: Contact :: Home ::.

Powered by: FUDforum 3.0.2.
Copyright ©2001-2010 FUDforum Bulletin Board Software

Back to the top