nRF Connect SDK API 2.8.99
|
int config_channel_transport_get_disabled | ( | uint8_t * | buffer, |
size_t | length ) |
#include <applications/nrf_desktop/src/util/config_channel_transport.h>
Handle a get operation and inform that the transport is disabled.
Fills the buffer with response informing that the transport is disabled and cannot be used to configure device. If a given transport is disabled, set operation should be ignored and get operation should use this function to prepare response for host.
The disabled transport returns disconnected status.
buffer | Pointer to the buffer to be filled. |
length | Length of the data to be filled. |