const axlPointer myqtt_msg_get_app_msg ( MyQttMsg msg)

Allows to get application message inside the provided message (only for MYQTT_PUBLISH type).

Parameters
msgThe PUBLISH (MYQTT_PUBLISH) message to get the application message from.
Returns
Application message or NULL if it fails. It also reports NULL when MyQttMsg received is not a PUBLISH one.

References MYQTT_PUBLISH.