Functions
Functions
BLE Services » Multi Link Multi Role Service (MLMR)
Collaboration diagram for Functions:

## Functions
sdk_err_t | mlmr_service_init (mlmr_init_t *p_mlmr_init)
| Initialize a Multi Link Multi Role Service instance and add in the database. More...
sdk_err_t | mlmr_tx_data_send (uint8_t conn_idx, uint8_t *p_data, uint16_t length)
| Send data to peer device. More...
sdk_err_t | mlmr_rx_flow_ctrl_set (uint8_t conn_idx, mlmr_flow_ctrl_state_t flow_ctrl)
| Send MLMR Rx flow control state to peer device. More...

## Detailed Description

## Function Documentation

## ◆ mlmr_rx_flow_ctrl_set()

sdk_err_t mlmr_rx_flow_ctrl_set | ( | uint8_t | conn_idx,
|  | mlmr_flow_ctrl_state_t | flow_ctrl
| ) |  |

Send MLMR Rx flow control state to peer device.

Parameters

  [in] | conn_idx | Index of the connection.
  [in] | flow_ctrl | MLMR Rx flow control state

Returns
  Result of sending MLMR Rx flow control state.

## ◆ mlmr_service_init()

sdk_err_t mlmr_service_init | ( | mlmr_init_t * | p_mlmr_init | ) |

Initialize a Multi Link Multi Role Service instance and add in the database.

Parameters

  [in] | p_mlmr_init | Pointer to Multi Link Multi Role Service initialization variables.

Returns
  Result of service initialization.

## ◆ mlmr_tx_data_send()

sdk_err_t mlmr_tx_data_send | ( | uint8_t | conn_idx,
|  | uint8_t * | p_data,
|  | uint16_t | length
| ) |  |

Send data to peer device.

Parameters

  [in] | conn_idx | Index of the connection.
  [in] | p_data | Pointer to sent data.
  [in] | length | Length of sent data.

Returns
  Result of sending data.