fossekall-interface 0.1.140 → 0.1.142
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.
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import bin, { Measurer, Schema } from 'typed-binary';
|
|
2
|
-
// This file was generated by FRICC on 2026-07-09
|
|
2
|
+
// This file was generated by FRICC on 2026-07-09 22:41:42. Do not edit manually!
|
|
3
3
|
// The current version of typed-binary does not support 64-bit primitives.
|
|
4
4
|
// So for we'll implement our own schemas. :)
|
|
5
5
|
const __littleEndian = true;
|
|
@@ -117,9 +117,7 @@ export declare const proto_can_thermocouple_Id: {
|
|
|
117
117
|
readonly OxTankTop: 1;
|
|
118
118
|
readonly FuelTank: 2;
|
|
119
119
|
readonly OxInjector: 3;
|
|
120
|
-
readonly Chamber1: 4;
|
|
121
120
|
readonly FuelInjector: 5;
|
|
122
|
-
readonly Chamber2: 6;
|
|
123
121
|
readonly ExtraNodeOne: 7;
|
|
124
122
|
readonly Count: 8;
|
|
125
123
|
};
|
|
@@ -489,7 +487,7 @@ export declare const sensors_bms_ChargerData: import("typed-binary").ObjectSchem
|
|
|
489
487
|
charging: import("typed-binary").BoolSchema;
|
|
490
488
|
power_good: import("typed-binary").BoolSchema;
|
|
491
489
|
faults: import("typed-binary").ByteSchema;
|
|
492
|
-
state: import("typed-binary").
|
|
490
|
+
state: import("typed-binary").ByteSchema;
|
|
493
491
|
}>;
|
|
494
492
|
export type sensors_bms_ChargerData = bin.Parsed<typeof sensors_bms_ChargerData>;
|
|
495
493
|
export declare const BmsTelemetryPacket: import("typed-binary").ObjectSchema<{
|
|
@@ -533,7 +531,7 @@ export declare const BmsTelemetryPacket: import("typed-binary").ObjectSchema<{
|
|
|
533
531
|
charging: import("typed-binary").BoolSchema;
|
|
534
532
|
power_good: import("typed-binary").BoolSchema;
|
|
535
533
|
faults: import("typed-binary").ByteSchema;
|
|
536
|
-
state: import("typed-binary").
|
|
534
|
+
state: import("typed-binary").ByteSchema;
|
|
537
535
|
}>;
|
|
538
536
|
}>;
|
|
539
537
|
export type BmsTelemetryPacket = bin.Parsed<typeof BmsTelemetryPacket>;
|
|
@@ -844,9 +842,7 @@ export declare const spec: {
|
|
|
844
842
|
readonly OxTankTop: 1;
|
|
845
843
|
readonly FuelTank: 2;
|
|
846
844
|
readonly OxInjector: 3;
|
|
847
|
-
readonly Chamber1: 4;
|
|
848
845
|
readonly FuelInjector: 5;
|
|
849
|
-
readonly Chamber2: 6;
|
|
850
846
|
readonly ExtraNodeOne: 7;
|
|
851
847
|
readonly Count: 8;
|
|
852
848
|
};
|
|
@@ -856,9 +852,7 @@ export declare const spec: {
|
|
|
856
852
|
readonly OxTankTop: 1;
|
|
857
853
|
readonly FuelTank: 2;
|
|
858
854
|
readonly OxInjector: 3;
|
|
859
|
-
readonly Chamber1: 4;
|
|
860
855
|
readonly FuelInjector: 5;
|
|
861
|
-
readonly Chamber2: 6;
|
|
862
856
|
readonly ExtraNodeOne: 7;
|
|
863
857
|
readonly Count: 8;
|
|
864
858
|
};
|
|
@@ -968,7 +962,7 @@ export declare const spec: {
|
|
|
968
962
|
charging: import("typed-binary").BoolSchema;
|
|
969
963
|
power_good: import("typed-binary").BoolSchema;
|
|
970
964
|
faults: import("typed-binary").ByteSchema;
|
|
971
|
-
state: import("typed-binary").
|
|
965
|
+
state: import("typed-binary").ByteSchema;
|
|
972
966
|
}>;
|
|
973
967
|
}>;
|
|
974
968
|
enums: {
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import bin, { Measurer, Schema } from 'typed-binary';
|
|
2
|
-
// This file was generated by FRICC on 2026-07-09
|
|
2
|
+
// This file was generated by FRICC on 2026-07-09 22:41:45. Do not edit manually!
|
|
3
3
|
// The current version of typed-binary does not support 64-bit primitives.
|
|
4
4
|
// So for we'll implement our own schemas. :)
|
|
5
5
|
const __littleEndian = true;
|
|
@@ -154,9 +154,7 @@ export const proto_can_thermocouple_Id = {
|
|
|
154
154
|
OxTankTop: 1,
|
|
155
155
|
FuelTank: 2,
|
|
156
156
|
OxInjector: 3,
|
|
157
|
-
Chamber1: 4,
|
|
158
157
|
FuelInjector: 5,
|
|
159
|
-
Chamber2: 6,
|
|
160
158
|
ExtraNodeOne: 7,
|
|
161
159
|
Count: 8,
|
|
162
160
|
};
|
|
@@ -360,7 +358,7 @@ export const sensors_bms_ChargerData = bin.object({
|
|
|
360
358
|
charging: bin.bool, // bool
|
|
361
359
|
power_good: bin.bool, // bool
|
|
362
360
|
faults: bin.u8, // unsigned char
|
|
363
|
-
state: bin.
|
|
361
|
+
state: bin.u8, // sensors::bms::ChargingStatus
|
|
364
362
|
});
|
|
365
363
|
export const BmsTelemetryPacket = bin.object({
|
|
366
364
|
timestamp_ms: bin.u32, // unsigned int
|
|
@@ -1105,13 +1105,13 @@
|
|
|
1105
1105
|
"name": "state",
|
|
1106
1106
|
"kind": "enum",
|
|
1107
1107
|
"type": "sensors::bms::ChargingStatus",
|
|
1108
|
-
"format_string": "<
|
|
1108
|
+
"format_string": "<B"
|
|
1109
1109
|
}
|
|
1110
1110
|
],
|
|
1111
|
-
"format_string": "<dddddd??
|
|
1111
|
+
"format_string": "<dddddd??BB"
|
|
1112
1112
|
}
|
|
1113
1113
|
],
|
|
1114
|
-
"format_string": "<IfffffffffffffffffffffB??dddddd??
|
|
1114
|
+
"format_string": "<IfffffffffffffffffffffB??dddddd??BB"
|
|
1115
1115
|
}
|
|
1116
1116
|
},
|
|
1117
1117
|
"enums": {
|
|
@@ -1209,9 +1209,7 @@
|
|
|
1209
1209
|
"OxTankTop": 1,
|
|
1210
1210
|
"FuelTank": 2,
|
|
1211
1211
|
"OxInjector": 3,
|
|
1212
|
-
"Chamber1": 4,
|
|
1213
1212
|
"FuelInjector": 5,
|
|
1214
|
-
"Chamber2": 6,
|
|
1215
1213
|
"ExtraNodeOne": 7,
|
|
1216
1214
|
"Count": 8
|
|
1217
1215
|
},
|