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
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":{"":"0123456789","":"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?
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: 393
Registered: July 2015
Location: Italy
Senior Member
I believe this question was answered here:
Previous Topic:The modbus library
Next Topic:stopping via osgi> exit causes reboot via watchdog
Goto Forum:

Current Time: Sun Jul 12 13:03:07 GMT 2020

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

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

Back to the top