| 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
Macros | Typedefs | Functions
Bicycle Power profile page 17
Bicycle Power profile pages

## Macros
#define | DEFAULT_ANT_BPWR_PAGE17() (ant_bpwr_page17_data_t) DEFAULT_ANT_BPWR_PAGE_TORQUE(0, 0, 0, 0)
| Initialize page 17.

## Typedefs
typedef ant_bpwr_page_torque_data_t | ant_bpwr_page17_data_t
| Data structure for Bicycle Power data page 17. More...

## Functions
void | ant_bpwr_page_17_encode (uint8_t *p_page_buffer, ant_bpwr_page17_data_t const *p_page_data)
| Function for encoding page 17. More...
void | ant_bpwr_page_17_decode (uint8_t const *p_page_buffer, ant_bpwr_page17_data_t *p_page_data)
| Function for decoding page 17. More...

## Detailed Description

## Typedef Documentation

typedef ant_bpwr_page_torque_data_t ant_bpwr_page17_data_t

Data structure for Bicycle Power data page 17.

Note
  This structure implements only page 17 specific data.

## Function Documentation

void ant_bpwr_page_17_decode | ( | uint8_t const * | p_page_buffer,
|  | ant_bpwr_page17_data_t * | p_page_data
| ) |  |

Function for decoding page 17.

Parameters

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

void ant_bpwr_page_17_encode | ( | uint8_t * | p_page_buffer,
|  | ant_bpwr_page17_data_t const * | p_page_data
| ) |  |

Function for encoding page 17.

Parameters

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