![]() |
nRF5 SDK
v12.1.0
|
Choose documentation: | nRF5 SDK | S130 SoftDevice API | S132 SoftDevice API | S212 SoftDevice API | S332 SoftDevice API |
This module implements the Bicycle Speed and Cadence ANT+ device profile. The API for this module is available here: Bicycle Speed and Cadence profile
During initialization, the module configures the selected channel and resets the profile data.
The module traces profile-specific information to UART using the logger.
The following configuration options are available at compile time to assist in the development phase of the BSC Receiver implementation:
The above macros must be defined on the project settings level.
The following code snippets show how to initialize the BSC Receiver:
After opening the profile instance channel, the module keeps the profile structure updated.
Three different message periods are supported:
The sample application that uses the Bicycle Speed and Cadence Profile is available here: Receiver
The following code snippets show how to initialize the BSC Transmitter:
After opening the profile instance channel, the module broadcasts the data from the profile structure. The user application should keep this structure updated. Users can configure which main data page is used (page 0 or 5) and whether page 1 and/or page 4 are present.
The sample application that uses the Bicycle Speed and Cadence Profile is available here: Transmitter