Mqtt Toolkit - @octave_mqtt/unsubscribe


: unsubscribe (obj, topic)

Unsubscribe from topic

Inputs

obj

A previously created octave_mqtt object

topic

string topic name.

Outputs

None

Examples

 
 client = mqttclient("tcp://127.0.0.1");
 subscribe(client, "test1");
 unsubscribe(client, "test1");
 
 

See also: mqttclient, subscribe.