Functions
Functions
BLE Services » Reference Time Update Service (RTUS)
Collaboration diagram for Functions:

## Functions
sdk_err_t | rtus_service_init (rtus_init_t *p_rtus_init)
| Initialize a RTUS instance and add in the DB. More...
void | rtus_current_state_set (rtus_cur_state_t cur_state)
| Set state of reference time update . More...
void | rtus_update_result_set (rtus_update_result_t update_result)
| Set result of reference time update . More...

## Detailed Description

## Function Documentation

## ◆ rtus_current_state_set()

void rtus_current_state_set | ( | rtus_cur_state_t | cur_state | ) |

Set state of reference time update .

Parameters

  [in] | cur_state | Current state of the reference time update .

## ◆ rtus_service_init()

sdk_err_t rtus_service_init | ( | rtus_init_t * | p_rtus_init | ) |

Initialize a RTUS instance and add in the DB.

Parameters

  [in] | p_rtus_init | Pointer to RTUS Service initialization variable.

Returns
  Result of service initialization.

## ◆ rtus_update_result_set()

void rtus_update_result_set | ( | rtus_update_result_t | update_result | ) |

Set result of reference time update .

Parameters

  [in] | update_result | Resultof the reference time update .