nabto_device_service_invocation_set_service_id()

DESCRIPTION

Set the service id to invoke. The service id is configured in the nabto cloud console.

DECLARATION

NABTO_DEVICE_DECL_PREFIX NabtoDeviceError NABTO_DEVICE_API
nabto_device_service_invocation_set_service_id(NabtoDeviceServiceInvocation* serviceInvocation, const char* serviceId)

PARAMETERS

serviceInvocation:
The service invocation object.
serviceId:
The service id.

RETURN VALUES

NABTO_DEVICE_EC_OK iff the serviceId is set.

EXAMPLES

None.