Important changes to repositories hosted on mbed.com
Mbed hosted mercurial repositories are deprecated and are due to be permanently deleted in July 2026.
To keep a copy of this software download the repository Zip archive or clone locally using Mercurial.
It is also possible to export all your personal repositories from the account settings page.
Fork of BLE_WallbotBLE_Challenge by
ble_rscs.h File Reference
Go to the source code of this file.
Data Structures | |
struct | ble_rscs_evt_t |
Running Speed and Cadence Service event. More... | |
struct | ble_rscs_init_t |
Running Speed and Cadence Service init structure. More... | |
struct | ble_rscs_s |
Running Speed and Cadence Service structure. More... | |
struct | ble_rscs_meas_s |
Running Speed and Cadence Service measurement structure. More... | |
Typedefs | |
typedef struct ble_rscs_s | ble_rscs_t |
Running Speed and Cadence Service structure. | |
typedef void(* | ble_rscs_evt_handler_t )(ble_rscs_t *p_rscs, ble_rscs_evt_t *p_evt) |
Running Speed and Cadence Service event handler type. | |
typedef struct ble_rscs_meas_s | ble_rscs_meas_t |
Running Speed and Cadence Service measurement structure. | |
Enumerations | |
enum | ble_rscs_evt_type_t { BLE_RSCS_EVT_NOTIFICATION_ENABLED, BLE_RSCS_EVT_NOTIFICATION_DISABLED } |
Running Speed and Cadence Service event type. More... | |
Functions | |
uint32_t | ble_rscs_init (ble_rscs_t *p_rscs, const ble_rscs_init_t *p_rscs_init) |
Function for initializing the Running Speed and Cadence Service. | |
void | ble_rscs_on_ble_evt (ble_rscs_t *p_rscs, ble_evt_t *p_ble_evt) |
Function for handling the Application's BLE Stack events. | |
uint32_t | ble_rscs_measurement_send (ble_rscs_t *p_rscs, ble_rscs_meas_t *p_measurement) |
Function for sending running speed and cadence measurement if notification has been enabled. |
Detailed Description
Definition in file ble_rscs.h.
Generated on Tue Jul 12 2022 13:52:31 by
