#pragma once

// common constants
#define MUSE_S_DATA_SIZE 15

// handles for bglib
#define FIRST_HANDLE 0x0001
#define LAST_HANDLE 0xffff

// info about services and chars
#define CLIENT_CHARACTERISTIC_UUID 0x2902
#define MUSE_SERVICE_UUID 0xFE8D

#define MUSE_GATT_ATTR_SERVICECHANGED "00002a05-0000-1000-8000-00805f9b34fb"
#define MUSE_GATT_ATTR_STREAM_TOGGLE "273e0001-4c4d-454d-96be-f03bac821358"
#define MUSE_GATT_ATTR_LEFTAUX "273e0002-4c4d-454d-96be-f03bac821358"
#define MUSE_GATT_ATTR_TP9 "273e0003-4c4d-454d-96be-f03bac821358"
#define MUSE_GATT_ATTR_AF7 "273e0004-4c4d-454d-96be-f03bac821358"
#define MUSE_GATT_ATTR_AF8 "273e0005-4c4d-454d-96be-f03bac821358"
#define MUSE_GATT_ATTR_TP10 "273e0006-4c4d-454d-96be-f03bac821358"
#define MUSE_GATT_ATTR_RIGHTAUX "273e0007-4c4d-454d-96be-f03bac821358"
#define MUSE_GATT_ATTR_REFDRL "273e0008-4c4d-454d-96be-f03bac821358"
#define MUSE_GATT_ATTR_GYRO "273e0009-4c4d-454d-96be-f03bac821358"
#define MUSE_GATT_ATTR_ACCELEROMETER "273e000a-4c4d-454d-96be-f03bac821358"
#define MUSE_GATT_ATTR_TELEMETRY "273e000b-4c4d-454d-96be-f03bac821358"
#define MUSE_GATT_ATTR_PPG0 "273e000f-4c4d-454d-96be-f03bac821358"
#define MUSE_GATT_ATTR_PPG1 "273e0010-4c4d-454d-96be-f03bac821358"
#define MUSE_GATT_ATTR_PPG2 "273e0011-4c4d-454d-96be-f03bac821358"
#define MUSE_GATT_ATTR_THERMISTOR "273e0012-4c4d-454d-96be-f03bac821358"

// info for equations
#define MUSE_ACCELEROMETER_SCALE_FACTOR 0.0000610352
#define MUSE_GYRO_SCALE_FACTOR 0.007476
