5.2.3.1. msgRosIot.action


5.2.3.1.1. Description

In order for the client and server to communicate, we need to define a few messages on which they communicate. This is with an action specification. This defines the Goal, Feedback, and Result messages with which clients and servers communicate

# goal
string protocol
string mode
string topic
string message

# result
bool flag_success

# feedback
int8 percentage_complete

5.2.3.1.2. Parameters


5.2.3.1.2.1. Goal

protocol(string) - IoT protocol to follow

mode(int) - Mode of the operation. Publish or Subscribe.

topic(string) - Topic name

message(string) - Message to push


5.2.3.1.2.2. Feedback

percentage_complete(int8) - Progress of goal


5.2.3.1.2.3. Result

flag_success(bool) - True when goal completed otherwise False