| 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 Structures | Macros | Functions
HRM profile page 4
Heart Rate Monitor profile pages

## Data Structures
struct | ant_hrm_page4_data_t
| Data structure for HRM data page 4. More...

## Macros
#define | DEFAULT_ANT_HRM_PAGE4()
| Initialize page 4. More...

## Functions
void | ant_hrm_page_4_encode (uint8_t *p_page_buffer, ant_hrm_page4_data_t const *p_page_data)
| Function for encoding page 4. More...
void | ant_hrm_page_4_decode (uint8_t const *p_page_buffer, ant_hrm_page4_data_t *p_page_data)
| Function for decoding page 4. More...

## Detailed Description

## Macro Definition Documentation

#define DEFAULT_ANT_HRM_PAGE4 | ( |  | ) |

Value:
(ant_hrm_page4_data_t) \
{ \
.manuf_spec = 0, \
.prev_beat = 0, \
}

Initialize page 4.

## Function Documentation

void ant_hrm_page_4_decode | ( | uint8_t const * | p_page_buffer,
|  | ant_hrm_page4_data_t * | p_page_data
| ) |  |

Function for decoding page 4.

Parameters

  [in] | p_page_buffer | Pointer to the data buffer.
  [out] | p_page_data | Pointer to the page data.

void ant_hrm_page_4_encode | ( | uint8_t * | p_page_buffer,
|  | ant_hrm_page4_data_t const * | p_page_data
| ) |  |

Function for encoding page 4.

Parameters

  [in] | p_page_data | Pointer to the page data.
  [out] | p_page_buffer | Pointer to the data buffer.