Skip to main content

sow-and-delta-simple-example

Including the basic AMPS library:

#include <amps/ampsplusplus.hpp>

Constructing the command:

AMPS::Command cmd(AMPS::Message::Command::SOWAndDeltaSubscribe);
cmd.setTopic(topic);

The command can now be used in execute or executeAsync.