Skip to main content

delta-subscribe-simple-example

Import the AMPS library:

import AMPS

Construct the command:

cmd = AMPS.Command(AMPS.Message.Command.DeltaSubscribe)
cmd.setTopic(topic)

The command can now be used in execute or execute_async.