|
virtual void | send (const uint8_t *data, size_t size) const |
|
virtual void | sendError () const |
|
virtual void | send_P (const uint8_t *data, size_t size) const |
|
virtual void | sendX (const uint8_t *data, const size_t x) const =0 |
|
◆ send()
void CorsairLightingProtocolResponse::send |
( |
const uint8_t * |
data, |
|
|
size_t |
size |
|
) |
| const |
|
virtual |
Send 64 bytes via the CorsairLightingProtocol. All unset bytes will be filled with zeros.
- Parameters
-
data | the array with the data |
size | the length of the array |
◆ send_P()
void CorsairLightingProtocolResponse::send_P |
( |
const uint8_t * |
data, |
|
|
size_t |
size |
|
) |
| const |
|
virtual |
Send data from program memory.
- Parameters
-
data | the array with the data, the pointer must point to program memory |
size | the length of the array which should be send. |
◆ sendError()
void CorsairLightingProtocolResponse::sendError |
( |
| ) |
const |
|
virtual |
◆ sendX()
virtual void CorsairLightingProtocolResponse::sendX |
( |
const uint8_t * |
data, |
|
|
const size_t |
x |
|
) |
| const |
|
pure virtual |
Send some bytes data via the CorsairLightingProtocol.
- Parameters
-
data | the array with the data |
x | the length of the array which should be send. |
Implemented in CorsairLightingProtocolHID.
The documentation for this class was generated from the following files: