Exchange data status
IDOExchangeStatus
enum IDOExchangeStatus: Int {
case initial = 0
/// Initialization
case appStart = 1
/// app initiation starts
case appStartReply = 2
/// app initiation starts device reply
case appEnd = 3
/// app initiation ends
case appEndReply = 4
/// app initiates end device reply
case appPause = 5
/// app initiates pause
case appPauseReply = 6
/// app initiates pause device reply
case appRestore = 7
/// app initiates recovery
case appRestoreReply = 8
/// app initiates recovery device reply
case appIng = 9
/// app initiates exchange
case appIngReply = 10
/// app initiates exchange device reply
case getActivity = 11
/// Get the last motion data
case getActivityReply = 12
/// Get the last exercise data device reply
case getHr = 13
/// Get the one-minute heart rate
case getHrReply = 14
/// Get the one-minute heart rate device reply
case appStartPlan = 15
/ // app starts exercise plan
case appStartPlanReply = 16
/// app starts exercise plan device reply
case appPausePlan = 17
/// app pauses exercise plan
case appPausePlanReply = 18
/// app pauses exercise plan device reply
case appRestorePlan = 19
/// app resumes exercise plan
case appRestorePlanReply = 20
/// app resumes exercise plan device reply
case appEndPlan = 21
/// app ends exercise plan
case appEndPlanReply = 22
/// app End exercise plan device reply
case appSwitchAction = 23
/// app switch action
case appSwitchActionReply = 24
/// app end exercise plan device reply
case appBlePause = 25
/// app initiated exercise device initiates pause
case appBlePauseReply = 26
/// An app-initiated movement device initiates a pause app reply
case appBleRestore = 27
/// An app-initiated movement device initiates a recovery
case appBleRestoreReply = 28
/// An app-initiated movement device initiates a resume app reply
case appBleEnd = 29
/// The movement initiated by app, device initiation, ends.
case appBleEndReply = 30
/// The movement initiated by app, device initiation, ends. app reply
case bleStart = 31
/// The movement initiated by device, device initiation starts.
case bleStartReply = 32
/// The movement initiated by device starts the app reply
case bleEnd = 33
/// The movement initiated by device ends when initiated by device
case bleEndReply = 34
/// The movement initiated by device ends when initiated by device app reply
case blePause = 35
/// device-initiated movement device-initiated pause
case blePauseReply = 36
/// device-initiated movement device-initiated pause app reply
case bleRestore = 37
/// device-initiated movement device initiates recovery
case bleRestoreReply = 38
/// device-initiated movement device-initiated recovery app reply
case bleIng = 39
/// device-initiated movement device-initiated exchange
case bleIngReply = 40
/// device-initiated movement device initiates exchange app reply
case bleStartPlan = 41
/// device start exercise plan
case blePausePlan = 42
/// device pause exercise plan
case bleRestorePlan = 43
/// device resume exercise plan
case bleEndPlan = 44
/ // device end motion plan
case bleSwitchAction = 45
/// device switch action
case bleOperatePlanReply = 46
}
enum class IDOExchangeStatus(val raw: Int) {
INITIAL(0),
/// Initialization
APPSTART (1),
/// APP initiation starts
APPSTARTREPLY(2),
/// APP initiation starts device reply
APPEND(3),
/// APP initiation ends
APPENDREPLY(4),
/// APP initiates end of device reply
APPPAUSE(5),
/// APP initiates pause
APPPAUSEREPLY(6),
/// APP initiates pause device reply
APPRESTORE(7),
/// APP Initiate recovery
APPRESTOREREPLY(8),
/// APP initiates recovery device reply
APPING(9),
/// APP initiates exchange
APPINGREPLY(10),
/// APP initiates exchange device reply
GETACTIVITY (11),
/// Get the last exercise data
GETACTIVITYREPLY(12),
/// Get the last exercise data device reply
GETHR(13),
/// Get the one-minute heart rate
GETHRREPLY(14) ,
/// Get one-minute heart rate device reply
APPSTARTPLAN(15),
/// APP starts exercise plan
APPSTARTPLANREPLY(16),
/// APP starts exercise plan device reply
APPPAUSEPLAN(17),
/// APP pauses exercise plan
APPPAUSEPLANREPLY(18),
/// APP pauses exercise plan device reply
APPRESTOREPLAN(19),
/// APP resumes exercise plan
APPRESTOREPLANREPLY(20),
/ // APP resumes exercise plan device reply
APPENDPLAN(21),
/// APP ends exercise plan
APPENDPLANREPLY(22),
/// APP ends exercise plan device reply
APPSWITCHACTION(23),
// / APP switching action
APPSWITCHACTIONREPLY(24),
/// APP end exercise plan device reply
APPBLEPAUSE(25),
/// APP initiated exercise device initiation pause
APPBLEPAUSEREPLY(26),
/// APP-initiated movement device initiates pause APP reply
APPBLERESTORE(27),
/// APP-initiated movement device initiates recovery
APPBLERESTOREREPLY(28),
/// APP-initiated movement device initiates recovery APP reply
APPBLEEND( 29),
/// The movement initiated by APP ends with device initiation
APPBLEENDREPLY(30),
/// The movement initiated by APP ends with device initiation. APP replies
BLESTART(31),
/// The movement initiated by device initiation starts
BLESTARTREPLY(32),
/// device-initiated movement device initiation starts APP reply
BLEEND(33),
/// device-initiated movement device initiation ends
BLEENDREPLY(34),
/ // device-initiated movement device-initiated end APP reply
BLEPAUSE(35),
/// device-initiated movement device-initiated pause
BLEPAUSEREPLY(36),
/// device-initiated movement device-initiated pause APP reply
BLERESTORE(37),
/// device-initiated movement device-initiated recovery
BLERESTOREREPLY(38),
/// device-initiated movement device-initiated recovery APP reply
BLEING(39),
/// device-initiated Movement device-initiated exchange
BLEINGREPLY(40),
/// device-initiated movement device-initiated exchange APP reply
BLESTARTPLAN(41),
/// device started movement plan
BLEPAUSEPLAN(42),
// / device pause exercise plan
BLERESTOREPLAN(43),
/// device resume exercise plan
BLEENDPLAN(44),
/// device end exercise plan
BLESWITCHACTION(45),
/// device switching action
BLEOPERATEPLANREPLY(46);
}