nRF5 SDK v17.1.0
Data Fields
ant_sdm_page2_data_t Struct Reference

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.


The documentation for this struct was generated from the following file:

Documentation feedback | Developer Zone | Subscribe | Updated