Functions
Functions
BLE Services » Body Composition Service (BCS)

## Functions
sdk_err_t | bcs_service_init (bcs_init_t *p_bcs_init)
| Initialize a Body Composition Service instance and add in the DB. More...
sdk_err_t | bcs_measurement_send (uint8_t conn_idx, bcs_meas_val_t *p_meas, uint8_t cache_num)
| Send Body Composition Measurement indication. More...

## Detailed Description

## Function Documentation

## ◆ bcs_measurement_send()

sdk_err_t bcs_measurement_send | ( | uint8_t | conn_idx,
|  | bcs_meas_val_t * | p_meas,
|  | uint8_t | cache_num
| ) |  |

Send Body Composition Measurement indication.

Parameters

  [in] | conn_idx | Connection index.
  [in] | p_meas | Pointer to body composition measurement data.
  [in] | cache_num | The number of measurement caches.

Returns
  Result of indicate value.

## ◆ bcs_service_init()

sdk_err_t bcs_service_init | ( | bcs_init_t * | p_bcs_init | ) |

Initialize a Body Composition Service instance and add in the DB.

Parameters

  [in] | p_bcs_init | Pointer to BC Service initialization variable.

Returns
  Result of service initialization.