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_write(uint32_t len, uint8_t *data)
int32_t
sl_ncp_host_com_read(uint32_t len, uint8_t *data)

Macros#

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/Alen
N/Adata

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/Alen
N/Adata

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

Macro Definition Documentation#

SL_NCP_HOST_COM_BUF_SIZE#

#define SL_NCP_HOST_COM_BUF_SIZE
Value:
(260)

Definition at line 43 of file common/ncp_host_com/config/sl_ncp_host_com_config.h