NCP Host Communication Interface#
Component that provides the Bluetooth Network Co-Processor (NCP) host communication interface. This is a No-Code component.
Functions#
void
sl_ncp_host_com_init(void)
void
sl_ncp_host_com_write(uint32_t len, uint8_t *data)
int32_t
sl_ncp_host_com_read(uint32_t len, uint8_t *data)
int32_t
sl_ncp_host_com_peek(void)
bool
Macros#
#define
SL_NCP_HOST_COM_BUF_SIZE (260)
Function Documentation#
sl_ncp_host_com_init#
void sl_ncp_host_com_init (void )
Parameters
N/A |
NCP host communication initialization.
Definition at line
43
of file common/ncp_host_com/sl_ncp_host_com.h
sl_ncp_host_com_write#
void sl_ncp_host_com_write (uint32_t len, uint8_t * data)
Parameters
N/A | len | |
N/A | data |
Transmit function
Definition at line
48
of file common/ncp_host_com/sl_ncp_host_com.h
sl_ncp_host_com_read#
int32_t sl_ncp_host_com_read (uint32_t len, uint8_t * data)
Parameters
N/A | len | |
N/A | data |
Receive function
Definition at line
53
of file common/ncp_host_com/sl_ncp_host_com.h
sl_ncp_host_com_peek#
int32_t sl_ncp_host_com_peek (void )
Parameters
N/A |
Gives back already received message length.
Definition at line
58
of file common/ncp_host_com/sl_ncp_host_com.h
sl_ncp_host_is_ok_to_sleep#
bool sl_ncp_host_is_ok_to_sleep (void )
Parameters
N/A |
Definition at line
60
of file common/ncp_host_com/sl_ncp_host_com.h