nRF5 SDK v15.0.0
Functions
BSP over CLI Module

Module for sending BSP events over CLI. More...

Functions

ret_code_t bsp_cli_init (bsp_event_callback_t callback)
 Function for initializing the BSP over CLI Module. More...
 

Detailed Description

Module for sending BSP events over CLI.

The module uses Command Line Interface and enables user to send events to BSP. They are later handled by the event handler provided. Available commands:

Function Documentation

ret_code_t bsp_cli_init ( bsp_event_callback_t  callback)

Function for initializing the BSP over CLI Module.

Before calling this function, the BSP module must be initialized.

Parameters
[in]callbackFunction to be called when event is recevied.
Return values
NRF_SUCCESSIf initialization was successful.

Documentation feedback | Developer Zone | Subscribe | Updated