nRF Connect SDK API 0.1.0
Loading...
Searching...
No Matches

◆ config_channel_report_parse()

int config_channel_report_parse ( const uint8_t *  buffer,
size_t  length,
struct config_event event 
)

#include <applications/nrf_desktop/src/util/config_channel_transport.h>

Parse the configuration channel report.

Parameters
bufferPointer to the report buffer to be parsed.
lengthLength of the buffer.
eventPointer to the event used to store the parsed values.
Returns
Number of parsed bytes if the operation was successful. Otherwise, a negative error code is returned.