nRF5 SDK for Mesh v3.2.0  08c60f6
RSSI monitor client model interface

Data Structures

struct  rssi_client_t
 Rssi client instance structure. More...


typedef void(* rssi_evt_cb_t) (const access_message_rx_t *p_message)
 Event callback function type.


uint32_t rssi_client_init (rssi_client_t *p_client, uint16_t element_index, rssi_evt_cb_t rssi_handler)
 Initializes a rssi client instance. More...

Detailed Description

Function Documentation

◆ rssi_client_init()

uint32_t rssi_client_init ( rssi_client_t p_client,
uint16_t  element_index,
rssi_evt_cb_t  rssi_handler 

Initializes a rssi client instance.

[in,out]p_clientPointer to the client instance structure.
[in]element_indexIndex of the element to register the model with.
[in]rssi_handlerHandler used to process incoming messages.
Return values
NRF_SUCCESSThe rssi client was successfully initialized.
NRF_ERROR_NULLPassed rssi_handler not valid
See also
access_model_add() for other return values