APIs, concepts, guides, and more

◆ ServiceChannelWrite() [3/3]

void ServiceChannelWrite ( int32_t index,
int32_t subIndex,
int32_t byteCount,
RapidVector< uint8_t > bytes,
uint32_t timeoutMilliseconds )

This is an overloaded member function, provided for convenience. It differs from the above function only in what argument(s) it accepts.

Parameters
indexThe memory address to write to
subIndexThe sub index to write to
byteCountThe number of bytes to write
bytesThe raw bytes to write in a RapidVector<uint8_t>
timeoutMillisecondsThe time in ms used in two ways: first as the wait for the service channel to become available (a previous operation, possibly from another process, may still be in progress), then as the wait for the write response. Each wait generates a timeout error if exceeded, so a call can take up to twice this value before erroring.
See also
ServiceChannelWrite