| Nordic Thingy:52 v2.0.0

Data Fields
ble_tms_s Struct Reference
BLE services » Thingy Motion Service

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

## ◆ config_handles

ble_gatts_char_handles_t ble_tms_s::config_handles

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

## ◆ conn_handle

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.

## ◆ euler_handles

ble_gatts_char_handles_t ble_tms_s::euler_handles

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

## ◆ evt_handler

ble_tms_evt_handler_t ble_tms_s::evt_handler

Event handler to be called for handling received data.

## ◆ gravity_handles

ble_gatts_char_handles_t ble_tms_s::gravity_handles

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

## ◆ heading_handles

ble_gatts_char_handles_t ble_tms_s::heading_handles

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

## ◆ is_euler_notif_enabled

bool ble_tms_s::is_euler_notif_enabled

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

## ◆ is_gravity_notif_enabled

bool ble_tms_s::is_gravity_notif_enabled

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

## ◆ is_heading_notif_enabled

bool ble_tms_s::is_heading_notif_enabled

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

## ◆ is_orientation_notif_enabled

bool ble_tms_s::is_orientation_notif_enabled

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

## ◆ is_pedo_notif_enabled

bool ble_tms_s::is_pedo_notif_enabled

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

## ◆ is_quat_notif_enabled

bool ble_tms_s::is_quat_notif_enabled

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

## ◆ is_raw_notif_enabled

bool ble_tms_s::is_raw_notif_enabled

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

## ◆ is_rot_mat_notif_enabled

bool ble_tms_s::is_rot_mat_notif_enabled

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

## ◆ is_tap_notif_enabled

bool ble_tms_s::is_tap_notif_enabled

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

## ◆ orientation_handles

ble_gatts_char_handles_t ble_tms_s::orientation_handles

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

## ◆ pedo_handles

ble_gatts_char_handles_t ble_tms_s::pedo_handles

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

## ◆ quat_handles

ble_gatts_char_handles_t ble_tms_s::quat_handles

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

## ◆ raw_handles

ble_gatts_char_handles_t ble_tms_s::raw_handles

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

## ◆ rot_mat_handles

ble_gatts_char_handles_t ble_tms_s::rot_mat_handles

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

## ◆ service_handle

uint16_t ble_tms_s::service_handle

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

## ◆ tap_handles

ble_gatts_char_handles_t ble_tms_s::tap_handles

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

## ◆ uuid_type

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:

- ble_tms.h