incyclist-devices 2.3.33 → 2.3.35
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/lib/antv2/fe/adapter.js +1 -1
- package/lib/ble/base/peripheral.d.ts +3 -0
- package/lib/ble/base/peripheral.js +20 -0
- package/lib/ble/base/sensor.d.ts +2 -0
- package/lib/ble/base/sensor.js +7 -0
- package/lib/ble/fm/adapter.d.ts +8 -2
- package/lib/ble/fm/adapter.js +60 -8
- package/lib/ble/fm/sensor.js +85 -66
- package/lib/ble/types.d.ts +2 -0
- package/lib/ble/zwift/play/helperfactory.d.ts +7 -0
- package/lib/ble/zwift/play/helperfactory.js +17 -0
- package/lib/ble/zwift/play/protohelper.d.ts +4 -0
- package/lib/ble/zwift/play/protohelper.js +11 -0
- package/lib/ble/zwift/play/sensor.d.ts +21 -6
- package/lib/ble/zwift/play/sensor.js +237 -61
- package/lib/ble/zwift/play/types.d.ts +6 -0
- package/lib/ble/zwift/play/types.js +2 -0
- package/lib/direct-connect/base/peripheral.d.ts +3 -0
- package/lib/direct-connect/base/peripheral.js +8 -0
- package/lib/modes/antble-smarttrainer.d.ts +1 -1
- package/lib/modes/antble-smarttrainer.js +81 -22
- package/lib/modes/power-base.d.ts +1 -1
- package/lib/modes/types.d.ts +4 -0
- package/lib/modes/types.js +3 -0
- package/lib/proto/org/cagnulen/qdomyoszwift/zwift_hub_pb.d.ts +156 -0
- package/lib/proto/org/cagnulen/qdomyoszwift/zwift_hub_pb.js +59 -0
- package/lib/proto/zwift_hub.d.ts +282 -0
- package/lib/proto/zwift_hub.js +1146 -0
- package/package.json +7 -2
package/lib/modes/types.d.ts
CHANGED
|
@@ -10,6 +10,7 @@ export type UpdateRequest = {
|
|
|
10
10
|
refresh?: boolean;
|
|
11
11
|
init?: boolean;
|
|
12
12
|
gear?: number;
|
|
13
|
+
gearRatio?: number;
|
|
13
14
|
forced?: boolean;
|
|
14
15
|
};
|
|
15
16
|
export declare enum CyclingModeProperyType {
|
|
@@ -29,6 +30,7 @@ export type CyclingModeProperty = {
|
|
|
29
30
|
max?: number;
|
|
30
31
|
default?: any;
|
|
31
32
|
options?: any[];
|
|
33
|
+
condition?: (setting: any) => boolean;
|
|
32
34
|
};
|
|
33
35
|
export type Settings = {
|
|
34
36
|
[key: string]: any;
|
|
@@ -47,6 +49,7 @@ export default interface ICyclingMode {
|
|
|
47
49
|
getSettings(): Settings;
|
|
48
50
|
setModeProperty(name: string, value: any): void;
|
|
49
51
|
getModeProperty(name: string): any;
|
|
52
|
+
getData(): Partial<IncyclistBikeData>;
|
|
50
53
|
}
|
|
51
54
|
export type CyclingModeConfig = {
|
|
52
55
|
isERG?: boolean;
|
|
@@ -74,4 +77,5 @@ export declare class CyclingMode implements ICyclingMode {
|
|
|
74
77
|
getConfig(): CyclingModeConfig;
|
|
75
78
|
isERG(): boolean;
|
|
76
79
|
isSIM(): boolean;
|
|
80
|
+
getData(): Partial<IncyclistBikeData>;
|
|
77
81
|
}
|
package/lib/modes/types.js
CHANGED
|
@@ -0,0 +1,156 @@
|
|
|
1
|
+
import type { GenEnum, GenFile, GenMessage } from "@bufbuild/protobuf/codegenv2";
|
|
2
|
+
import type { Message } from "@bufbuild/protobuf";
|
|
3
|
+
export declare const file_org_cagnulen_qdomyoszwift_zwift_hub: GenFile;
|
|
4
|
+
export type HubRequest = Message<"org.cagnulen.qdomyoszwift.HubRequest"> & {
|
|
5
|
+
DataId: number;
|
|
6
|
+
};
|
|
7
|
+
export declare const HubRequestSchema: GenMessage<HubRequest>;
|
|
8
|
+
export type HubRidingData = Message<"org.cagnulen.qdomyoszwift.HubRidingData"> & {
|
|
9
|
+
Power: number;
|
|
10
|
+
Cadence: number;
|
|
11
|
+
SpeedX100: number;
|
|
12
|
+
HR: number;
|
|
13
|
+
Unknown1: number;
|
|
14
|
+
Unknown2: number;
|
|
15
|
+
};
|
|
16
|
+
export declare const HubRidingDataSchema: GenMessage<HubRidingData>;
|
|
17
|
+
export type SimulationParam = Message<"org.cagnulen.qdomyoszwift.SimulationParam"> & {
|
|
18
|
+
Wind: number;
|
|
19
|
+
InclineX100: number;
|
|
20
|
+
CWa: number;
|
|
21
|
+
Crr: number;
|
|
22
|
+
};
|
|
23
|
+
export declare const SimulationParamSchema: GenMessage<SimulationParam>;
|
|
24
|
+
export type PhysicalParam = Message<"org.cagnulen.qdomyoszwift.PhysicalParam"> & {
|
|
25
|
+
GearRatioX10000: number;
|
|
26
|
+
BikeWeightx100: number;
|
|
27
|
+
RiderWeightx100: number;
|
|
28
|
+
};
|
|
29
|
+
export declare const PhysicalParamSchema: GenMessage<PhysicalParam>;
|
|
30
|
+
export type HubCommand = Message<"org.cagnulen.qdomyoszwift.HubCommand"> & {
|
|
31
|
+
PowerTarget: number;
|
|
32
|
+
Simulation?: SimulationParam;
|
|
33
|
+
Physical?: PhysicalParam;
|
|
34
|
+
};
|
|
35
|
+
export declare const HubCommandSchema: GenMessage<HubCommand>;
|
|
36
|
+
export type PlayKeyPadStatus = Message<"org.cagnulen.qdomyoszwift.PlayKeyPadStatus"> & {
|
|
37
|
+
RightPad: PlayButtonStatus;
|
|
38
|
+
ButtonYUp: PlayButtonStatus;
|
|
39
|
+
ButtonZLeft: PlayButtonStatus;
|
|
40
|
+
ButtonARight: PlayButtonStatus;
|
|
41
|
+
ButtonBDown: PlayButtonStatus;
|
|
42
|
+
ButtonOn: PlayButtonStatus;
|
|
43
|
+
ButtonShift: PlayButtonStatus;
|
|
44
|
+
AnalogLR: number;
|
|
45
|
+
AnalogUD: number;
|
|
46
|
+
};
|
|
47
|
+
export declare const PlayKeyPadStatusSchema: GenMessage<PlayKeyPadStatus>;
|
|
48
|
+
export type PlayCommandParameters = Message<"org.cagnulen.qdomyoszwift.PlayCommandParameters"> & {
|
|
49
|
+
param1: number;
|
|
50
|
+
param2: number;
|
|
51
|
+
HapticPattern: number;
|
|
52
|
+
};
|
|
53
|
+
export declare const PlayCommandParametersSchema: GenMessage<PlayCommandParameters>;
|
|
54
|
+
export type PlayCommandContents = Message<"org.cagnulen.qdomyoszwift.PlayCommandContents"> & {
|
|
55
|
+
CommandParameters?: PlayCommandParameters;
|
|
56
|
+
};
|
|
57
|
+
export declare const PlayCommandContentsSchema: GenMessage<PlayCommandContents>;
|
|
58
|
+
export type PlayCommand = Message<"org.cagnulen.qdomyoszwift.PlayCommand"> & {
|
|
59
|
+
CommandContents?: PlayCommandContents;
|
|
60
|
+
};
|
|
61
|
+
export declare const PlayCommandSchema: GenMessage<PlayCommand>;
|
|
62
|
+
export type Idle = Message<"org.cagnulen.qdomyoszwift.Idle"> & {
|
|
63
|
+
Unknown2: number;
|
|
64
|
+
};
|
|
65
|
+
export declare const IdleSchema: GenMessage<Idle>;
|
|
66
|
+
export type RideAnalogKeyPress = Message<"org.cagnulen.qdomyoszwift.RideAnalogKeyPress"> & {
|
|
67
|
+
Location: RideAnalogLocation;
|
|
68
|
+
AnalogValue: number;
|
|
69
|
+
};
|
|
70
|
+
export declare const RideAnalogKeyPressSchema: GenMessage<RideAnalogKeyPress>;
|
|
71
|
+
export type RideAnalogKeyGroup = Message<"org.cagnulen.qdomyoszwift.RideAnalogKeyGroup"> & {
|
|
72
|
+
GroupStatus: RideAnalogKeyPress[];
|
|
73
|
+
};
|
|
74
|
+
export declare const RideAnalogKeyGroupSchema: GenMessage<RideAnalogKeyGroup>;
|
|
75
|
+
export type RideKeyPadStatus = Message<"org.cagnulen.qdomyoszwift.RideKeyPadStatus"> & {
|
|
76
|
+
ButtonMap: number;
|
|
77
|
+
AnalogButtons?: RideAnalogKeyGroup;
|
|
78
|
+
};
|
|
79
|
+
export declare const RideKeyPadStatusSchema: GenMessage<RideKeyPadStatus>;
|
|
80
|
+
export type ClickKeyPadStatus = Message<"org.cagnulen.qdomyoszwift.ClickKeyPadStatus"> & {
|
|
81
|
+
ButtonPlus: PlayButtonStatus;
|
|
82
|
+
ButtonMinus: PlayButtonStatus;
|
|
83
|
+
};
|
|
84
|
+
export declare const ClickKeyPadStatusSchema: GenMessage<ClickKeyPadStatus>;
|
|
85
|
+
export type DeviceInformationContent = Message<"org.cagnulen.qdomyoszwift.DeviceInformationContent"> & {
|
|
86
|
+
Unknown1: number;
|
|
87
|
+
SoftwareVersion: number[];
|
|
88
|
+
DeviceName: string;
|
|
89
|
+
Unknown4: number;
|
|
90
|
+
Unknown5: number;
|
|
91
|
+
SerialNumber: string;
|
|
92
|
+
HardwareVersion: string;
|
|
93
|
+
ReplyData: number[];
|
|
94
|
+
Unknown9: number;
|
|
95
|
+
Unknown10: number;
|
|
96
|
+
Unknown13: number;
|
|
97
|
+
};
|
|
98
|
+
export declare const DeviceInformationContentSchema: GenMessage<DeviceInformationContent>;
|
|
99
|
+
export type SubContent = Message<"org.cagnulen.qdomyoszwift.SubContent"> & {
|
|
100
|
+
Content?: DeviceInformationContent;
|
|
101
|
+
Unknown2: number;
|
|
102
|
+
Unknown4: number;
|
|
103
|
+
Unknown5: number;
|
|
104
|
+
Unknown6: number;
|
|
105
|
+
};
|
|
106
|
+
export declare const SubContentSchema: GenMessage<SubContent>;
|
|
107
|
+
export type DeviceInformation = Message<"org.cagnulen.qdomyoszwift.DeviceInformation"> & {
|
|
108
|
+
InformationId: number;
|
|
109
|
+
DeviceInformationContent?: SubContent;
|
|
110
|
+
};
|
|
111
|
+
export declare const DeviceInformationSchema: GenMessage<DeviceInformation>;
|
|
112
|
+
export type DeviceSettings = Message<"org.cagnulen.qdomyoszwift.DeviceSettings"> & {
|
|
113
|
+
SubContent?: DeviceSettingsSubContent;
|
|
114
|
+
};
|
|
115
|
+
export declare const DeviceSettingsSchema: GenMessage<DeviceSettings>;
|
|
116
|
+
export type DeviceSettingsSubContent = Message<"org.cagnulen.qdomyoszwift.DeviceSettingsSubContent"> & {
|
|
117
|
+
GearRatiox10000: number;
|
|
118
|
+
Weightx100: number;
|
|
119
|
+
};
|
|
120
|
+
export declare const DeviceSettingsSubContentSchema: GenMessage<DeviceSettingsSubContent>;
|
|
121
|
+
export type DeviceDataEnvelope = Message<"org.cagnulen.qdomyoszwift.DeviceDataEnvelope"> & {
|
|
122
|
+
messageType: number;
|
|
123
|
+
payload: Uint8Array;
|
|
124
|
+
};
|
|
125
|
+
export declare const DeviceDataEnvelopeSchema: GenMessage<DeviceDataEnvelope>;
|
|
126
|
+
export declare enum PlayButtonStatus {
|
|
127
|
+
ON = 0,
|
|
128
|
+
OFF = 1
|
|
129
|
+
}
|
|
130
|
+
export declare const PlayButtonStatusSchema: GenEnum<PlayButtonStatus>;
|
|
131
|
+
export declare enum RideButtonMask {
|
|
132
|
+
LEFT_BTN = 1,
|
|
133
|
+
UP_BTN = 2,
|
|
134
|
+
RIGHT_BTN = 4,
|
|
135
|
+
DOWN_BTN = 8,
|
|
136
|
+
A_BTN = 16,
|
|
137
|
+
B_BTN = 32,
|
|
138
|
+
Y_BTN = 64,
|
|
139
|
+
Z_BTN = 256,
|
|
140
|
+
SHFT_UP_L_BTN = 512,
|
|
141
|
+
SHFT_DN_L_BTN = 1024,
|
|
142
|
+
POWERUP_L_BTN = 2048,
|
|
143
|
+
ONOFF_L_BTN = 4096,
|
|
144
|
+
SHFT_UP_R_BTN = 8192,
|
|
145
|
+
SHFT_DN_R_BTN = 16384,
|
|
146
|
+
POWERUP_R_BTN = 65536,
|
|
147
|
+
ONOFF_R_BTN = 131072
|
|
148
|
+
}
|
|
149
|
+
export declare const RideButtonMaskSchema: GenEnum<RideButtonMask>;
|
|
150
|
+
export declare enum RideAnalogLocation {
|
|
151
|
+
LEFT = 0,
|
|
152
|
+
RIGHT = 1,
|
|
153
|
+
UP = 2,
|
|
154
|
+
DOWN = 3
|
|
155
|
+
}
|
|
156
|
+
export declare const RideAnalogLocationSchema: GenEnum<RideAnalogLocation>;
|
|
@@ -0,0 +1,59 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
+
exports.RideAnalogLocationSchema = exports.RideAnalogLocation = exports.RideButtonMaskSchema = exports.RideButtonMask = exports.PlayButtonStatusSchema = exports.PlayButtonStatus = exports.DeviceDataEnvelopeSchema = exports.DeviceSettingsSubContentSchema = exports.DeviceSettingsSchema = exports.DeviceInformationSchema = exports.SubContentSchema = exports.DeviceInformationContentSchema = exports.ClickKeyPadStatusSchema = exports.RideKeyPadStatusSchema = exports.RideAnalogKeyGroupSchema = exports.RideAnalogKeyPressSchema = exports.IdleSchema = exports.PlayCommandSchema = exports.PlayCommandContentsSchema = exports.PlayCommandParametersSchema = exports.PlayKeyPadStatusSchema = exports.HubCommandSchema = exports.PhysicalParamSchema = exports.SimulationParamSchema = exports.HubRidingDataSchema = exports.HubRequestSchema = exports.file_org_cagnulen_qdomyoszwift_zwift_hub = void 0;
|
|
4
|
+
const codegenv2_1 = require("@bufbuild/protobuf/codegenv2");
|
|
5
|
+
exports.file_org_cagnulen_qdomyoszwift_zwift_hub = (0, codegenv2_1.fileDesc)("CilvcmcvY2FnbnVsZW4vcWRvbXlvc3p3aWZ0L3p3aWZ0X2h1Yi5wcm90bxIZb3JnLmNhZ251bGVuLnFkb215b3N6d2lmdCIcCgpIdWJSZXF1ZXN0Eg4KBkRhdGFJZBgBIAEoDSJyCg1IdWJSaWRpbmdEYXRhEg0KBVBvd2VyGAEgASgNEg8KB0NhZGVuY2UYAiABKA0SEQoJU3BlZWRYMTAwGAMgASgNEgoKAkhSGAQgASgNEhAKCFVua25vd24xGAUgASgNEhAKCFVua25vd24yGAYgASgNIk4KD1NpbXVsYXRpb25QYXJhbRIMCgRXaW5kGAEgASgREhMKC0luY2xpbmVYMTAwGAIgASgREgsKA0NXYRgDIAEoDRILCgNDcnIYBCABKA0iWQoNUGh5c2ljYWxQYXJhbRIXCg9HZWFyUmF0aW9YMTAwMDAYAiABKA0SFgoOQmlrZVdlaWdodHgxMDAYBCABKA0SFwoPUmlkZXJXZWlnaHR4MTAwGAUgASgNIp0BCgpIdWJDb21tYW5kEhMKC1Bvd2VyVGFyZ2V0GAMgASgNEj4KClNpbXVsYX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qOwoSUmlkZUFuYWxvZ0xvY2F0aW9uEggKBExFRlQQABIJCgVSSUdIVBABEgYKAlVQEAISCAoERE9XThAD");
|
|
6
|
+
exports.HubRequestSchema = (0, codegenv2_1.messageDesc)(exports.file_org_cagnulen_qdomyoszwift_zwift_hub, 0);
|
|
7
|
+
exports.HubRidingDataSchema = (0, codegenv2_1.messageDesc)(exports.file_org_cagnulen_qdomyoszwift_zwift_hub, 1);
|
|
8
|
+
exports.SimulationParamSchema = (0, codegenv2_1.messageDesc)(exports.file_org_cagnulen_qdomyoszwift_zwift_hub, 2);
|
|
9
|
+
exports.PhysicalParamSchema = (0, codegenv2_1.messageDesc)(exports.file_org_cagnulen_qdomyoszwift_zwift_hub, 3);
|
|
10
|
+
exports.HubCommandSchema = (0, codegenv2_1.messageDesc)(exports.file_org_cagnulen_qdomyoszwift_zwift_hub, 4);
|
|
11
|
+
exports.PlayKeyPadStatusSchema = (0, codegenv2_1.messageDesc)(exports.file_org_cagnulen_qdomyoszwift_zwift_hub, 5);
|
|
12
|
+
exports.PlayCommandParametersSchema = (0, codegenv2_1.messageDesc)(exports.file_org_cagnulen_qdomyoszwift_zwift_hub, 6);
|
|
13
|
+
exports.PlayCommandContentsSchema = (0, codegenv2_1.messageDesc)(exports.file_org_cagnulen_qdomyoszwift_zwift_hub, 7);
|
|
14
|
+
exports.PlayCommandSchema = (0, codegenv2_1.messageDesc)(exports.file_org_cagnulen_qdomyoszwift_zwift_hub, 8);
|
|
15
|
+
exports.IdleSchema = (0, codegenv2_1.messageDesc)(exports.file_org_cagnulen_qdomyoszwift_zwift_hub, 9);
|
|
16
|
+
exports.RideAnalogKeyPressSchema = (0, codegenv2_1.messageDesc)(exports.file_org_cagnulen_qdomyoszwift_zwift_hub, 10);
|
|
17
|
+
exports.RideAnalogKeyGroupSchema = (0, codegenv2_1.messageDesc)(exports.file_org_cagnulen_qdomyoszwift_zwift_hub, 11);
|
|
18
|
+
exports.RideKeyPadStatusSchema = (0, codegenv2_1.messageDesc)(exports.file_org_cagnulen_qdomyoszwift_zwift_hub, 12);
|
|
19
|
+
exports.ClickKeyPadStatusSchema = (0, codegenv2_1.messageDesc)(exports.file_org_cagnulen_qdomyoszwift_zwift_hub, 13);
|
|
20
|
+
exports.DeviceInformationContentSchema = (0, codegenv2_1.messageDesc)(exports.file_org_cagnulen_qdomyoszwift_zwift_hub, 14);
|
|
21
|
+
exports.SubContentSchema = (0, codegenv2_1.messageDesc)(exports.file_org_cagnulen_qdomyoszwift_zwift_hub, 15);
|
|
22
|
+
exports.DeviceInformationSchema = (0, codegenv2_1.messageDesc)(exports.file_org_cagnulen_qdomyoszwift_zwift_hub, 16);
|
|
23
|
+
exports.DeviceSettingsSchema = (0, codegenv2_1.messageDesc)(exports.file_org_cagnulen_qdomyoszwift_zwift_hub, 17);
|
|
24
|
+
exports.DeviceSettingsSubContentSchema = (0, codegenv2_1.messageDesc)(exports.file_org_cagnulen_qdomyoszwift_zwift_hub, 18);
|
|
25
|
+
exports.DeviceDataEnvelopeSchema = (0, codegenv2_1.messageDesc)(exports.file_org_cagnulen_qdomyoszwift_zwift_hub, 19);
|
|
26
|
+
var PlayButtonStatus;
|
|
27
|
+
(function (PlayButtonStatus) {
|
|
28
|
+
PlayButtonStatus[PlayButtonStatus["ON"] = 0] = "ON";
|
|
29
|
+
PlayButtonStatus[PlayButtonStatus["OFF"] = 1] = "OFF";
|
|
30
|
+
})(PlayButtonStatus || (exports.PlayButtonStatus = PlayButtonStatus = {}));
|
|
31
|
+
exports.PlayButtonStatusSchema = (0, codegenv2_1.enumDesc)(exports.file_org_cagnulen_qdomyoszwift_zwift_hub, 0);
|
|
32
|
+
var RideButtonMask;
|
|
33
|
+
(function (RideButtonMask) {
|
|
34
|
+
RideButtonMask[RideButtonMask["LEFT_BTN"] = 1] = "LEFT_BTN";
|
|
35
|
+
RideButtonMask[RideButtonMask["UP_BTN"] = 2] = "UP_BTN";
|
|
36
|
+
RideButtonMask[RideButtonMask["RIGHT_BTN"] = 4] = "RIGHT_BTN";
|
|
37
|
+
RideButtonMask[RideButtonMask["DOWN_BTN"] = 8] = "DOWN_BTN";
|
|
38
|
+
RideButtonMask[RideButtonMask["A_BTN"] = 16] = "A_BTN";
|
|
39
|
+
RideButtonMask[RideButtonMask["B_BTN"] = 32] = "B_BTN";
|
|
40
|
+
RideButtonMask[RideButtonMask["Y_BTN"] = 64] = "Y_BTN";
|
|
41
|
+
RideButtonMask[RideButtonMask["Z_BTN"] = 256] = "Z_BTN";
|
|
42
|
+
RideButtonMask[RideButtonMask["SHFT_UP_L_BTN"] = 512] = "SHFT_UP_L_BTN";
|
|
43
|
+
RideButtonMask[RideButtonMask["SHFT_DN_L_BTN"] = 1024] = "SHFT_DN_L_BTN";
|
|
44
|
+
RideButtonMask[RideButtonMask["POWERUP_L_BTN"] = 2048] = "POWERUP_L_BTN";
|
|
45
|
+
RideButtonMask[RideButtonMask["ONOFF_L_BTN"] = 4096] = "ONOFF_L_BTN";
|
|
46
|
+
RideButtonMask[RideButtonMask["SHFT_UP_R_BTN"] = 8192] = "SHFT_UP_R_BTN";
|
|
47
|
+
RideButtonMask[RideButtonMask["SHFT_DN_R_BTN"] = 16384] = "SHFT_DN_R_BTN";
|
|
48
|
+
RideButtonMask[RideButtonMask["POWERUP_R_BTN"] = 65536] = "POWERUP_R_BTN";
|
|
49
|
+
RideButtonMask[RideButtonMask["ONOFF_R_BTN"] = 131072] = "ONOFF_R_BTN";
|
|
50
|
+
})(RideButtonMask || (exports.RideButtonMask = RideButtonMask = {}));
|
|
51
|
+
exports.RideButtonMaskSchema = (0, codegenv2_1.enumDesc)(exports.file_org_cagnulen_qdomyoszwift_zwift_hub, 1);
|
|
52
|
+
var RideAnalogLocation;
|
|
53
|
+
(function (RideAnalogLocation) {
|
|
54
|
+
RideAnalogLocation[RideAnalogLocation["LEFT"] = 0] = "LEFT";
|
|
55
|
+
RideAnalogLocation[RideAnalogLocation["RIGHT"] = 1] = "RIGHT";
|
|
56
|
+
RideAnalogLocation[RideAnalogLocation["UP"] = 2] = "UP";
|
|
57
|
+
RideAnalogLocation[RideAnalogLocation["DOWN"] = 3] = "DOWN";
|
|
58
|
+
})(RideAnalogLocation || (exports.RideAnalogLocation = RideAnalogLocation = {}));
|
|
59
|
+
exports.RideAnalogLocationSchema = (0, codegenv2_1.enumDesc)(exports.file_org_cagnulen_qdomyoszwift_zwift_hub, 2);
|
|
@@ -0,0 +1,282 @@
|
|
|
1
|
+
import type { BinaryWriteOptions } from "@protobuf-ts/runtime";
|
|
2
|
+
import type { IBinaryWriter } from "@protobuf-ts/runtime";
|
|
3
|
+
import type { BinaryReadOptions } from "@protobuf-ts/runtime";
|
|
4
|
+
import type { IBinaryReader } from "@protobuf-ts/runtime";
|
|
5
|
+
import type { PartialMessage } from "@protobuf-ts/runtime";
|
|
6
|
+
import { MessageType } from "@protobuf-ts/runtime";
|
|
7
|
+
export interface HubRequest {
|
|
8
|
+
dataId?: number;
|
|
9
|
+
}
|
|
10
|
+
export interface HubRidingData {
|
|
11
|
+
power?: number;
|
|
12
|
+
cadence?: number;
|
|
13
|
+
speedX100?: number;
|
|
14
|
+
hR?: number;
|
|
15
|
+
unknown1?: number;
|
|
16
|
+
unknown2?: number;
|
|
17
|
+
}
|
|
18
|
+
export interface SimulationParam {
|
|
19
|
+
windx100?: number;
|
|
20
|
+
inclineX100?: number;
|
|
21
|
+
cWax10000?: number;
|
|
22
|
+
crrx100000?: number;
|
|
23
|
+
}
|
|
24
|
+
export interface PhysicalParam {
|
|
25
|
+
gearRatioX10000?: number;
|
|
26
|
+
bikeWeightx100?: number;
|
|
27
|
+
riderWeightx100?: number;
|
|
28
|
+
}
|
|
29
|
+
export interface HubCommand {
|
|
30
|
+
powerTarget?: number;
|
|
31
|
+
simulation?: SimulationParam;
|
|
32
|
+
physical?: PhysicalParam;
|
|
33
|
+
}
|
|
34
|
+
export interface PlayKeyPadStatus {
|
|
35
|
+
rightPad?: PlayButtonStatus;
|
|
36
|
+
buttonYUp?: PlayButtonStatus;
|
|
37
|
+
buttonZLeft?: PlayButtonStatus;
|
|
38
|
+
buttonARight?: PlayButtonStatus;
|
|
39
|
+
buttonBDown?: PlayButtonStatus;
|
|
40
|
+
buttonOn?: PlayButtonStatus;
|
|
41
|
+
buttonShift?: PlayButtonStatus;
|
|
42
|
+
analogLR?: number;
|
|
43
|
+
analogUD?: number;
|
|
44
|
+
}
|
|
45
|
+
export interface PlayCommandParameters {
|
|
46
|
+
param1?: number;
|
|
47
|
+
param2?: number;
|
|
48
|
+
hapticPattern?: number;
|
|
49
|
+
}
|
|
50
|
+
export interface PlayCommandContents {
|
|
51
|
+
commandParameters?: PlayCommandParameters;
|
|
52
|
+
}
|
|
53
|
+
export interface PlayCommand {
|
|
54
|
+
commandContents?: PlayCommandContents;
|
|
55
|
+
}
|
|
56
|
+
export interface Idle {
|
|
57
|
+
unknown2?: number;
|
|
58
|
+
}
|
|
59
|
+
export interface RideAnalogKeyPress {
|
|
60
|
+
location?: RideAnalogLocation;
|
|
61
|
+
analogValue?: number;
|
|
62
|
+
}
|
|
63
|
+
export interface RideAnalogKeyGroup {
|
|
64
|
+
groupStatus: RideAnalogKeyPress[];
|
|
65
|
+
}
|
|
66
|
+
export interface RideKeyPadStatus {
|
|
67
|
+
buttonMap?: number;
|
|
68
|
+
analogButtons?: RideAnalogKeyGroup;
|
|
69
|
+
}
|
|
70
|
+
export interface ClickKeyPadStatus {
|
|
71
|
+
buttonPlus?: PlayButtonStatus;
|
|
72
|
+
buttonMinus?: PlayButtonStatus;
|
|
73
|
+
}
|
|
74
|
+
export interface DeviceInformationContent {
|
|
75
|
+
unknown1?: number;
|
|
76
|
+
softwareVersion: number[];
|
|
77
|
+
deviceName?: string;
|
|
78
|
+
unknown4?: number;
|
|
79
|
+
unknown5?: number;
|
|
80
|
+
serialNumber?: string;
|
|
81
|
+
hardwareVersion?: string;
|
|
82
|
+
replyData: number[];
|
|
83
|
+
unknown9?: number;
|
|
84
|
+
unknown10?: number;
|
|
85
|
+
unknown13?: number;
|
|
86
|
+
}
|
|
87
|
+
export interface SubContent {
|
|
88
|
+
content?: DeviceInformationContent;
|
|
89
|
+
unknown2?: number;
|
|
90
|
+
unknown4?: number;
|
|
91
|
+
unknown5?: number;
|
|
92
|
+
unknown6?: number;
|
|
93
|
+
}
|
|
94
|
+
export interface DeviceInformation {
|
|
95
|
+
informationId?: number;
|
|
96
|
+
deviceInformationContent?: SubContent;
|
|
97
|
+
}
|
|
98
|
+
export interface DeviceSettings {
|
|
99
|
+
subContent?: DeviceSettingsSubContent;
|
|
100
|
+
}
|
|
101
|
+
export interface DeviceSettingsSubContent {
|
|
102
|
+
windx100?: number;
|
|
103
|
+
inclineX100?: number;
|
|
104
|
+
gearRatiox10000?: number;
|
|
105
|
+
bikeWeightx100?: number;
|
|
106
|
+
riderWeightx100?: number;
|
|
107
|
+
crrx100000?: number;
|
|
108
|
+
}
|
|
109
|
+
export interface DeviceDataEnvelope {
|
|
110
|
+
messageType?: number;
|
|
111
|
+
payload?: Uint8Array;
|
|
112
|
+
}
|
|
113
|
+
export declare enum PlayButtonStatus {
|
|
114
|
+
ON = 0,
|
|
115
|
+
OFF = 1
|
|
116
|
+
}
|
|
117
|
+
export declare enum RideButtonMask {
|
|
118
|
+
UNSPECIFIED$ = 0,
|
|
119
|
+
LEFT_BTN = 1,
|
|
120
|
+
UP_BTN = 2,
|
|
121
|
+
RIGHT_BTN = 4,
|
|
122
|
+
DOWN_BTN = 8,
|
|
123
|
+
A_BTN = 16,
|
|
124
|
+
B_BTN = 32,
|
|
125
|
+
Y_BTN = 64,
|
|
126
|
+
Z_BTN = 256,
|
|
127
|
+
SHFT_UP_L_BTN = 512,
|
|
128
|
+
SHFT_DN_L_BTN = 1024,
|
|
129
|
+
POWERUP_L_BTN = 2048,
|
|
130
|
+
ONOFF_L_BTN = 4096,
|
|
131
|
+
SHFT_UP_R_BTN = 8192,
|
|
132
|
+
SHFT_DN_R_BTN = 16384,
|
|
133
|
+
POWERUP_R_BTN = 65536,
|
|
134
|
+
ONOFF_R_BTN = 131072
|
|
135
|
+
}
|
|
136
|
+
export declare enum RideAnalogLocation {
|
|
137
|
+
LEFT = 0,
|
|
138
|
+
RIGHT = 1,
|
|
139
|
+
UP = 2,
|
|
140
|
+
DOWN = 3
|
|
141
|
+
}
|
|
142
|
+
declare class HubRequest$Type extends MessageType<HubRequest> {
|
|
143
|
+
constructor();
|
|
144
|
+
create(value?: PartialMessage<HubRequest>): HubRequest;
|
|
145
|
+
internalBinaryRead(reader: IBinaryReader, length: number, options: BinaryReadOptions, target?: HubRequest): HubRequest;
|
|
146
|
+
internalBinaryWrite(message: HubRequest, writer: IBinaryWriter, options: BinaryWriteOptions): IBinaryWriter;
|
|
147
|
+
}
|
|
148
|
+
export declare const HubRequest: HubRequest$Type;
|
|
149
|
+
declare class HubRidingData$Type extends MessageType<HubRidingData> {
|
|
150
|
+
constructor();
|
|
151
|
+
create(value?: PartialMessage<HubRidingData>): HubRidingData;
|
|
152
|
+
internalBinaryRead(reader: IBinaryReader, length: number, options: BinaryReadOptions, target?: HubRidingData): HubRidingData;
|
|
153
|
+
internalBinaryWrite(message: HubRidingData, writer: IBinaryWriter, options: BinaryWriteOptions): IBinaryWriter;
|
|
154
|
+
}
|
|
155
|
+
export declare const HubRidingData: HubRidingData$Type;
|
|
156
|
+
declare class SimulationParam$Type extends MessageType<SimulationParam> {
|
|
157
|
+
constructor();
|
|
158
|
+
create(value?: PartialMessage<SimulationParam>): SimulationParam;
|
|
159
|
+
internalBinaryRead(reader: IBinaryReader, length: number, options: BinaryReadOptions, target?: SimulationParam): SimulationParam;
|
|
160
|
+
internalBinaryWrite(message: SimulationParam, writer: IBinaryWriter, options: BinaryWriteOptions): IBinaryWriter;
|
|
161
|
+
}
|
|
162
|
+
export declare const SimulationParam: SimulationParam$Type;
|
|
163
|
+
declare class PhysicalParam$Type extends MessageType<PhysicalParam> {
|
|
164
|
+
constructor();
|
|
165
|
+
create(value?: PartialMessage<PhysicalParam>): PhysicalParam;
|
|
166
|
+
internalBinaryRead(reader: IBinaryReader, length: number, options: BinaryReadOptions, target?: PhysicalParam): PhysicalParam;
|
|
167
|
+
internalBinaryWrite(message: PhysicalParam, writer: IBinaryWriter, options: BinaryWriteOptions): IBinaryWriter;
|
|
168
|
+
}
|
|
169
|
+
export declare const PhysicalParam: PhysicalParam$Type;
|
|
170
|
+
declare class HubCommand$Type extends MessageType<HubCommand> {
|
|
171
|
+
constructor();
|
|
172
|
+
create(value?: PartialMessage<HubCommand>): HubCommand;
|
|
173
|
+
internalBinaryRead(reader: IBinaryReader, length: number, options: BinaryReadOptions, target?: HubCommand): HubCommand;
|
|
174
|
+
internalBinaryWrite(message: HubCommand, writer: IBinaryWriter, options: BinaryWriteOptions): IBinaryWriter;
|
|
175
|
+
}
|
|
176
|
+
export declare const HubCommand: HubCommand$Type;
|
|
177
|
+
declare class PlayKeyPadStatus$Type extends MessageType<PlayKeyPadStatus> {
|
|
178
|
+
constructor();
|
|
179
|
+
create(value?: PartialMessage<PlayKeyPadStatus>): PlayKeyPadStatus;
|
|
180
|
+
internalBinaryRead(reader: IBinaryReader, length: number, options: BinaryReadOptions, target?: PlayKeyPadStatus): PlayKeyPadStatus;
|
|
181
|
+
internalBinaryWrite(message: PlayKeyPadStatus, writer: IBinaryWriter, options: BinaryWriteOptions): IBinaryWriter;
|
|
182
|
+
}
|
|
183
|
+
export declare const PlayKeyPadStatus: PlayKeyPadStatus$Type;
|
|
184
|
+
declare class PlayCommandParameters$Type extends MessageType<PlayCommandParameters> {
|
|
185
|
+
constructor();
|
|
186
|
+
create(value?: PartialMessage<PlayCommandParameters>): PlayCommandParameters;
|
|
187
|
+
internalBinaryRead(reader: IBinaryReader, length: number, options: BinaryReadOptions, target?: PlayCommandParameters): PlayCommandParameters;
|
|
188
|
+
internalBinaryWrite(message: PlayCommandParameters, writer: IBinaryWriter, options: BinaryWriteOptions): IBinaryWriter;
|
|
189
|
+
}
|
|
190
|
+
export declare const PlayCommandParameters: PlayCommandParameters$Type;
|
|
191
|
+
declare class PlayCommandContents$Type extends MessageType<PlayCommandContents> {
|
|
192
|
+
constructor();
|
|
193
|
+
create(value?: PartialMessage<PlayCommandContents>): PlayCommandContents;
|
|
194
|
+
internalBinaryRead(reader: IBinaryReader, length: number, options: BinaryReadOptions, target?: PlayCommandContents): PlayCommandContents;
|
|
195
|
+
internalBinaryWrite(message: PlayCommandContents, writer: IBinaryWriter, options: BinaryWriteOptions): IBinaryWriter;
|
|
196
|
+
}
|
|
197
|
+
export declare const PlayCommandContents: PlayCommandContents$Type;
|
|
198
|
+
declare class PlayCommand$Type extends MessageType<PlayCommand> {
|
|
199
|
+
constructor();
|
|
200
|
+
create(value?: PartialMessage<PlayCommand>): PlayCommand;
|
|
201
|
+
internalBinaryRead(reader: IBinaryReader, length: number, options: BinaryReadOptions, target?: PlayCommand): PlayCommand;
|
|
202
|
+
internalBinaryWrite(message: PlayCommand, writer: IBinaryWriter, options: BinaryWriteOptions): IBinaryWriter;
|
|
203
|
+
}
|
|
204
|
+
export declare const PlayCommand: PlayCommand$Type;
|
|
205
|
+
declare class Idle$Type extends MessageType<Idle> {
|
|
206
|
+
constructor();
|
|
207
|
+
create(value?: PartialMessage<Idle>): Idle;
|
|
208
|
+
internalBinaryRead(reader: IBinaryReader, length: number, options: BinaryReadOptions, target?: Idle): Idle;
|
|
209
|
+
internalBinaryWrite(message: Idle, writer: IBinaryWriter, options: BinaryWriteOptions): IBinaryWriter;
|
|
210
|
+
}
|
|
211
|
+
export declare const Idle: Idle$Type;
|
|
212
|
+
declare class RideAnalogKeyPress$Type extends MessageType<RideAnalogKeyPress> {
|
|
213
|
+
constructor();
|
|
214
|
+
create(value?: PartialMessage<RideAnalogKeyPress>): RideAnalogKeyPress;
|
|
215
|
+
internalBinaryRead(reader: IBinaryReader, length: number, options: BinaryReadOptions, target?: RideAnalogKeyPress): RideAnalogKeyPress;
|
|
216
|
+
internalBinaryWrite(message: RideAnalogKeyPress, writer: IBinaryWriter, options: BinaryWriteOptions): IBinaryWriter;
|
|
217
|
+
}
|
|
218
|
+
export declare const RideAnalogKeyPress: RideAnalogKeyPress$Type;
|
|
219
|
+
declare class RideAnalogKeyGroup$Type extends MessageType<RideAnalogKeyGroup> {
|
|
220
|
+
constructor();
|
|
221
|
+
create(value?: PartialMessage<RideAnalogKeyGroup>): RideAnalogKeyGroup;
|
|
222
|
+
internalBinaryRead(reader: IBinaryReader, length: number, options: BinaryReadOptions, target?: RideAnalogKeyGroup): RideAnalogKeyGroup;
|
|
223
|
+
internalBinaryWrite(message: RideAnalogKeyGroup, writer: IBinaryWriter, options: BinaryWriteOptions): IBinaryWriter;
|
|
224
|
+
}
|
|
225
|
+
export declare const RideAnalogKeyGroup: RideAnalogKeyGroup$Type;
|
|
226
|
+
declare class RideKeyPadStatus$Type extends MessageType<RideKeyPadStatus> {
|
|
227
|
+
constructor();
|
|
228
|
+
create(value?: PartialMessage<RideKeyPadStatus>): RideKeyPadStatus;
|
|
229
|
+
internalBinaryRead(reader: IBinaryReader, length: number, options: BinaryReadOptions, target?: RideKeyPadStatus): RideKeyPadStatus;
|
|
230
|
+
internalBinaryWrite(message: RideKeyPadStatus, writer: IBinaryWriter, options: BinaryWriteOptions): IBinaryWriter;
|
|
231
|
+
}
|
|
232
|
+
export declare const RideKeyPadStatus: RideKeyPadStatus$Type;
|
|
233
|
+
declare class ClickKeyPadStatus$Type extends MessageType<ClickKeyPadStatus> {
|
|
234
|
+
constructor();
|
|
235
|
+
create(value?: PartialMessage<ClickKeyPadStatus>): ClickKeyPadStatus;
|
|
236
|
+
internalBinaryRead(reader: IBinaryReader, length: number, options: BinaryReadOptions, target?: ClickKeyPadStatus): ClickKeyPadStatus;
|
|
237
|
+
internalBinaryWrite(message: ClickKeyPadStatus, writer: IBinaryWriter, options: BinaryWriteOptions): IBinaryWriter;
|
|
238
|
+
}
|
|
239
|
+
export declare const ClickKeyPadStatus: ClickKeyPadStatus$Type;
|
|
240
|
+
declare class DeviceInformationContent$Type extends MessageType<DeviceInformationContent> {
|
|
241
|
+
constructor();
|
|
242
|
+
create(value?: PartialMessage<DeviceInformationContent>): DeviceInformationContent;
|
|
243
|
+
internalBinaryRead(reader: IBinaryReader, length: number, options: BinaryReadOptions, target?: DeviceInformationContent): DeviceInformationContent;
|
|
244
|
+
internalBinaryWrite(message: DeviceInformationContent, writer: IBinaryWriter, options: BinaryWriteOptions): IBinaryWriter;
|
|
245
|
+
}
|
|
246
|
+
export declare const DeviceInformationContent: DeviceInformationContent$Type;
|
|
247
|
+
declare class SubContent$Type extends MessageType<SubContent> {
|
|
248
|
+
constructor();
|
|
249
|
+
create(value?: PartialMessage<SubContent>): SubContent;
|
|
250
|
+
internalBinaryRead(reader: IBinaryReader, length: number, options: BinaryReadOptions, target?: SubContent): SubContent;
|
|
251
|
+
internalBinaryWrite(message: SubContent, writer: IBinaryWriter, options: BinaryWriteOptions): IBinaryWriter;
|
|
252
|
+
}
|
|
253
|
+
export declare const SubContent: SubContent$Type;
|
|
254
|
+
declare class DeviceInformation$Type extends MessageType<DeviceInformation> {
|
|
255
|
+
constructor();
|
|
256
|
+
create(value?: PartialMessage<DeviceInformation>): DeviceInformation;
|
|
257
|
+
internalBinaryRead(reader: IBinaryReader, length: number, options: BinaryReadOptions, target?: DeviceInformation): DeviceInformation;
|
|
258
|
+
internalBinaryWrite(message: DeviceInformation, writer: IBinaryWriter, options: BinaryWriteOptions): IBinaryWriter;
|
|
259
|
+
}
|
|
260
|
+
export declare const DeviceInformation: DeviceInformation$Type;
|
|
261
|
+
declare class DeviceSettings$Type extends MessageType<DeviceSettings> {
|
|
262
|
+
constructor();
|
|
263
|
+
create(value?: PartialMessage<DeviceSettings>): DeviceSettings;
|
|
264
|
+
internalBinaryRead(reader: IBinaryReader, length: number, options: BinaryReadOptions, target?: DeviceSettings): DeviceSettings;
|
|
265
|
+
internalBinaryWrite(message: DeviceSettings, writer: IBinaryWriter, options: BinaryWriteOptions): IBinaryWriter;
|
|
266
|
+
}
|
|
267
|
+
export declare const DeviceSettings: DeviceSettings$Type;
|
|
268
|
+
declare class DeviceSettingsSubContent$Type extends MessageType<DeviceSettingsSubContent> {
|
|
269
|
+
constructor();
|
|
270
|
+
create(value?: PartialMessage<DeviceSettingsSubContent>): DeviceSettingsSubContent;
|
|
271
|
+
internalBinaryRead(reader: IBinaryReader, length: number, options: BinaryReadOptions, target?: DeviceSettingsSubContent): DeviceSettingsSubContent;
|
|
272
|
+
internalBinaryWrite(message: DeviceSettingsSubContent, writer: IBinaryWriter, options: BinaryWriteOptions): IBinaryWriter;
|
|
273
|
+
}
|
|
274
|
+
export declare const DeviceSettingsSubContent: DeviceSettingsSubContent$Type;
|
|
275
|
+
declare class DeviceDataEnvelope$Type extends MessageType<DeviceDataEnvelope> {
|
|
276
|
+
constructor();
|
|
277
|
+
create(value?: PartialMessage<DeviceDataEnvelope>): DeviceDataEnvelope;
|
|
278
|
+
internalBinaryRead(reader: IBinaryReader, length: number, options: BinaryReadOptions, target?: DeviceDataEnvelope): DeviceDataEnvelope;
|
|
279
|
+
internalBinaryWrite(message: DeviceDataEnvelope, writer: IBinaryWriter, options: BinaryWriteOptions): IBinaryWriter;
|
|
280
|
+
}
|
|
281
|
+
export declare const DeviceDataEnvelope: DeviceDataEnvelope$Type;
|
|
282
|
+
export {};
|