| nRF5 SDK v12.0.0 |

Choose documentation: | nRF5 SDK | S130 SoftDevice API | S132 SoftDevice API | S212 SoftDevice API | S332 SoftDevice API

All Data Structures Functions Variables Typedefs Enumerations Enumerator Groups Pages
Data Fields
ble_rsc_t Struct Reference
Running Speed and Cadence Service Client

Structure containing the Running Speed and Cadence measurement received from the peer. More...

`#include <ble_rscs_c.h>`

## Data Fields
bool | is_inst_stride_len_present
bool | is_total_distance_present
bool | is_running
uint16_t | inst_speed
uint8_t | inst_cadence
uint16_t | inst_stride_length
uint32_t | total_distance

## Detailed Description

Structure containing the Running Speed and Cadence measurement received from the peer.

## Field Documentation

uint8_t ble_rsc_t::inst_cadence

Instantaneous Cadence.

uint16_t ble_rsc_t::inst_speed

Instantaneous Speed.

uint16_t ble_rsc_t::inst_stride_length

Instantaneous Stride Length.

bool ble_rsc_t::is_inst_stride_len_present

True if Instantaneous Stride Length is present in the measurement.

bool ble_rsc_t::is_running

True if running, False if walking.

bool ble_rsc_t::is_total_distance_present

True if Total Distance is present in the measurement.

uint32_t ble_rsc_t::total_distance

Total Distance.