| 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
ant_sdm_page2_data_t Struct Reference
Stride Based Speed and Distance Monitor profile page 2

Data structure for SDM data page 2. More...

`#include <ant_sdm_page_2.h>`

## Data Fields
union {
struct {
enum | { ANT_SDM_USE_STATE_INACTIVE = 0x00, ANT_SDM_USE_STATE_ACTIVE = 0x01, ANT_SDM_STATE_RESERVED0 = 0x02, ANT_SDM_STATE_RESERVED1 = 0x03 }
enum | { ANT_SDM_HEALTH_OK = 0x00, ANT_SDM_HEALTH_ERROR = 0x01, ANT_SDM_HEALTH_WARNING = 0x02, ANT_SDM_HEALTH_RESERVED = 0x03 }
enum | { ANT_SDM_BATTERY_STATUS_NEW = 0x00, ANT_SDM_BATTERY_STATUS_GOOD = 0x01, ANT_SDM_BATTERY_STATUS_OK = 0x02, ANT_SDM_BATTERY_STATUS_LOW = 0x03 }
enum | { ANT_SDM_LOCATION_LACES = 0x00, ANT_SDM_LOCATION_MIDSOLE = 0x01, ANT_SDM_LOCATION_OTHER = 0x02, ANT_SDM_LOCATION_ANKLE = 0x03 }
enum ant_sdm_page2_data_t:: { ... } :: state
| Use state.
enum ant_sdm_page2_data_t:: { ... } :: health
| SDM health.
enum ant_sdm_page2_data_t:: { ... } :: battery
| Battery status.
enum ant_sdm_page2_data_t:: { ... } :: location
| Location of the SDM sensor.
} items
uint8_t byte
} | status
| Actual status.
uint16_t | cadence
| Actual cadence.

## Detailed Description

Data structure for SDM data page 2.