Data Structures | |
| struct | rssi_client_t |
| Rssi client instance structure. More... | |
Typedefs | |
| typedef void(* | rssi_evt_cb_t) (const access_message_rx_t *p_message) |
| Event callback function type. | |
Functions | |
| 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.
- Parameters
-
[in,out] p_client Pointer to the client instance structure. [in] element_index Index of the element to register the model with. [in] rssi_handler Handler used to process incoming messages.
- Return values
-
NRF_SUCCESS The rssi client was successfully initialized. NRF_ERROR_NULL Passed rssi_handler not valid
- See also
- access_model_add() for other return values