nabto_device_service_invocation_get_response_message_data()

DESCRIPTION

Get the response message from the service invocation. The message is undefined if the service invocation failed.

DECLARATION

NABTO_DEVICE_DECL_PREFIX const uint8_t* NABTO_DEVICE_API
nabto_device_service_invocation_get_response_message_data(NabtoDeviceServiceInvocation* serviceInvocation)

PARAMETERS

serviceInvocation:
[in] The service invocation object.

RETURNS

A pointer to the start of the response message. This pointer is alive until the service invocation object is freed.