fossekall-interface 0.1.139 → 0.1.140

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-08 20:01:08. Do not edit manually!
2
+ // This file was generated by FRICC on 2026-07-09 20:14:19. 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;
@@ -64,13 +64,13 @@ export declare const sensors_pressure_Id: {
64
64
  readonly Count: 7;
65
65
  };
66
66
  export type sensors_pressure_Id = (typeof sensors_pressure_Id)[keyof typeof sensors_pressure_Id];
67
- export declare const sensors_level_Id: {
67
+ export declare const sensors_capacitance_Id: {
68
68
  readonly Main: 0;
69
69
  readonly LiquidRef: 1;
70
70
  readonly GasRef: 2;
71
71
  readonly Count: 3;
72
72
  };
73
- export type sensors_level_Id = (typeof sensors_level_Id)[keyof typeof sensors_level_Id];
73
+ export type sensors_capacitance_Id = (typeof sensors_capacitance_Id)[keyof typeof sensors_capacitance_Id];
74
74
  export declare const actuators_servo_Id: {
75
75
  readonly MainFuel: 0;
76
76
  readonly MainOx: 1;
@@ -124,6 +124,17 @@ export declare const proto_can_thermocouple_Id: {
124
124
  readonly Count: 8;
125
125
  };
126
126
  export type proto_can_thermocouple_Id = (typeof proto_can_thermocouple_Id)[keyof typeof proto_can_thermocouple_Id];
127
+ export declare const sensors_bms_ChargingStatus: {
128
+ readonly NotCharging: 0;
129
+ readonly TrickleCharge: 1;
130
+ readonly PreCharge: 2;
131
+ readonly FastCharge: 3;
132
+ readonly TaperCharge: 4;
133
+ readonly Reserved: 5;
134
+ readonly TopOffTimerCharge: 6;
135
+ readonly ChargeTermination: 7;
136
+ };
137
+ export type sensors_bms_ChargingStatus = (typeof sensors_bms_ChargingStatus)[keyof typeof sensors_bms_ChargingStatus];
127
138
  export declare const HeartBeatTelemetry: import("typed-binary").ObjectSchema<{
128
139
  message: import("typed-binary").ArraySchema<import("typed-binary").Int8Schema>;
129
140
  status_flags: import("typed-binary").ByteSchema;
@@ -430,6 +441,102 @@ export declare const BatteryMonitorTelemetryPacket: import("typed-binary").Objec
430
441
  voltages: import("typed-binary").ArraySchema<import("typed-binary").Float32Schema>;
431
442
  }>;
432
443
  export type BatteryMonitorTelemetryPacket = bin.Parsed<typeof BatteryMonitorTelemetryPacket>;
444
+ export declare const sensors_bms_RailMeasurement: import("typed-binary").ObjectSchema<{
445
+ current: import("typed-binary").Float32Schema;
446
+ volts: import("typed-binary").Float32Schema;
447
+ shunt_voltage: import("typed-binary").Float32Schema;
448
+ power: import("typed-binary").Float32Schema;
449
+ }>;
450
+ export type sensors_bms_RailMeasurement = bin.Parsed<typeof sensors_bms_RailMeasurement>;
451
+ export declare const sensors_bms_RailData: import("typed-binary").ObjectSchema<{
452
+ vbat: import("typed-binary").ObjectSchema<{
453
+ current: import("typed-binary").Float32Schema;
454
+ volts: import("typed-binary").Float32Schema;
455
+ shunt_voltage: import("typed-binary").Float32Schema;
456
+ power: import("typed-binary").Float32Schema;
457
+ }>;
458
+ v_12: import("typed-binary").ObjectSchema<{
459
+ current: import("typed-binary").Float32Schema;
460
+ volts: import("typed-binary").Float32Schema;
461
+ shunt_voltage: import("typed-binary").Float32Schema;
462
+ power: import("typed-binary").Float32Schema;
463
+ }>;
464
+ v_24: import("typed-binary").ObjectSchema<{
465
+ current: import("typed-binary").Float32Schema;
466
+ volts: import("typed-binary").Float32Schema;
467
+ shunt_voltage: import("typed-binary").Float32Schema;
468
+ power: import("typed-binary").Float32Schema;
469
+ }>;
470
+ }>;
471
+ export type sensors_bms_RailData = bin.Parsed<typeof sensors_bms_RailData>;
472
+ export declare const sensors_bms_BatteryPackData: import("typed-binary").ObjectSchema<{
473
+ cell: import("typed-binary").ArraySchema<import("typed-binary").Float32Schema>;
474
+ voltage: import("typed-binary").Float32Schema;
475
+ current: import("typed-binary").Float32Schema;
476
+ die_temperature: import("typed-binary").Float32Schema;
477
+ balancing_mask: import("typed-binary").ByteSchema;
478
+ alert: import("typed-binary").BoolSchema;
479
+ comms_ok: import("typed-binary").BoolSchema;
480
+ }>;
481
+ export type sensors_bms_BatteryPackData = bin.Parsed<typeof sensors_bms_BatteryPackData>;
482
+ export declare const sensors_bms_ChargerData: import("typed-binary").ObjectSchema<{
483
+ vac: Float64Schema;
484
+ vbat: Float64Schema;
485
+ vsys: Float64Schema;
486
+ iac: Float64Schema;
487
+ ibat: Float64Schema;
488
+ temperature: Float64Schema;
489
+ charging: import("typed-binary").BoolSchema;
490
+ power_good: import("typed-binary").BoolSchema;
491
+ faults: import("typed-binary").ByteSchema;
492
+ state: import("typed-binary").Uint32Schema;
493
+ }>;
494
+ export type sensors_bms_ChargerData = bin.Parsed<typeof sensors_bms_ChargerData>;
495
+ export declare const BmsTelemetryPacket: import("typed-binary").ObjectSchema<{
496
+ timestamp_ms: import("typed-binary").Uint32Schema;
497
+ rail: import("typed-binary").ObjectSchema<{
498
+ vbat: import("typed-binary").ObjectSchema<{
499
+ current: import("typed-binary").Float32Schema;
500
+ volts: import("typed-binary").Float32Schema;
501
+ shunt_voltage: import("typed-binary").Float32Schema;
502
+ power: import("typed-binary").Float32Schema;
503
+ }>;
504
+ v_12: import("typed-binary").ObjectSchema<{
505
+ current: import("typed-binary").Float32Schema;
506
+ volts: import("typed-binary").Float32Schema;
507
+ shunt_voltage: import("typed-binary").Float32Schema;
508
+ power: import("typed-binary").Float32Schema;
509
+ }>;
510
+ v_24: import("typed-binary").ObjectSchema<{
511
+ current: import("typed-binary").Float32Schema;
512
+ volts: import("typed-binary").Float32Schema;
513
+ shunt_voltage: import("typed-binary").Float32Schema;
514
+ power: import("typed-binary").Float32Schema;
515
+ }>;
516
+ }>;
517
+ battery_pack: import("typed-binary").ObjectSchema<{
518
+ cell: import("typed-binary").ArraySchema<import("typed-binary").Float32Schema>;
519
+ voltage: import("typed-binary").Float32Schema;
520
+ current: import("typed-binary").Float32Schema;
521
+ die_temperature: import("typed-binary").Float32Schema;
522
+ balancing_mask: import("typed-binary").ByteSchema;
523
+ alert: import("typed-binary").BoolSchema;
524
+ comms_ok: import("typed-binary").BoolSchema;
525
+ }>;
526
+ charger: import("typed-binary").ObjectSchema<{
527
+ vac: Float64Schema;
528
+ vbat: Float64Schema;
529
+ vsys: Float64Schema;
530
+ iac: Float64Schema;
531
+ ibat: Float64Schema;
532
+ temperature: Float64Schema;
533
+ charging: import("typed-binary").BoolSchema;
534
+ power_good: import("typed-binary").BoolSchema;
535
+ faults: import("typed-binary").ByteSchema;
536
+ state: import("typed-binary").Uint32Schema;
537
+ }>;
538
+ }>;
539
+ export type BmsTelemetryPacket = bin.Parsed<typeof BmsTelemetryPacket>;
433
540
  export declare const spec: {
434
541
  HeartBeatTelemetry: {
435
542
  port: number;
@@ -818,6 +925,73 @@ export declare const spec: {
818
925
  }>;
819
926
  enums: {};
820
927
  };
928
+ BmsTelemetryPacket: {
929
+ port: number;
930
+ schema: import("typed-binary").ObjectSchema<{
931
+ timestamp_ms: import("typed-binary").Uint32Schema;
932
+ rail: import("typed-binary").ObjectSchema<{
933
+ vbat: import("typed-binary").ObjectSchema<{
934
+ current: import("typed-binary").Float32Schema;
935
+ volts: import("typed-binary").Float32Schema;
936
+ shunt_voltage: import("typed-binary").Float32Schema;
937
+ power: import("typed-binary").Float32Schema;
938
+ }>;
939
+ v_12: import("typed-binary").ObjectSchema<{
940
+ current: import("typed-binary").Float32Schema;
941
+ volts: import("typed-binary").Float32Schema;
942
+ shunt_voltage: import("typed-binary").Float32Schema;
943
+ power: import("typed-binary").Float32Schema;
944
+ }>;
945
+ v_24: import("typed-binary").ObjectSchema<{
946
+ current: import("typed-binary").Float32Schema;
947
+ volts: import("typed-binary").Float32Schema;
948
+ shunt_voltage: import("typed-binary").Float32Schema;
949
+ power: import("typed-binary").Float32Schema;
950
+ }>;
951
+ }>;
952
+ battery_pack: import("typed-binary").ObjectSchema<{
953
+ cell: import("typed-binary").ArraySchema<import("typed-binary").Float32Schema>;
954
+ voltage: import("typed-binary").Float32Schema;
955
+ current: import("typed-binary").Float32Schema;
956
+ die_temperature: import("typed-binary").Float32Schema;
957
+ balancing_mask: import("typed-binary").ByteSchema;
958
+ alert: import("typed-binary").BoolSchema;
959
+ comms_ok: import("typed-binary").BoolSchema;
960
+ }>;
961
+ charger: import("typed-binary").ObjectSchema<{
962
+ vac: Float64Schema;
963
+ vbat: Float64Schema;
964
+ vsys: Float64Schema;
965
+ iac: Float64Schema;
966
+ ibat: Float64Schema;
967
+ temperature: Float64Schema;
968
+ charging: import("typed-binary").BoolSchema;
969
+ power_good: import("typed-binary").BoolSchema;
970
+ faults: import("typed-binary").ByteSchema;
971
+ state: import("typed-binary").Uint32Schema;
972
+ }>;
973
+ }>;
974
+ enums: {
975
+ rail: {
976
+ vbat: {};
977
+ v_12: {};
978
+ v_24: {};
979
+ };
980
+ battery_pack: {};
981
+ charger: {
982
+ state: {
983
+ readonly NotCharging: 0;
984
+ readonly TrickleCharge: 1;
985
+ readonly PreCharge: 2;
986
+ readonly FastCharge: 3;
987
+ readonly TaperCharge: 4;
988
+ readonly Reserved: 5;
989
+ readonly TopOffTimerCharge: 6;
990
+ readonly ChargeTermination: 7;
991
+ };
992
+ };
993
+ };
994
+ };
821
995
  };
822
996
  export default spec;
823
997
  export type Spec = typeof spec;
@@ -1,5 +1,5 @@
1
1
  import bin, { Measurer, Schema } from 'typed-binary';
2
- // This file was generated by FRICC on 2026-07-08 20:01:11. Do not edit manually!
2
+ // This file was generated by FRICC on 2026-07-09 20:14:22. 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;
@@ -108,7 +108,7 @@ export const sensors_pressure_Id = {
108
108
  Chamber: 6,
109
109
  Count: 7,
110
110
  };
111
- export const sensors_level_Id = {
111
+ export const sensors_capacitance_Id = {
112
112
  Main: 0,
113
113
  LiquidRef: 1,
114
114
  GasRef: 2,
@@ -160,6 +160,16 @@ export const proto_can_thermocouple_Id = {
160
160
  ExtraNodeOne: 7,
161
161
  Count: 8,
162
162
  };
163
+ export const sensors_bms_ChargingStatus = {
164
+ NotCharging: 0,
165
+ TrickleCharge: 1,
166
+ PreCharge: 2,
167
+ FastCharge: 3,
168
+ TaperCharge: 4,
169
+ Reserved: 5,
170
+ TopOffTimerCharge: 6,
171
+ ChargeTermination: 7,
172
+ };
163
173
  export const HeartBeatTelemetry = bin.object({
164
174
  message: bin.arrayOf(bin.i8, 16), // char[16]
165
175
  status_flags: bin.u8, // unsigned char
@@ -217,7 +227,7 @@ export const sensors_capacitance_CapacitanceBatch = bin.object({
217
227
  samples: bin.arrayOf(sensors_capacitance_CapacitanceSample, 8), // sensors::capacitance::CapacitanceSample[8]
218
228
  });
219
229
  export const CapacitanceSensorPacket = bin.object({
220
- sensor_id: bin.u8, // sensors::level::Id
230
+ sensor_id: bin.u8, // sensors::capacitance::Id
221
231
  data: sensors_capacitance_CapacitanceBatch, // sensors::capacitance::CapacitanceBatch
222
232
  });
223
233
  export const sensors_capacitance_LevelBatch = bin.object({
@@ -320,6 +330,44 @@ export const BatteryMonitorTelemetryPacket = bin.object({
320
330
  timestamp_ms: bin.u32, // unsigned int
321
331
  voltages: bin.arrayOf(bin.f32, 2), // float[2]
322
332
  });
333
+ export const sensors_bms_RailMeasurement = bin.object({
334
+ current: bin.f32, // float
335
+ volts: bin.f32, // float
336
+ shunt_voltage: bin.f32, // float
337
+ power: bin.f32, // float
338
+ });
339
+ export const sensors_bms_RailData = bin.object({
340
+ vbat: sensors_bms_RailMeasurement, // sensors::bms::RailMeasurement
341
+ v_12: sensors_bms_RailMeasurement, // sensors::bms::RailMeasurement
342
+ v_24: sensors_bms_RailMeasurement, // sensors::bms::RailMeasurement
343
+ });
344
+ export const sensors_bms_BatteryPackData = bin.object({
345
+ cell: bin.arrayOf(bin.f32, 6), // float[6]
346
+ voltage: bin.f32, // float
347
+ current: bin.f32, // float
348
+ die_temperature: bin.f32, // float
349
+ balancing_mask: bin.u8, // unsigned char
350
+ alert: bin.bool, // bool
351
+ comms_ok: bin.bool, // bool
352
+ });
353
+ export const sensors_bms_ChargerData = bin.object({
354
+ vac: f64, // double
355
+ vbat: f64, // double
356
+ vsys: f64, // double
357
+ iac: f64, // double
358
+ ibat: f64, // double
359
+ temperature: f64, // double
360
+ charging: bin.bool, // bool
361
+ power_good: bin.bool, // bool
362
+ faults: bin.u8, // unsigned char
363
+ state: bin.u32, // sensors::bms::ChargingStatus
364
+ });
365
+ export const BmsTelemetryPacket = bin.object({
366
+ timestamp_ms: bin.u32, // unsigned int
367
+ rail: sensors_bms_RailData, // sensors::bms::RailData
368
+ battery_pack: sensors_bms_BatteryPackData, // sensors::bms::BatteryPackData
369
+ charger: sensors_bms_ChargerData, // sensors::bms::ChargerData
370
+ });
323
371
  export const spec = {
324
372
  HeartBeatTelemetry: {
325
373
  port: 57005,
@@ -364,7 +412,7 @@ export const spec = {
364
412
  packed: null,
365
413
  schema: CapacitanceSensorPacket,
366
414
  enums: {
367
- sensor_id: sensors_level_Id,
415
+ sensor_id: sensors_capacitance_Id,
368
416
  data: {},
369
417
  },
370
418
  },
@@ -438,5 +486,20 @@ export const spec = {
438
486
  schema: BatteryMonitorTelemetryPacket,
439
487
  enums: {},
440
488
  },
489
+ BmsTelemetryPacket: {
490
+ port: 5012,
491
+ schema: BmsTelemetryPacket,
492
+ enums: {
493
+ rail: {
494
+ vbat: {},
495
+ v_12: {},
496
+ v_24: {},
497
+ },
498
+ battery_pack: {},
499
+ charger: {
500
+ state: sensors_bms_ChargingStatus,
501
+ },
502
+ },
503
+ },
441
504
  };
442
505
  export default spec;
@@ -245,7 +245,7 @@
245
245
  {
246
246
  "name": "sensor_id",
247
247
  "kind": "enum",
248
- "type": "sensors::level::Id",
248
+ "type": "sensors::capacitance::Id",
249
249
  "format_string": "<B"
250
250
  },
251
251
  {
@@ -870,6 +870,248 @@
870
870
  }
871
871
  ],
872
872
  "format_string": "<Iff"
873
+ },
874
+ "BmsTelemetryPacket": {
875
+ "port": 5012,
876
+ "kind": "struct",
877
+ "type": "BmsTelemetryPacket",
878
+ "fields": [
879
+ {
880
+ "name": "timestamp_ms",
881
+ "kind": "primitive",
882
+ "type": "unsigned int",
883
+ "format_string": "<I"
884
+ },
885
+ {
886
+ "name": "rail",
887
+ "kind": "struct",
888
+ "type": "sensors::bms::RailData",
889
+ "fields": [
890
+ {
891
+ "name": "vbat",
892
+ "kind": "struct",
893
+ "type": "sensors::bms::RailMeasurement",
894
+ "fields": [
895
+ {
896
+ "name": "current",
897
+ "kind": "primitive",
898
+ "type": "float",
899
+ "format_string": "<f"
900
+ },
901
+ {
902
+ "name": "volts",
903
+ "kind": "primitive",
904
+ "type": "float",
905
+ "format_string": "<f"
906
+ },
907
+ {
908
+ "name": "shunt_voltage",
909
+ "kind": "primitive",
910
+ "type": "float",
911
+ "format_string": "<f"
912
+ },
913
+ {
914
+ "name": "power",
915
+ "kind": "primitive",
916
+ "type": "float",
917
+ "format_string": "<f"
918
+ }
919
+ ],
920
+ "format_string": "<ffff"
921
+ },
922
+ {
923
+ "name": "v_12",
924
+ "kind": "struct",
925
+ "type": "sensors::bms::RailMeasurement",
926
+ "fields": [
927
+ {
928
+ "name": "current",
929
+ "kind": "primitive",
930
+ "type": "float",
931
+ "format_string": "<f"
932
+ },
933
+ {
934
+ "name": "volts",
935
+ "kind": "primitive",
936
+ "type": "float",
937
+ "format_string": "<f"
938
+ },
939
+ {
940
+ "name": "shunt_voltage",
941
+ "kind": "primitive",
942
+ "type": "float",
943
+ "format_string": "<f"
944
+ },
945
+ {
946
+ "name": "power",
947
+ "kind": "primitive",
948
+ "type": "float",
949
+ "format_string": "<f"
950
+ }
951
+ ],
952
+ "format_string": "<ffff"
953
+ },
954
+ {
955
+ "name": "v_24",
956
+ "kind": "struct",
957
+ "type": "sensors::bms::RailMeasurement",
958
+ "fields": [
959
+ {
960
+ "name": "current",
961
+ "kind": "primitive",
962
+ "type": "float",
963
+ "format_string": "<f"
964
+ },
965
+ {
966
+ "name": "volts",
967
+ "kind": "primitive",
968
+ "type": "float",
969
+ "format_string": "<f"
970
+ },
971
+ {
972
+ "name": "shunt_voltage",
973
+ "kind": "primitive",
974
+ "type": "float",
975
+ "format_string": "<f"
976
+ },
977
+ {
978
+ "name": "power",
979
+ "kind": "primitive",
980
+ "type": "float",
981
+ "format_string": "<f"
982
+ }
983
+ ],
984
+ "format_string": "<ffff"
985
+ }
986
+ ],
987
+ "format_string": "<ffffffffffff"
988
+ },
989
+ {
990
+ "name": "battery_pack",
991
+ "kind": "struct",
992
+ "type": "sensors::bms::BatteryPackData",
993
+ "fields": [
994
+ {
995
+ "name": "cell",
996
+ "kind": "array",
997
+ "type": "float[6]",
998
+ "element": {
999
+ "kind": "primitive",
1000
+ "type": "float",
1001
+ "format_string": "<f"
1002
+ },
1003
+ "count": 6,
1004
+ "format_string": "<ffffff"
1005
+ },
1006
+ {
1007
+ "name": "voltage",
1008
+ "kind": "primitive",
1009
+ "type": "float",
1010
+ "format_string": "<f"
1011
+ },
1012
+ {
1013
+ "name": "current",
1014
+ "kind": "primitive",
1015
+ "type": "float",
1016
+ "format_string": "<f"
1017
+ },
1018
+ {
1019
+ "name": "die_temperature",
1020
+ "kind": "primitive",
1021
+ "type": "float",
1022
+ "format_string": "<f"
1023
+ },
1024
+ {
1025
+ "name": "balancing_mask",
1026
+ "kind": "primitive",
1027
+ "type": "unsigned char",
1028
+ "format_string": "<B"
1029
+ },
1030
+ {
1031
+ "name": "alert",
1032
+ "kind": "primitive",
1033
+ "type": "bool",
1034
+ "format_string": "<?"
1035
+ },
1036
+ {
1037
+ "name": "comms_ok",
1038
+ "kind": "primitive",
1039
+ "type": "bool",
1040
+ "format_string": "<?"
1041
+ }
1042
+ ],
1043
+ "format_string": "<fffffffffB??"
1044
+ },
1045
+ {
1046
+ "name": "charger",
1047
+ "kind": "struct",
1048
+ "type": "sensors::bms::ChargerData",
1049
+ "fields": [
1050
+ {
1051
+ "name": "vac",
1052
+ "kind": "primitive",
1053
+ "type": "double",
1054
+ "format_string": "<d"
1055
+ },
1056
+ {
1057
+ "name": "vbat",
1058
+ "kind": "primitive",
1059
+ "type": "double",
1060
+ "format_string": "<d"
1061
+ },
1062
+ {
1063
+ "name": "vsys",
1064
+ "kind": "primitive",
1065
+ "type": "double",
1066
+ "format_string": "<d"
1067
+ },
1068
+ {
1069
+ "name": "iac",
1070
+ "kind": "primitive",
1071
+ "type": "double",
1072
+ "format_string": "<d"
1073
+ },
1074
+ {
1075
+ "name": "ibat",
1076
+ "kind": "primitive",
1077
+ "type": "double",
1078
+ "format_string": "<d"
1079
+ },
1080
+ {
1081
+ "name": "temperature",
1082
+ "kind": "primitive",
1083
+ "type": "double",
1084
+ "format_string": "<d"
1085
+ },
1086
+ {
1087
+ "name": "charging",
1088
+ "kind": "primitive",
1089
+ "type": "bool",
1090
+ "format_string": "<?"
1091
+ },
1092
+ {
1093
+ "name": "power_good",
1094
+ "kind": "primitive",
1095
+ "type": "bool",
1096
+ "format_string": "<?"
1097
+ },
1098
+ {
1099
+ "name": "faults",
1100
+ "kind": "primitive",
1101
+ "type": "unsigned char",
1102
+ "format_string": "<B"
1103
+ },
1104
+ {
1105
+ "name": "state",
1106
+ "kind": "enum",
1107
+ "type": "sensors::bms::ChargingStatus",
1108
+ "format_string": "<I"
1109
+ }
1110
+ ],
1111
+ "format_string": "<dddddd??BI"
1112
+ }
1113
+ ],
1114
+ "format_string": "<IfffffffffffffffffffffB??dddddd??BI"
873
1115
  }
874
1116
  },
875
1117
  "enums": {
@@ -921,7 +1163,7 @@
921
1163
  "Chamber": 6,
922
1164
  "Count": 7
923
1165
  },
924
- "sensors::level::Id": {
1166
+ "sensors::capacitance::Id": {
925
1167
  "Main": 0,
926
1168
  "LiquidRef": 1,
927
1169
  "GasRef": 2,
@@ -972,6 +1214,16 @@
972
1214
  "Chamber2": 6,
973
1215
  "ExtraNodeOne": 7,
974
1216
  "Count": 8
1217
+ },
1218
+ "sensors::bms::ChargingStatus": {
1219
+ "NotCharging": 0,
1220
+ "TrickleCharge": 1,
1221
+ "PreCharge": 2,
1222
+ "FastCharge": 3,
1223
+ "TaperCharge": 4,
1224
+ "Reserved": 5,
1225
+ "TopOffTimerCharge": 6,
1226
+ "ChargeTermination": 7
975
1227
  }
976
1228
  }
977
1229
  }
@@ -1,36 +1,3 @@
1
- import bin from 'typed-binary';
2
- export declare const Commands_StateCommands: {
3
- readonly IDLE: 0;
4
- readonly OPEN_FILLING: 1;
5
- readonly OPEN_RECOVERY_FILL: 2;
6
- readonly EXPECT_LIFTOFF: 3;
7
- readonly OPEN_FLOTATION_FILL: 4;
8
- readonly SEPERATION: 5;
9
- readonly FLOTATION: 6;
10
- };
11
- export type Commands_StateCommands = (typeof Commands_StateCommands)[keyof typeof Commands_StateCommands];
12
- export declare const Commands_FSMStateCommand: import("typed-binary").ObjectSchema<{
13
- command: import("typed-binary").ByteSchema;
14
- }>;
15
- export type Commands_FSMStateCommand = bin.Parsed<typeof Commands_FSMStateCommand>;
16
- export declare const spec: {
17
- Commands_FSMStateCommand: {
18
- id: number;
19
- schema: import("typed-binary").ObjectSchema<{
20
- command: import("typed-binary").ByteSchema;
21
- }>;
22
- enums: {
23
- command: {
24
- readonly IDLE: 0;
25
- readonly OPEN_FILLING: 1;
26
- readonly OPEN_RECOVERY_FILL: 2;
27
- readonly EXPECT_LIFTOFF: 3;
28
- readonly OPEN_FLOTATION_FILL: 4;
29
- readonly SEPERATION: 5;
30
- readonly FLOTATION: 6;
31
- };
32
- };
33
- };
34
- };
1
+ export declare const spec: {};
35
2
  export default spec;
36
3
  export type Spec = typeof spec;
@@ -1,5 +1,5 @@
1
- import bin, { Measurer, Schema } from 'typed-binary';
2
- // This file was generated by FRICC on 2026-07-04 14:47:16. Do not edit manually!
1
+ import { Measurer, Schema } from 'typed-binary';
2
+ // This file was generated by FRICC on 2026-07-08 21:58:00. 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;
@@ -60,25 +60,5 @@ class Float64Schema extends Schema {
60
60
  const u64 = new UInt64Schema();
61
61
  const i64 = new Int64Schema();
62
62
  const f64 = new Float64Schema();
63
- export const Commands_StateCommands = {
64
- IDLE: 0,
65
- OPEN_FILLING: 1,
66
- OPEN_RECOVERY_FILL: 2,
67
- EXPECT_LIFTOFF: 3,
68
- OPEN_FLOTATION_FILL: 4,
69
- SEPERATION: 5,
70
- FLOTATION: 6,
71
- };
72
- export const Commands_FSMStateCommand = bin.object({
73
- command: bin.u8, // Commands::StateCommands
74
- });
75
- export const spec = {
76
- Commands_FSMStateCommand: {
77
- id: 16,
78
- schema: Commands_FSMStateCommand,
79
- enums: {
80
- command: Commands_StateCommands,
81
- },
82
- },
83
- };
63
+ export const spec = {};
84
64
  export default spec;
@@ -1,5 +1,5 @@
1
1
  import bin, { Measurer, Schema } from 'typed-binary';
2
- // This file was generated by FRICC on 2026-07-04 12:56:39. Do not edit manually!
2
+ // This file was generated by FRICC on 2026-07-08 21:58:02. 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;
@@ -1,5 +1,5 @@
1
1
  import bin, { Measurer, Schema } from 'typed-binary';
2
- // This file was generated by FRICC on 2026-07-06 14:54:44. Do not edit manually!
2
+ // This file was generated by FRICC on 2026-07-09 16:43:49. 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;
@@ -30,6 +30,7 @@ export type Event = (typeof Event)[keyof typeof Event];
30
30
  export declare const fsm_AbortReason: {
31
31
  readonly None: 0;
32
32
  readonly Manual: 1;
33
+ readonly ConnectionLost: 2;
33
34
  };
34
35
  export type fsm_AbortReason = (typeof fsm_AbortReason)[keyof typeof fsm_AbortReason];
35
36
  export declare const sensors_pressure_Id: {
@@ -239,6 +240,7 @@ export declare const spec: {
239
240
  last_abort_reason: {
240
241
  readonly None: 0;
241
242
  readonly Manual: 1;
243
+ readonly ConnectionLost: 2;
242
244
  };
243
245
  };
244
246
  };
@@ -1,5 +1,5 @@
1
1
  import bin, { Measurer, Schema } from 'typed-binary';
2
- // This file was generated by FRICC on 2026-07-06 14:54:46. Do not edit manually!
2
+ // This file was generated by FRICC on 2026-07-09 16:43:52. 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;
@@ -83,6 +83,7 @@ export const Event = {
83
83
  export const fsm_AbortReason = {
84
84
  None: 0,
85
85
  Manual: 1,
86
+ ConnectionLost: 2,
86
87
  };
87
88
  export const sensors_pressure_Id = {
88
89
  OxSupply: 0,
@@ -335,7 +335,8 @@
335
335
  },
336
336
  "fsm::AbortReason": {
337
337
  "None": 0,
338
- "Manual": 1
338
+ "Manual": 1,
339
+ "ConnectionLost": 2
339
340
  },
340
341
  "sensors::pressure::Id": {
341
342
  "OxSupply": 0,
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "fossekall-interface",
3
- "version": "0.1.139",
3
+ "version": "0.1.140",
4
4
  "description": "API contracts between client and server (rocket and GUI)",
5
5
  "license": "ISC",
6
6
  "author": "Propulse",