MyQttQos myqtt_msg_get_qos ( MyQttMsg msg)

Allows to get quality of service of the message received.

Parameters
msgThe message to get the quality of service configuration from.
Returns
The quality of service ( as defined by MyQttQos) or -1 if it fails.