2.3.3.1 COM_FrameSet()
com_adapter_result_t COM_FrameSet (uint8_t * responseBufferPtr, uint16_t responseLength)
Copy and format bytes from the given buffer into the static send buffer using the defined framing format.
Note:
For UART, this function will simply send the bytes out of the peripheral because the communication layer does not need to wait for the host to initiate any transfer. Doing this makes it so we do not need to define a static buffer in the communication code.
| in | responseBufferPtr |
- Pointer to the buffer that needs to be sent |
| in | responseLength |
- Length of the response that needs to be sent |
