Subscribe
Subscribe(topic AS String[, qos AS Integer]) AS Integer
Subscribing to a topic of broker.
Parameters:
- Topic: the topic to subscribe
- Qos: the quality of service level to use (possible values: 0, 1 or 2).
Returns 0 if success, otherwise the error code.