adi_study_watch.core.enums package

ad7156_enums module

class adi_study_watch.core.enums.ad7156_enums.AD7156Command(value)

Bases: enum.Enum

AD7156Command Enum

LOAD_CONFIG_REQ = [66]
LOAD_CONFIG_RES = [67]

adpd_enums module

class adi_study_watch.core.enums.adpd_enums.ADPDAppID(value)

Bases: enum.Enum

ADPDAppID Enum

APP_ADPD_BLUE = [7]
APP_ADPD_GREEN = [4]
APP_ADPD_INFRARED = [6]
APP_ADPD_RED = [5]
APP_ECG = [0]
APP_PPG = [1]
APP_TEMPERATURE_RESISTOR = [3]
APP_TEMPERATURE_THERMISTOR = [2]
class adi_study_watch.core.enums.adpd_enums.ADPDCommand(value)

Bases: enum.Enum

ADPDCommand Enum

AGC_INFO_REQ = [122]
AGC_INFO_RES = [123]
AGC_ON_OFF_REQ = [118]
AGC_ON_OFF_RES = [119]
AGC_STATUS_REQ = [124]
AGC_STATUS_RES = [125]
CLOCK_CALIBRATION_REQ = [68]
CLOCK_CALIBRATION_RES = [69]
COMMAND_DO_TEST1_REQ = [96]
COMMAND_DO_TEST1_RES = [97]
COMMAND_DO_TEST2_REQ = [98]
COMMAND_DO_TEST2_RES = [99]
COMMAND_DO_TEST3_REQ = [100]
COMMAND_DO_TEST3_RES = [101]
COMMUNICATION_MODE_REQ = [104]
COMMUNICATION_MODE_RES = [105]
CREATE_DCFG_REQ = [112]
CREATE_DCFG_RES = [113]
EXT_ADPD_DATA_STREAM = [128]
GET_SLOT_ACTIVE_REQ = [108]
GET_SLOT_ACTIVE_RES = [109]
GET_SLOT_REQ = [72]
GET_SLOT_RES = [73]
LOAD_CONFIG_REQ = [66]
LOAD_CONFIG_RES = [67]
LOWEST = [64]
SATURATION_CHECK_ENABLE_REQ = [132]
SATURATION_CHECK_ENABLE_RES = [133]
SET_EXT_DATA_STREAM_ODR_REQ = [126]
SET_EXT_DATA_STREAM_ODR_RES = [127]
SET_PAUSE_REQ = [102]
SET_PAUSE_RES = [103]
SET_SAMPLING_FREQUENCY_REQ = [114]
SET_SAMPLING_FREQUENCY_RES = [115]
SET_SLOT_ACTIVE_REQ = [106]
SET_SLOT_ACTIVE_RES = [107]
SET_SLOT_REQ = [70]
SET_SLOT_RES = [71]
UC_HR_ENABLE_REQ = [130]
UC_HR_ENABLE_RES = [131]
class adi_study_watch.core.enums.adpd_enums.ADPDDevice(value)

Bases: enum.Enum

ADPDDevice Enum

DEVICE_BLUE = [43]
DEVICE_GREEN = [40]
DEVICE_G_R_IR_B = [44]
DEVICE_INFRARED = [42]
DEVICE_RED = [41]
NULL = [0]
class adi_study_watch.core.enums.adpd_enums.ADPDLed(value)

Bases: enum.Enum

ADPDLed Enum

LED_BLUE = [4]
LED_GREEN = [1]
LED_IR = [3]
LED_MWL = [0]
LED_RED = [2]
class adi_study_watch.core.enums.adpd_enums.ADPDSlot(value)

Bases: enum.Enum

ADPDSlot Enum

NULL = [0]
SLOT_A = [1]
SLOT_B = [2]
SLOT_C = [3]
SLOT_D = [4]
SLOT_E = [5]
SLOT_F = [6]
SLOT_G = [7]
SLOT_H = [8]
SLOT_I = [9]
SLOT_J = [10]
SLOT_K = [11]
SLOT_L = [12]
class adi_study_watch.core.enums.adpd_enums.Clock(value)

Bases: enum.Enum

Clock Enum

CLOCK_1M = [2]
CLOCK_1M_AND_32M = [6]
CLOCK_32K = [1]
CLOCK_32K_AND_1M = [5]
CLOCK_32M = [4]
NO_CLOCK = [0]

adxl_enums module

class adi_study_watch.core.enums.adxl_enums.ADXLCommand(value)

Bases: enum.Enum

ADXLCommand Enum

LOAD_CONFIG_REQ = [66]
LOAD_CONFIG_RES = [67]
LOWEST = [64]
SELF_TEST_REQ = [68]
SELF_TEST_RES = [69]
class adi_study_watch.core.enums.adxl_enums.ADXLDevice(value)

Bases: enum.Enum

ADXLDevice Enum

DEVICE_362 = [106, 1]

bia_enums module

class adi_study_watch.core.enums.bia_enums.BIAAppInfo(value)

Bases: enum.Enum

BIAAppInfo Enum

BITSET_LEADS_OFF = [0]
BITSET_LEADS_ON = [1]
class adi_study_watch.core.enums.bia_enums.BIACommand(value)

Bases: enum.Enum

BIACommand Enum

ALGO_STREAM_RES = [78]
DCB_TIMING_INFO_REQ = [76]
DCB_TIMING_INFO_RES = [77]
FDS_STATUS_REQ = [74]
FDS_STATUS_RES = [75]
LOAD_DCFG_REQ = [79]
LOAD_DCFG_RES = [80]
LOWEST = [64]
READ_DCFG_REQ = [83]
READ_DCFG_RES = [84]
SET_DFT_NUM_REQ = [70]
SET_DFT_NUM_RES = [71]
SET_HS_TRANS_IMPEDANCE_AMPLIFIER_CAL_REQ = [72]
SET_HS_TRANS_IMPEDANCE_AMPLIFIER_CAL_RES = [73]
WRITE_DCFG_REQ = [81]
WRITE_DCFG_RES = [82]
class adi_study_watch.core.enums.bia_enums.BIADFTWindow(value)

Bases: enum.Enum

BIADFTWindow Enum

DFT_WINDOW_1024 = [0, 8]
DFT_WINDOW_128 = [0, 5]
DFT_WINDOW_16 = [0, 2]
DFT_WINDOW_16384 = [0, 18]
DFT_WINDOW_2048 = [0, 9]
DFT_WINDOW_256 = [0, 6]
DFT_WINDOW_32 = [0, 3]
DFT_WINDOW_4 = [0, 0]
DFT_WINDOW_4096 = [0, 16]
DFT_WINDOW_512 = [0, 7]
DFT_WINDOW_64 = [0, 4]
DFT_WINDOW_8 = [0, 1]
DFT_WINDOW_8192 = [0, 17]
class adi_study_watch.core.enums.bia_enums.BIASweepFrequency(value)

Bases: enum.Enum

BIASweepFrequency Enum

FREQ_1000HZ = [0]
FREQ_14140HZ = [2]
FREQ_200KHZ = [4]
FREQ_3760HZ = [1]
FREQ_50KHZ = [255]
FREQ_53180HZ = [3]
class adi_study_watch.core.enums.bia_enums.HSResistorTIA(value)

Bases: enum.Enum

HSResistorTIA Enum

RESISTOR_1K = [0, 1]
RESISTOR_200 = [0, 0]
RESISTOR_5K = [0, 2]

board_enums module

class adi_study_watch.core.enums.board_enums.Board(value)

Bases: enum.Enum

Board Enum.

STUDY_WATCH = [0]
VSM_MB_SB = [1]

common_enums module

class adi_study_watch.core.enums.common_enums.AlarmStatus(value)

Bases: enum.Enum

An enumeration.

BATTERY_LEVEL_CRITICAL = [1]
BATTERY_LEVEL_FULL = [2]
BATTERY_LEVEL_LOW = [0]
BLE_PKT_MISS = [20]
CONFIG_FILE_NOT_FOUND = [12]
CONFIG_FILE_READ_ERR = [13]
DCB_CONFIG_LOG_DISABLED = [9]
DCB_CONFIG_LOG_ENABLED = [7]
DISABLE_DCB_CONFIG_LOG_FAILED = [10]
DISABLE_USER_CONFIG_LOG_FAILED = [6]
ENABLE_DCB_CONFIG_LOG_FAILED = [8]
ENABLE_USER_CONFIG_LOG_FAILED = [4]
FS_FILE_CLOSE_ERROR = [21]
FS_FILE_WRITE_ERROR = [22]
FS_LOG_DOWNLOAD_STOP_BATTERY_CRITICAL = [18]
FS_LOG_STOP_BATTERY_CRITICAL = [17]
FS_MEMORY_FULL = [16]
FS_PWR_STATE_SHUTDOWN = [19]
HIGHEST = [32]
LOW_TOUCH_LOGGING_ALREADY_STARTED = [11]
LOW_TOUCH_MAX_FILE_ERR = [15]
LOW_TOUCH_MEMORY_FULL_ERR = [14]
USER_CONFIG_LOG_DISABLED = [5]
USER_CONFIG_LOG_ENABLED = [3]
class adi_study_watch.core.enums.common_enums.Application(value)

Bases: enum.Enum

Application Enum.

AD7156 = [200, 11]
ADP5360 = [193, 6]
ADPD = [193, 16]
ADXL = [193, 2]
APP_ANDROID = [199, 0]
APP_BLE = [200, 8]
APP_IOS = [199, 1]
APP_NFE = [199, 4]
APP_USB = [199, 5]
APP_VS = [199, 2]
APP_WT = [199, 3]
BIA = [195, 7]
DISPLAY = [197, 3]
ECG = [195, 1]
EDA = [195, 2]
EXTERNAL = [192, 1]
FS = [197, 1]
LT_APP = [200, 10]
NULL = [0, 0]
PEDOMETER = [195, 4]
PM = [197, 0]
POST_OFFICE = [192, 0]
PPG = [195, 0]
PS = [197, 128]
SQI = [200, 12]
TEMPERATURE = [195, 6]
USER0_APP = [200, 15]
class adi_study_watch.core.enums.common_enums.CommonCommand(value)

Bases: enum.Enum

CommonCommand Enum

ALARM_NOTIFICATION = [28]
GET_DCFG_REQ = [37]
GET_DCFG_RES = [38]
GET_LCFG_REQ = [18]
GET_LCFG_RES = [19]
GET_SENSOR_STATUS_REQ = [16]
GET_SENSOR_STATUS_RES = [17]
GET_STREAM_DEC_FACTOR_REQ = [41]
GET_STREAM_DEC_FACTOR_RES = [42]
GET_VERSION_REQ = [0]
GET_VERSION_RES = [1]
HIGHEST = [64]
NO_RESPONSE = [-1]
PING_REQ = [26]
PING_RES = [27]
READ_LCFG_REQ = [22]
READ_LCFG_RES = [23]
REGISTER_READ_32_REQ = [45]
REGISTER_READ_32_RES = [46]
REGISTER_READ_REQ = [33]
REGISTER_READ_RES = [34]
REGISTER_WRITE_32_REQ = [47]
REGISTER_WRITE_32_RES = [48]
REGISTER_WRITE_REQ = [35]
REGISTER_WRITE_RES = [36]
SET_LCFG_REQ = [20]
SET_LCFG_RES = [21]
SET_STREAM_DEC_FACTOR_REQ = [43]
SET_STREAM_DEC_FACTOR_RES = [44]
START_SENSOR_REQ = [4]
START_SENSOR_RES = [5]
STOP_SENSOR_REQ = [6]
STOP_SENSOR_RES = [7]
STREAM_DATA = [40]
SUBSCRIBE_STREAM_REQ = [12]
SUBSCRIBE_STREAM_RES = [13]
UNSUBSCRIBE_STREAM_REQ = [14]
UNSUBSCRIBE_STREAM_RES = [15]
WRITE_LCFG_REQ = [24]
WRITE_LCFG_RES = [25]
class adi_study_watch.core.enums.common_enums.CommonStatus(value)

Bases: enum.Enum

CommonStatus Enum

ERROR = [1]
HIGHEST = [32]
NEW_STREAM_STATUS = [67]
NO_RESPONSE = [-1]
OK = [0]
STREAM_COUNT_DECREMENT = [6]
STREAM_DEACTIVATED = [5]
STREAM_IN_PROGRESS = [4]
STREAM_NOT_STARTED = [7]
STREAM_NOT_STOPPED = [8]
STREAM_STARTED = [2]
STREAM_STOPPED = [3]
SUBSCRIBER_ADDED = [9]
SUBSCRIBER_COUNT_DECREMENT = [11]
SUBSCRIBER_REMOVED = [10]
class adi_study_watch.core.enums.common_enums.Stream(value)

Bases: enum.Enum

Stream Enum

AD7156 = [200, 21]
ADPD1 = [194, 17]
ADPD10 = [194, 26]
ADPD11 = [194, 27]
ADPD12 = [194, 28]
ADPD2 = [194, 18]
ADPD3 = [194, 19]
ADPD4 = [194, 20]
ADPD5 = [194, 21]
ADPD6 = [194, 22]
ADPD7 = [194, 23]
ADPD8 = [194, 24]
ADPD9 = [194, 25]
ADXL = [194, 2]
BATTERY = [198, 145]
BCM = [200, 20]
BIA = [196, 7]
DYNAMIC_AGC_STREAM = [198, 176]
ECG = [196, 1]
EDA = [196, 2]
FS = [198, 1]
HRV = [198, 192]
NULL = [0, 0]
PEDOMETER = [196, 4]
PPG = [196, 0]
SQI = [200, 13]
STATIC_AGC_STREAM = [198, 177]
SYNC_PPG = [196, 5]
TEMPERATURE1 = [200, 22]
TEMPERATURE10 = [200, 31]
TEMPERATURE11 = [200, 32]
TEMPERATURE12 = [200, 33]
TEMPERATURE2 = [200, 23]
TEMPERATURE3 = [200, 24]
TEMPERATURE4 = [196, 6]
TEMPERATURE5 = [200, 26]
TEMPERATURE6 = [200, 27]
TEMPERATURE7 = [200, 28]
TEMPERATURE8 = [200, 29]
TEMPERATURE9 = [200, 30]
adi_study_watch.core.enums.common_enums.get_command(command, source)

Helper method for decoding commands.

adi_study_watch.core.enums.common_enums.get_status(status, source, command)

Helper method for decoding status.

dcb_enums module

class adi_study_watch.core.enums.dcb_enums.DCBCommand(value)

Bases: enum.Enum

DCBCommand Enum

ERASE_CONFIG_REQ = [155]
ERASE_CONFIG_RES = [156]
QUERY_STATUS_REQ = [157]
QUERY_STATUS_RES = [158]
READ_CONFIG_REQ = [151]
READ_CONFIG_RES = [152]
WRITE_CONFIG_REQ = [153]
WRITE_CONFIG_RES = [154]
class adi_study_watch.core.enums.dcb_enums.DCBConfigBlockIndex(value)

Bases: enum.Enum

DCBConfigBlockIndex Enum

AD5940_BLOCK = [1]
AD7156_BLOCK = [7]
ADP5360_BLOCK = [19]
ADPD4000_BLOCK = [2]
ADXL362_BLOCK = [3]
BIA_DCFG_BLOCK = [17]
BIA_LCFG_BLOCK = [16]
ECG_BLOCK = [5]
EDA_DCFG_BLOCK = [18]
EDA_LCFG_BLOCK = [6]
GENERAL_BLOCK = [0]
LT_APP_LCFG_BLOCK = [10]
MAX_BLOCK = [20]
PEDOMETER_BLOCK = [8]
PPG_BLOCK = [4]
TEMPERATURE_BLOCK = [9]
UI_CONFIG_BLOCK = [11]
USER0_BLOCK = [12]
USER1_BLOCK = [13]
USER2_BLOCK = [14]
USER3_BLOCK = [15]
class adi_study_watch.core.enums.dcb_enums.DCBStatus(value)

Bases: enum.Enum

DCBStatus Enum

ERROR_NOT_CHKD = [255]
ERROR_NO_DCB = [152]
OK = [151]
TMP_ENUM_FIX = [0]

display_enums module

class adi_study_watch.core.enums.display_enums.DisplayColor(value)

Bases: enum.Enum

DisplayColor Enum

BLACK = [1]
BLUE = [4]
GREEN = [3]
RED = [2]
WHITE = [0]
class adi_study_watch.core.enums.display_enums.DisplayCommand(value)

Bases: enum.Enum

DisplayCommand Enum

BACKLIGHT_CONTROL_REQ = [68]
BACKLIGHT_CONTROL_RES = [69]
KEY_STREAM_DATA = [72]
KEY_TEST_REQ = [70]
KEY_TEST_RES = [71]
SET_DISPLAY_REQ = [66]
SET_DISPLAY_RES = [67]

ecg_enums module

class adi_study_watch.core.enums.ecg_enums.ECGCommand(value)

Bases: enum.Enum

ECGCommand Enum

GET_ALGO_VENDOR_VERSION_REQ = [94]
GET_ALGO_VENDOR_VERSION_RES = [95]

eda_enums module

class adi_study_watch.core.enums.eda_enums.EDACommand(value)

Bases: enum.Enum

EDACommand Enum

BASELINE_IMP_GET_REQ = [86]
BASELINE_IMP_GET_RES = [87]
BASELINE_IMP_RESET_REQ = [78]
BASELINE_IMP_RESET_RES = [79]
BASELINE_IMP_SET_REQ = [76]
BASELINE_IMP_SET_RES = [77]
CONTROL_AD5940_SLEEP_WAKEUP_REQ = [98]
CONTROL_AD5940_SLEEP_WAKEUP_RES = [99]
DEBUG_INFO_REQ = [72]
DEBUG_INFO_RES = [73]
DELETE_RTIA_TABLE_IN_FDS_REQ = [92]
DELETE_RTIA_TABLE_IN_FDS_RES = [93]
DYNAMIC_SCALE_REQ = [66]
DYNAMIC_SCALE_RES = [67]
GET_RTIA_TABLE_FDS_REQ = [88]
GET_RTIA_TABLE_FDS_RES = [89]
GET_RTIA_TABLE_RAM_REQ = [90]
GET_RTIA_TABLE_RAM_RES = [91]
LOAD_DCFG_REQ = [80]
LOAD_DCFG_RES = [81]
LOWEST = [64]
READ_DCFG_REQ = [84]
READ_DCFG_RES = [85]
RESISTOR_TIA_CAL_REQ = [74]
RESISTOR_TIA_CAL_RES = [75]
SET_DFT_NUM_REQ = [70]
SET_DFT_NUM_RES = [71]
WRITE_DCFG_REQ = [82]
WRITE_DCFG_RES = [83]
class adi_study_watch.core.enums.eda_enums.EDADFTWindow(value)

Bases: enum.Enum

EDADFTWindow Enum

DFT_WINDOW_16 = [2]
DFT_WINDOW_32 = [3]
DFT_WINDOW_4 = [0]
DFT_WINDOW_8 = [1]
class adi_study_watch.core.enums.eda_enums.EDAPowerMode(value)

Bases: enum.Enum

EDAPowerMode Enum

POWER_INVALID = [0]
POWER_SLEEP = [1]
POWER_WAKEUP = [2]
class adi_study_watch.core.enums.eda_enums.EDAPowerMode(value)

Bases: enum.Enum

EDAPowerMode Enum

POWER_INVALID = [0]
POWER_SLEEP = [1]
POWER_WAKEUP = [2]
class adi_study_watch.core.enums.eda_enums.ScaleResistor(value)

Bases: enum.Enum

ScaleResistor Enum

DISABLED = [0, 0]
SCALE_RESISTOR_100K = [20, 0]
SCALE_RESISTOR_10K = [8, 0]
SCALE_RESISTOR_110 = [1, 0]
SCALE_RESISTOR_120K = [21, 0]
SCALE_RESISTOR_128K = [22, 0]
SCALE_RESISTOR_12K = [9, 0]
SCALE_RESISTOR_160K = [23, 0]
SCALE_RESISTOR_16K = [10, 0]
SCALE_RESISTOR_196K = [24, 0]
SCALE_RESISTOR_1K = [2, 0]
SCALE_RESISTOR_20K = [11, 0]
SCALE_RESISTOR_24K = [12, 0]
SCALE_RESISTOR_256K = [25, 0]
SCALE_RESISTOR_2K = [3, 0]
SCALE_RESISTOR_30K = [13, 0]
SCALE_RESISTOR_32K = [14, 0]
SCALE_RESISTOR_3K = [4, 0]
SCALE_RESISTOR_40K = [15, 0]
SCALE_RESISTOR_48K = [16, 0]
SCALE_RESISTOR_4K = [5, 0]
SCALE_RESISTOR_512K = [26, 0]
SCALE_RESISTOR_64K = [17, 0]
SCALE_RESISTOR_6K = [6, 0]
SCALE_RESISTOR_85K = [18, 0]
SCALE_RESISTOR_8K = [7, 0]
SCALE_RESISTOR_96K = [19, 0]

fs_enums module

class adi_study_watch.core.enums.fs_enums.FSCommand(value)

Bases: enum.Enum

FSCommand Enum

APPEND_FILE_REQ = [160]
APPEND_FILE_RES = [161]
CHUNK_RETRANSMIT_REQ = [132]
CHUNK_RETRANSMIT_RES = [133]
DCFG_START_LOG_REQ = [102]
DCFG_START_LOG_RES = [103]
DCFG_STOP_LOG_REQ = [104]
DCFG_STOP_LOG_RES = [105]
DELETE_CONFIG_FILE_REQ = [110]
DELETE_CONFIG_FILE_RES = [111]
DEVELOPER_BAD_BLOCK_CREATE_REQ = [186]
DEVELOPER_BAD_BLOCK_CREATE_RES = [187]
DEVELOPER_GOOD_BLOCK_CREATE_REQ = [190]
DEVELOPER_GOOD_BLOCK_CREATE_RES = [191]
DEVELOPER_TEST_REQ = [184]
DEVELOPER_TEST_RES = [185]
DOWNLOAD_LOG_BLE_REQ = [164]
DOWNLOAD_LOG_BLE_RES = [165]
DOWNLOAD_LOG_CONTINUE_BLE_REQ = [176]
DOWNLOAD_LOG_CONTINUE_BLE_RES = [177]
DOWNLOAD_LOG_CONTINUE_REQ = [174]
DOWNLOAD_LOG_CONTINUE_RES = [175]
DOWNLOAD_LOG_REQ = [122]
DOWNLOAD_LOG_RES = [123]
FORCE_STOP_LOG_REQ = [90]
FORCE_STOP_LOG_RES = [91]
FORMAT_REQ = [70]
FORMAT_RES = [71]
GET_BAD_BLOCKS_REQ = [126]
GET_BAD_BLOCKS_RES = [127]
GET_DEBUG_INFO_REQ = [136]
GET_DEBUG_INFO_RES = [137]
GET_FILE_INFO_REQ = [140]
GET_FILE_INFO_RES = [141]
GET_NUMBER_OF_FILE_REQ = [112]
GET_NUMBER_OF_FILE_RES = [113]
GET_STATUS_REQ = [80]
GET_STATUS_RES = [81]
GET_STREAM_SUB_STATUS_REQ = [82]
GET_STREAM_SUB_STATUS_RES = [83]
LOG_USER_CONFIG_DATA_REQ = [106]
LOG_USER_CONFIG_DATA_RES = [107]
LOWEST = [64]
LS_REQ = [72]
LS_RES = [73]
MOUNT_REQ = [66]
MOUNT_RES = [67]
PAGE_READ_TEST_REQ = [142]
PAGE_READ_TEST_RES = [143]
PATTERN_CONFIG_WRITE_REQ = [192]
PATTERN_CONFIG_WRITE_RES = [193]
PATTERN_WRITE_REQ = [138]
PATTERN_WRITE_RES = [139]
SET_KEY_VALUE_PAIR_REQ = [100]
SET_KEY_VALUE_PAIR_RES = [101]
START_LOGGING_REQ = [118]
START_LOGGING_RES = [119]
START_STREAM_LOGGING_REQ = [114]
START_STREAM_LOGGING_RES = [115]
STOP_LOGGING_REQ = [120]
STOP_LOGGING_RES = [121]
STOP_STREAM_LOGGING_REQ = [116]
STOP_STREAM_LOGGING_RES = [117]
STREAM_CONTINUE_DEBUG_REQ = [178]
STREAM_CONTINUE_DEBUG_RES = [179]
STREAM_CONTINUE_RESET_REQ = [180]
STREAM_CONTINUE_RESET_RES = [181]
STREAM_DEBUG_INFO_REQ = [86]
STREAM_DEBUG_INFO_RES = [87]
TEST_LOG_REQ = [88]
TEST_LOG_RES = [89]
VOL_INFO_REQ = [78]
VOL_INFO_RES = [79]
class adi_study_watch.core.enums.fs_enums.FSLogging(value)

Bases: enum.Enum

FSLogging Enum

BATTERY_LOW = [2]
MEMORY_FULL = [1]
POWER_STATE_SHUTDOWN = [3]
STOP_LOGGING = [0]
STOP_LOGGING_INVALID = [255]
STREAMS_NOT_UNSUBSCRIBED = [22]
class adi_study_watch.core.enums.fs_enums.FSStatus(value)

Bases: enum.Enum

FSStatus Enum

BLOCKS_WRITE_ERROR = [84]
CONFIG_FILE_FOUND = [75]
CONFIG_FILE_NOT_FOUND = [76]
END_OF_DIR = [68]
END_OF_FILE = [67]
ERROR = [66]
ERR_ARGS = [70]
ERR_BATTERY_LOW = [81]
ERR_CONFIG_FILE_POSITION = [83]
ERR_FORMAT = [71]
ERR_INVALID = [69]
ERR_LOG_FORCE_STOPPED = [73]
ERR_MAX_FILE_COUNT = [74]
ERR_MEMORY_FULL = [72]
ERR_NOT_CHKD = [255]
ERR_POWER_STATE_SHUTDOWN = [82]
ERR_STREAM_INVALID_TOOL = [87]
ERR_STREAM_ONGOING = [86]
LOGGING_ERROR = [79]
LOGGING_IN_PROGRESS = [78]
LOGGING_NOT_STARTED = [80]
LOGGING_STOPPED = [77]
LOWEST = [64]
NO_FILE_TO_APPEND = [85]
OK = [65]
SUBSCRIBER_ADDED = [89]
SUBSCRIBER_COUNT_DECREMENT = [91]
SUBSCRIBER_REMOVED = [90]
SUB_FAILED_BATTERY_LOW = [88]
class adi_study_watch.core.enums.fs_enums.FSSubState(value)

Bases: enum.Enum

FSSubState Enum

INVALID = [255]
SUBSCRIBED = [1]
UNSUBSCRIBED = [0]
class adi_study_watch.core.enums.fs_enums.FileType(value)

Bases: enum.Enum

FileType Enum

CONFIG_FILE = [0]
DATA_FILE = [1]
INVALID_TYPE = [2]

low_touch_enums module

class adi_study_watch.core.enums.low_touch_enum.CommandType(value)

Bases: enum.Enum

An enumeration.

START = [1]
STOP = [2]
class adi_study_watch.core.enums.low_touch_enum.LTCommand(value)

Bases: enum.Enum

LTCommand Enum

ACTIVATE_TOUCH_SENSOR_REQ = [66]
ACTIVATE_TOUCH_SENSOR_RES = [67]
DEACTIVATE_TOUCH_SENSOR_REQ = [68]
DEACTIVATE_TOUCH_SENSOR_RES = [69]
READ_CH2_CAP_REQ = [70]
READ_CH2_CAP_RES = [71]
class adi_study_watch.core.enums.low_touch_enum.LTStatus(value)

Bases: enum.Enum

LTStatus Enum

ERROR_ARGS = [66]
ERROR_NOT_CHKD = [255]
LOWEST = [64]
OK = [65]

pedometer_enums module

class adi_study_watch.core.enums.pedometer_enums.PedometerCommand(value)

Bases: enum.Enum

PedometerCommand Enum

GET_ALGO_VENDOR_VERSION_REQ = [92]
GET_ALGO_VENDOR_VERSION_RES = [93]

pm_enums module

class adi_study_watch.core.enums.pm_enums.ChipID(value)

Bases: enum.Enum

ChipID Enum

AD5940 = [4]
AD7156 = [6]
ADP5360 = [3]
ADPD4K = [2]
ADXL362 = [1]
NAND_FLASH = [5]
class adi_study_watch.core.enums.pm_enums.ElectrodeSwitch(value)

Bases: enum.Enum

ElectrodeSwitch Enum

AD5940 = [1]
AD8233 = [0]
ADPD4000 = [2]
class adi_study_watch.core.enums.pm_enums.LDO(value)

Bases: enum.Enum

LDO Enum

EPHYZ = [3]
FS = [1]
OPTICAL = [2]
class adi_study_watch.core.enums.pm_enums.MCUType(value)

Bases: enum.Enum

MCUType Enum

MCU_INVALID = [0]
MCU_M3 = [1]
MCU_M4 = [2]
class adi_study_watch.core.enums.pm_enums.PMCommand(value)

Bases: enum.Enum

PMCommand Enum

ACTIVATE_TOUCH_SENSOR_REQ = [134]
ACTIVATE_TOUCH_SENSOR_RES = [135]
BATTERY_LEVEL_ALERT = [158]
CAP_SENSE_STREAM_DATA = [130]
CAP_SENSE_TEST_REQ = [126]
CAP_SENSE_TEST_RES = [127]
CHIP_ID_REQ = [124]
CHIP_ID_RES = [125]
CLEAR_PO_MEMORY_UTILIZATION_REQ = [161]
CLEAR_PO_MEMORY_UTILIZATION_RES = [162]
DEACTIVATE_TOUCH_SENSOR_REQ = [136]
DEACTIVATE_TOUCH_SENSOR_RES = [137]
DISABLE_BAT_CHARGE_REQ = [78]
DISABLE_BAT_CHARGE_RES = [79]
DISABLE_USER_CONFIG_LOG_REQ = [98]
DISABLE_USER_CONFIG_LOG_RES = [99]
ENABLE_BAT_CHARGE_REQ = [76]
ENABLE_BAT_CHARGE_RES = [77]
ENABLE_USER_CONFIG_LOG_REQ = [96]
ENABLE_USER_CONFIG_LOG_RES = [97]
ENTER_BOOTLOADER_REQ = [128]
ENTER_BOOTLOADER_RES = [129]
FDS_ERASE_REQ = [177]
FDS_ERASE_RES = [178]
FLASH_RESET_REQ = [138]
FLASH_RESET_RES = [139]
GET_APPS_HEALTH_REQ = [144]
GET_APPS_HEALTH_RES = [145]
GET_BAT_INFO_REQ = [68]
GET_BAT_INFO_RES = [69]
GET_DATE_TIME_REQ = [82]
GET_DATE_TIME_RES = [83]
GET_HIBERNATE_MODE_STATUS_REQ = [154]
GET_HIBERNATE_MODE_STATUS_RES = [155]
GET_LOW_TOUCH_LOGGING_STATUS_REQ = [102]
GET_LOW_TOUCH_LOGGING_STATUS_RES = [103]
GET_MANUFACTURE_DATE_REQ = [152]
GET_MANUFACTURE_DATE_RES = [153]
GET_MCU_VERSION_REQ = [88]
GET_MCU_VERSION_RES = [89]
GET_PO_MEMORY_UTILIZATION_REQ = [159]
GET_PO_MEMORY_UTILIZATION_RES = [160]
GET_TOP_TOUCH_CONTROL_REQ = [173]
GET_TOP_TOUCH_CONTROL_RES = [174]
LDO_CONTROL_REQ = [122]
LDO_CONTROL_RES = [123]
LOAD_CFG_REQ = [175]
LOAD_CFG_RES = [176]
LOWEST = [64]
READ_EEPROM_REQ = [106]
READ_EEPROM_RES = [107]
READ_UICR_CUSTOMER_REG_REQ = [165]
READ_UICR_CUSTOMER_REG_RES = [166]
SET_BAT_THR_REQ = [70]
SET_BAT_THR_RES = [71]
SET_DATE_TIME_REQ = [66]
SET_DATE_TIME_RES = [67]
SET_HIBERNATE_MODE_STATUS_REQ = [156]
SET_HIBERNATE_MODE_STATUS_RES = [157]
SET_MANUFACTURE_DATE_REQ = [150]
SET_MANUFACTURE_DATE_RES = [151]
SET_POWER_STATE_REQ = [72]
SET_POWER_STATE_RES = [73]
SET_TOP_TOUCH_CONTROL_REQ = [171]
SET_TOP_TOUCH_CONTROL_RES = [172]
SW_CONTROL_REQ = [120]
SW_CONTROL_RES = [121]
SYNC_TIMER_ENABLE_REQ = [169]
SYNC_TIMER_ENABLE_RES = [170]
SYNC_TIMER_START_STOP_REQ = [167]
SYNC_TIMER_START_STOP_RES = [168]
SYSTEM_HW_RESET_REQ = [140]
SYSTEM_HW_RESET_RES = [141]
SYSTEM_RESET_REQ = [118]
SYSTEM_RESET_RES = [119]
SYS_INFO_REQ = [74]
SYS_INFO_RES = [75]
WRITE_EEPROM_REQ = [104]
WRITE_EEPROM_RES = [105]
WRITE_UICR_CUSTOMER_REG_REQ = [163]
WRITE_UICR_CUSTOMER_REG_RES = [164]
class adi_study_watch.core.enums.pm_enums.PMStatus(value)

Bases: enum.Enum

PMStatus Enum

BATTERY_LEVEL_CRITICAL = [85]
BATTERY_LEVEL_FULL = [86]
BATTERY_LEVEL_LOW = [84]
CONFIG_FILE_NOT_FOUND = [68]
CONFIG_FILE_READ_ERR = [69]
DCB_CONFIG_LOG_DISABLED = [83]
DCB_CONFIG_LOG_ENABLED = [81]
DISABLE_DCB_CONFIG_LOG_FAILED = [82]
DISABLE_USER_CONFIG_LOG_FAILED = [72]
ENABLE_DCB_CONFIG_LOG_FAILED = [80]
ENABLE_USER_CONFIG_LOG_FAILED = [70]
ERR_ARGS = [66]
ERR_NOT_CHKD = [255]
ERR_RESET = [79]
FIX_STATUS = [0]
LOG_STOPPED_THROUGH_BUTTON_A = [74]
LOWEST = [64]
LOW_TOUCH_LOGGING_ALREADY_STARTED = [67]
LOW_TOUCH_LOGGING_IN_PROGRESS = [75]
LOW_TOUCH_LOGGING_NOT_STARTED = [76]
LOW_TOUCH_MAX_FILE_ERR = [77]
LOW_TOUCH_MEMORY_FULL_ERR = [78]
OK = [65]
TOP_TOUCH_CONTROL_FAILED = [87]
USER_CONFIG_LOG_DISABLED = [73]
USER_CONFIG_LOG_ENABLED = [71]
class adi_study_watch.core.enums.pm_enums.PowerMode(value)

Bases: enum.Enum

PowerMode Enum

ACTIVE = [0]
HIBERNATE = [2]
SHUTDOWN = [3]
class adi_study_watch.core.enums.pm_enums.UICRCustomerRegisterAccessStatus(value)

Bases: enum.Enum

An enumeration.

ERROR = [1]
ERROR_ALREADY_WRITTEN = [5]
ERROR_ARGS = [7]
ERROR_CRC_MISMATCH = [8]
ERROR_LOGGING_IN_PROGRESS = [3]
ERROR_LOW_BATTERY = [4]
ERROR_NOTHING_WRITTEN = [6]
ERROR_NULL_PTR = [2]
OK = [0]

ppg_enums module

class adi_study_watch.core.enums.ppg_enums.PPGCommand(value)

Bases: enum.Enum

PPGCommand Enum

GET_ALGO_VENDOR_VERSION_REQ = [70]
GET_ALGO_VENDOR_VERSION_RES = [71]
GET_LAST_STATES_REQ = [66]
GET_LAST_STATES_RES = [67]
class adi_study_watch.core.enums.ppg_enums.PPGLcfgId(value)

Bases: enum.Enum

PPGLcfgId Enum

LCFG_ID_ADPD107 = [107]
LCFG_ID_ADPD108 = [108]
LCFG_ID_ADPD185 = [185]
LCFG_ID_ADPD188 = [188]
LCFG_ID_ADPD4000 = [40]

sqi_enum module

class adi_study_watch.core.enums.sqi_enum.SQICommand(value)

Bases: enum.Enum

SQICommand Enum

GET_ALGO_VENDOR_VERSION_REQ = [96]
GET_ALGO_VENDOR_VERSION_RES = [97]
SET_SLOT_REQ = [94]
SET_SLOT_RES = [95]
class adi_study_watch.core.enums.sqi_enum.SQISlot(value)

Bases: enum.Enum

SQISlot Enum

SLOT_F = [32, 0]
SLOT_G = [64, 0]
SLOT_H = [128, 0]
SLOT_I = [0, 1]

user0_enum module

class adi_study_watch.core.enums.user0_enums.User0BatteryDrain(value)

Bases: enum.Enum

User0 Battery Drain Enum

ENTER_STATE_END_MON = [9]
ENTER_STATE_GPIO_WAKEUP = [8]
ENTER_STATE_INTERMITTENT = [4]
ENTER_STATE_INT_START_LOG = [5]
ENTER_STATE_INT_STOP_LOG = [6]
ENTER_STATE_INVALID = [0]
ENTER_STATE_OUT_OF_BATTERY_DURING_INTERMITTENT = [10]
ENTER_STATE_RTC_WAKEUP = [3]
ENTER_STATE_SLEEP = [2]
ENTER_STATE_START_MON = [1]
ENTER_STATE_WATCH_RESET = [7]
USER0_ENTER_STATE_OUT_OF_BATTERY_STATE_BEFORE_START_MONITORING = [11]
class adi_study_watch.core.enums.user0_enums.User0Command(value)

Bases: enum.Enum

User0 Command Enum

BYPASS_USER0_TIMINGS_REQ = [76]
BYPASS_USER0_TIMINGS_RES = [77]
CLEAR_PREV_ST_EVT_REQ = [72]
CLEAR_PREV_ST_EVT_RES = [73]
GET_PREV_ST_EVT_REQ = [74]
GET_PREV_ST_EVT_RES = [75]
GET_STATE_REQ = [68]
GET_STATE_RES = [69]
ID_OP_REQ = [70]
ID_OP_RES = [71]
LOWEST = [64]
SET_STATE_REQ = [66]
SET_STATE_RES = [67]
class adi_study_watch.core.enums.user0_enums.User0Event(value)

Bases: enum.Enum

User0 event Enum

BATTERY_DRAINED = [3]
BATTERY_FULL = [9]
BLE_ADV_TIMEOUT = [7]
BLE_DISCONNECT_NW_TERMINATED = [5]
BLE_DISCONNECT_UNEXPECTED = [4]
EVENT_RTC_WAKEUP_DONE = [14]
FINISH_LOG_TRANSFER = [10]
INVALID = [0]
NAV_BUTTON_RESET = [1]
RTC_TIMER_INTERRUPT = [6]
SET_USER0_STATE_M2M2_COMMAND = [13]
SYS_HW_RST_M2M2_COMMAND = [12]
SYS_RST_M2M2_COMMAND = [11]
USB_DISCONNECT_UNEXPECTED = [8]
WATCH_ON_CRADLE_NAV_BUTTON_RESET = [2]
class adi_study_watch.core.enums.user0_enums.User0ID(value)

Bases: enum.Enum

User0 ID Enum

EXP_ID = [1]
HW_ID = [0]
class adi_study_watch.core.enums.user0_enums.User0OperationMode(value)

Bases: enum.Enum

User0 operation Enum

DELETE = [2]
READ = [0]
WRITE = [1]
class adi_study_watch.core.enums.user0_enums.User0State(value)

Bases: enum.Enum

User0 status Enum

ADMIT_STANDBY = [0]
CHARGING_BATTERY = [7]
END_MONITORING = [6]
INTERMITTENT_MONITORING = [3]
INTERMITTENT_MONITORING_START_LOG = [4]
INTERMITTENT_MONITORING_STOP_LOG = [5]
OUT_OF_BATTERY_STATE_BEFORE_START_MONITORING = [8]
OUT_OF_BATTERY_STATE_DURING_INTERMITTENT_MONITORING = [9]
SLEEP = [2]
START_MONITORING = [1]
class adi_study_watch.core.enums.user0_enums.User0Status(value)

Bases: enum.Enum

User0 status Enum

ERR_ARGS = [66]
ERR_NOT_CHKD = [255]
LOWEST = [64]
OK = [65]
class adi_study_watch.core.enums.user0_enums.User0SubState(value)

Bases: enum.Enum

User0 Sub status Enum

SUB_STATE_BEFORE_START_MONITORING = [1]
SUB_STATE_DURING_INTERMITTENT_MONITORING = [2]
SUB_STATE_INVALID = [0]
class adi_study_watch.core.enums.user0_enums.User0WatchResetReason(value)

Bases: enum.Enum

User0 Watch Reset Reason Enum

CPU_LOCKUP = [8]
INVALID = [0]
NRF_WDT_RESET = [2]
RST_PIN_RESET = [1]
SOFT_RESET = [4]
class adi_study_watch.core.enums.user0_enums.User0SubState(value)

Bases: enum.Enum

User0 Sub status Enum

SUB_STATE_BEFORE_START_MONITORING = [1]
SUB_STATE_DURING_INTERMITTENT_MONITORING = [2]
SUB_STATE_INVALID = [0]
class adi_study_watch.core.enums.user0_enums.User0WatchResetReason(value)

Bases: enum.Enum

User0 Watch Reset Reason Enum

CPU_LOCKUP = [8]
INVALID = [0]
NRF_WDT_RESET = [2]
RST_PIN_RESET = [1]
SOFT_RESET = [4]