Send a raw byte string request and wait for a response.
- Parameters
-
[in] | srvc | A pointer to a service definition object. |
[in] | raw_req | Raw request data to be sent. |
[out] | raw_rsp | Buffer to copy the raw response into and size of the buffer. |
- Returns
- 0 on success -SSF_EINVAL if parameters are invalid. -SSF_EBUSY if transport is not initialized. -SSF_EPROTO if zcbor encode or decode fails. Either on client or server side. -SSF_ENOMEM if allocation of transport layer buffer fails. -SSF_EIO if sending with underlying transport fails. -SSF_EMSGSIZE if message is too long. -SSF_EPERM if mismatching domain id on server side. -SSF_ENOTSUP if service version number on client and server side does not match. -SSF_EPROTONOSUPPORT if the service is not found on server side.