MQTT client unsubscribe API definitions.
More...
Called to send an unsubscribe message to the broker requesting removal of a subscription to an MQTT topic.
- Note
- Call is blocking. The call returns after the receipt of the UNSUBACK control packet. This is the outer function which does the validations and calls the internal unsubscribe above to perform the actual operation. It is also responsible for client state changes
- Parameters
-
| pClient | Reference to the IoT Client |
| pTopicName | Topic Name to publish to |
| topicNameLen | Length of the topic name |
- Returns
- An IoT Error Type defining successful/failed unsubscribe call