Nordic Thingy:52
 All Data Structures Files Functions Variables Typedefs Enumerations Enumerator Groups Pages
ble_tms_s Struct Reference

Motion Service structure. More...

Data Fields

ble_gatts_char_handles_t config_handles
 
uint16_t conn_handle
 
ble_gatts_char_handles_t euler_handles
 
ble_tms_evt_handler_t evt_handler
 
ble_gatts_char_handles_t gravity_handles
 
ble_gatts_char_handles_t heading_handles
 
bool is_euler_notif_enabled
 
bool is_gravity_notif_enabled
 
bool is_heading_notif_enabled
 
bool is_orientation_notif_enabled
 
bool is_pedo_notif_enabled
 
bool is_quat_notif_enabled
 
bool is_raw_notif_enabled
 
bool is_rot_mat_notif_enabled
 
bool is_tap_notif_enabled
 
ble_gatts_char_handles_t orientation_handles
 
ble_gatts_char_handles_t pedo_handles
 
ble_gatts_char_handles_t quat_handles
 
ble_gatts_char_handles_t raw_handles
 
ble_gatts_char_handles_t rot_mat_handles
 
uint16_t service_handle
 
ble_gatts_char_handles_t tap_handles
 
uint8_t uuid_type
 

Detailed Description

Motion Service structure.

This structure contains status information related to the service.

Field Documentation

ble_gatts_char_handles_t ble_tms_s::config_handles

Handles related to the config characteristic (as provided by the S132 SoftDevice).

uint16_t ble_tms_s::conn_handle

Handle of the current connection (as provided by the S110 SoftDevice). BLE_CONN_HANDLE_INVALID if not in a connection.

ble_gatts_char_handles_t ble_tms_s::euler_handles

Handles related to the euler angles characteristic (as provided by the S132 SoftDevice).

ble_tms_evt_handler_t ble_tms_s::evt_handler

Event handler to be called for handling received data.

ble_gatts_char_handles_t ble_tms_s::gravity_handles

Handles related to the gravity vector characteristic (as provided by the S132 SoftDevice).

ble_gatts_char_handles_t ble_tms_s::heading_handles

Handles related to the compass heading characteristic (as provided by the S132 SoftDevice).

bool ble_tms_s::is_euler_notif_enabled

Variable to indicate if the peer has enabled notification of the characteristic.

bool ble_tms_s::is_gravity_notif_enabled

Variable to indicate if the peer has enabled notification of the characteristic.

bool ble_tms_s::is_heading_notif_enabled

Variable to indicate if the peer has enabled notification of the characteristic.

bool ble_tms_s::is_orientation_notif_enabled

Variable to indicate if the peer has enabled notification of the characteristic.

bool ble_tms_s::is_pedo_notif_enabled

Variable to indicate if the peer has enabled notification of the characteristic.

bool ble_tms_s::is_quat_notif_enabled

Variable to indicate if the peer has enabled notification of the characteristic.

bool ble_tms_s::is_raw_notif_enabled

Variable to indicate if the peer has enabled notification of the characteristic.

bool ble_tms_s::is_rot_mat_notif_enabled

Variable to indicate if the peer has enabled notification of the characteristic.

bool ble_tms_s::is_tap_notif_enabled

Variable to indicate if the peer has enabled notification of the characteristic.

ble_gatts_char_handles_t ble_tms_s::orientation_handles

Handles related to the orientation characteristic (as provided by the S132 SoftDevice).

ble_gatts_char_handles_t ble_tms_s::pedo_handles

Handles related to the pedometer characteristic (as provided by the S132 SoftDevice).

ble_gatts_char_handles_t ble_tms_s::quat_handles

Handles related to the quaternion characteristic (as provided by the S132 SoftDevice).

ble_gatts_char_handles_t ble_tms_s::raw_handles

Handles related to the raw data characteristic (as provided by the S132 SoftDevice).

ble_gatts_char_handles_t ble_tms_s::rot_mat_handles

Handles related to the rotation matrix characteristic (as provided by the S132 SoftDevice).

uint16_t ble_tms_s::service_handle

Handle of Motion Service (as provided by the S110 SoftDevice).

ble_gatts_char_handles_t ble_tms_s::tap_handles

Handles related to the tap characteristic (as provided by the S132 SoftDevice).

uint8_t ble_tms_s::uuid_type

UUID type for Motion Service Base UUID.


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