-
Notifications
You must be signed in to change notification settings - Fork 5
/
Copy pathCommandDocs.txt
2228 lines (1670 loc) · 112 KB
/
CommandDocs.txt
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
287
288
289
290
291
292
293
294
295
296
297
298
299
300
301
302
303
304
305
306
307
308
309
310
311
312
313
314
315
316
317
318
319
320
321
322
323
324
325
326
327
328
329
330
331
332
333
334
335
336
337
338
339
340
341
342
343
344
345
346
347
348
349
350
351
352
353
354
355
356
357
358
359
360
361
362
363
364
365
366
367
368
369
370
371
372
373
374
375
376
377
378
379
380
381
382
383
384
385
386
387
388
389
390
391
392
393
394
395
396
397
398
399
400
401
402
403
404
405
406
407
408
409
410
411
412
413
414
415
416
417
418
419
420
421
422
423
424
425
426
427
428
429
430
431
432
433
434
435
436
437
438
439
440
441
442
443
444
445
446
447
448
449
450
451
452
453
454
455
456
457
458
459
460
461
462
463
464
465
466
467
468
469
470
471
472
473
474
475
476
477
478
479
480
481
482
483
484
485
486
487
488
489
490
491
492
493
494
495
496
497
498
499
500
501
502
503
504
505
506
507
508
509
510
511
512
513
514
515
516
517
518
519
520
521
522
523
524
525
526
527
528
529
530
531
532
533
534
535
536
537
538
539
540
541
542
543
544
545
546
547
548
549
550
551
552
553
554
555
556
557
558
559
560
561
562
563
564
565
566
567
568
569
570
571
572
573
574
575
576
577
578
579
580
581
582
583
584
585
586
587
588
589
590
591
592
593
594
595
596
597
598
599
600
601
602
603
604
605
606
607
608
609
610
611
612
613
614
615
616
617
618
619
620
621
622
623
624
625
626
627
628
629
630
631
632
633
634
635
636
637
638
639
640
641
642
643
644
645
646
647
648
649
650
651
652
653
654
655
656
657
658
659
660
661
662
663
664
665
666
667
668
669
670
671
672
673
674
675
676
677
678
679
680
681
682
683
684
685
686
687
688
689
690
691
692
693
694
695
696
697
698
699
700
701
702
703
704
705
706
707
708
709
710
711
712
713
714
715
716
717
718
719
720
721
722
723
724
725
726
727
728
729
730
731
732
733
734
735
736
737
738
739
740
741
742
743
744
745
746
747
748
749
750
751
752
753
754
755
756
757
758
759
760
761
762
763
764
765
766
767
768
769
770
771
772
773
774
775
776
777
778
779
780
781
782
783
784
785
786
787
788
789
790
791
792
793
794
795
796
797
798
799
800
801
802
803
804
805
806
807
808
809
810
811
812
813
814
815
816
817
818
819
820
821
822
823
824
825
826
827
828
829
830
831
832
833
834
835
836
837
838
839
840
841
842
843
844
845
846
847
848
849
850
851
852
853
854
855
856
857
858
859
860
861
862
863
864
865
866
867
868
869
870
871
872
873
874
875
876
877
878
879
880
881
882
883
884
885
886
887
888
889
890
891
892
893
894
895
896
897
898
899
900
901
902
903
904
905
906
907
908
909
910
911
912
913
914
915
916
917
918
919
920
921
922
923
924
925
926
927
928
929
930
931
932
933
934
935
936
937
938
939
940
941
942
943
944
945
946
947
948
949
950
951
952
953
954
955
956
957
958
959
960
961
962
963
964
965
966
967
968
969
970
971
972
973
974
975
976
977
978
979
980
981
982
983
984
985
986
987
988
989
990
991
992
993
994
995
996
997
998
999
1000
-- Ex-Alta 2 Ground Station Commands --
Note: arguments and return types are given as numpy types
CSP.PING:
About: Do a CSP ping
Supports: EPS, OBC
Arguments: None
return values: {'err': '<b'}
port: 1 subport: 0
SCHEDULER.SET_SCHEDULE:
About: Returns 0 and number of cmds left in the schedule on success. Refer for schedule.h for calloc error code. Refer to rederrno.h for reliance edge error codes
Supports: OBC
Arguments: None
return values: {'err': '>b', 'count': '>b'}
port: 25 subport: 0
SCHEDULER.DELETE_SCHEDULE:
About: Returns 0 on success. Refer for schedule.h for calloc error code. Refer to rederrno.h for reliance edge error codes
Supports: OBC
Arguments: None
return values: {'err': '>b', 'red_errno': '>b'}
port: 25 subport: 3
SCHEDULER.GET_SCHEDULE:
About: Returns 0 and number of cmds left in the schedule on success. Refer for schedule.h for calloc error code. Refer to rederrno.h for reliance edge error codes
Supports: OBC
Arguments: None
return values: {'err': '>b', 'count': '>b', 'cmds': 'var'}
port: 25 subport: 1
SET_PIPE.UHF_GS_PIPE:
About: Testing function to put an EndurSat radio being used as the ground station radio into PIPE mode
Supports: OBC
Arguments: None
return values: {'err': '>b'}
port: 0 subport: 0
TIME_MANAGEMENT.GET_TIME:
About: Get the current unix time on the OBC
Supports: OBC
Arguments: None
return values: {'err': '>b', 'timestamp': '>u4'}
port: 8 subport: 10
TIME_MANAGEMENT.SET_TIME:
About: Set the current unix time on the OBC. Set parameter to 0 to use local unix time
Supports: OBC
Arguments: {'Time': '>u4'}
return values: {'err': '>b'}
port: 8 subport: 11
EPS_FIRMWARE.START:
About: None
Supports: EPS
Arguments: {'ImageType': '<u1', 'TargetMcuUid0': '<u4', 'TargetMcuUid1': '<u4', 'TargetMcuUid2': '<u4', 'ImageSize': '<u4', 'fromGoldenStorage': '<b'}
return values: {'err': '>b'}
port: 11 subport: 0
EPS_FIRMWARE.START_FROM_GOLDEN:
About: None
Supports: EPS
Arguments: {'ImageType': '<b'}
return values: {'err': '>b'}
port: 11 subport: 1
EPS_FIRMWARE.ABORT:
About: None
Supports: EPS
Arguments: None
return values: {'err': '>b'}
port: 11 subport: 2
EPS_FIRMWARE.INSTALL:
About: None
Supports: EPS
Arguments: None
return values: {'err': '>b'}
port: 11 subport: 3
EPS_FIRMWARE.GET_SYSTEM_INFO:
About: None
Supports: EPS
Arguments: None
return values: {'err': '<b', 'imageType': '<b', 'mcuUid0': '<u4', 'mcuUid1': '<u4', 'mcuUid2': '<u4', 'versionOfBootloaderL1Major': '<u2', 'versionOfBootloaderL1Minor': '<u2', 'versionOfBootloaderL1Patch': '<u2', 'versionOfBootloaderL2Major': '<u2', 'versionOfBootloaderL2Minor': '<u2', 'versionOfBootloaderL2Patch': '<u2', 'versionOfApplicationL1Major': '<u2', 'versionOfApplicationL1Minor': '<u2', 'versionOfApplicationPatch': '<u2', 'repNameBL1': 'V32', 'gitHashBL1': 'V20', 'repNameBL2': 'V32', 'gitHashBL2': 'V20', 'repNameAPP': 'V32', 'gitHashAPP': 'V20'}
port: 11 subport: 4
EPS_FIRMWARE.GET_CURRENT_STATE:
About: None
Supports: EPS
Arguments: None
return values: {'err': '<b', 'state': '<b'}
port: 11 subport: 5
EPS_FIRMWARE.GET_CURRENT_UPDATE_DESCRIPTOR:
About: None
Supports: EPS
Arguments: None
return values: {'err': '<b', 'imageType': '<b', 'TargetMcuUid0': '<u4', 'TargetMcuUid1': '<u4', 'TargetMcuUid2': '<u4', 'ImageSize': '<u4', 'fromGoldenStorage': '<b'}
port: 11 subport: 6
EPS_FIRMWARE.GET_GOLDEN_UPDATE_DESCRIPTOR:
About: None
Supports: EPS
Arguments: None
return values: {'err': '<b', 'imageType': '<b', 'TargetMcuUid0': '<u4', 'TargetMcuUid1': '<u4', 'TargetMcuUid2': '<u4', 'ImageSize': '<u4', 'fromGoldenStorage': '<b'}
port: 11 subport: 7
EPS_FIRMWARE.VALIDATE_SIGNATURE:
About: None
Supports: EPS
Arguments: {'imageType': '<b'}
return values: {'err': '<b', 'size': '<u4', 'crc': '<u4'}
port: 11 subport: 8
EPS_FIRMWARE.ABORT_BOOT:
About: None
Supports: EPS
Arguments: None
return values: {'err': '>b'}
port: 11 subport: 9
EPS_FIRMWARE.GET_GOLDEN_INFO:
About: None
Supports: EPS
Arguments: None
return values: {'err': '<b', 'imageType': '<b', 'versionMajor': '<u2', 'versionMinor': '<u2', 'versionPatch': '<u2', 'crc': '<u4', 'repName': 'V32', 'gitHash': 'V20'}
port: 11 subport: 10
EPS_FIRMWARE.SET_SIGNATURE_CHECKING:
About: None
Supports: EPS
Arguments: {'enable': '<b', 'magicKey': '<u4'}
return values: {'err': '<b'}
port: 11 subport: 11
GENERAL.REBOOT:
About: None
Supports: OBC
Arguments: {'Mode': '>B'}
return values: {'err': '>b'}
port: 11 subport: 0
GENERAL.DEPLOY_DEPLOYABLES:
About: Trigger burnwire. DFGM=0, UHF_P=1, UHF_Z=2, UHF_S=3, UHF_N=4. Solar panels: Port=5, Payload=6, Starboard=7. Returns instantaneous current consumption
Supports: OBC
Arguments: {'Wire': '>B'}
return values: {'err': '>b'}
port: 11 subport: 1
GENERAL.GET_SWITCH_STATUS:
About: Query the status of all deployment switches. Returns 1 = Deployed, 0 = Undeployed
Supports: OBC
Arguments: None
return values: {'err': '>b', 'switch_DFGM': '>b', 'switch_UHF_P': '>b', 'switch_UHF_Z': '>b', 'switch_UHF_S': '>b', 'switch_UHF_N': '>b', 'switch_Port': '>b', 'switch_Payload': '>b', 'switch_Starboard': '>b'}
port: 11 subport: 2
GENERAL.GET_UHF_WATCHDOG_TIMEOUT:
About: Get the period (in ticks) of the UHF watchdog timer on the OBC
Supports: OBC
Arguments: None
return values: {'err': '>b', 'timeout_ms': '>u4'}
port: 11 subport: 3
GENERAL.SET_UHF_WATCHDOG_TIMEOUT:
About: Set the period (in ms) of the UHF watchdog timer on the OBC
Supports: OBC
Arguments: {'Period': '>u4'}
return values: {'err': '>b'}
port: 11 subport: 4
GENERAL.GET_SBAND_WATCHDOG_TIMEOUT:
About: Get the period (in ticks) of the S-band watchdog timer on the OBC
Supports: OBC
Arguments: None
return values: {'err': '>b', 'timeout_ms': '>u4'}
port: 11 subport: 5
GENERAL.SET_SBAND_WATCHDOG_TIMEOUT:
About: Set the period (in ms) of the S-band watchdog timer on the OBC
Supports: OBC
Arguments: {'Period': '>u4'}
return values: {'err': '>b'}
port: 11 subport: 6
GENERAL.GET_CHARON_WATCHDOG_TIMEOUT:
About: Get the period (in ticks) of the Charon watchdog timer on the OBC
Supports: OBC
Arguments: None
return values: {'err': '>b', 'timeout_ms': '>u4'}
port: 11 subport: 7
GENERAL.SET_CHARON_WATCHDOG_TIMEOUT:
About: Set the period (in ms) of the Charon watchdog timer on the OBC.
Supports: OBC
Arguments: {'Period': '>u4'}
return values: {'err': '>b'}
port: 11 subport: 8
GENERAL.GET_ADCS_WATCHDOG_TIMEOUT:
About: None
Supports: OBC
Arguments: None
return values: {'err': '>b', 'timeout_ms': '>u4'}
port: 11 subport: 9
GENERAL.SET_ADCS_WATCHDOG_TIMEOUT:
About: None
Supports: OBC
Arguments: {'Period': '>u4'}
return values: {'err': '>b'}
port: 11 subport: 10
GENERAL.GET_NS_PAYLOAD_WATCHDOG_TIMEOUT:
About: None
Supports: OBC
Arguments: None
return values: {'err': '>b', 'timeout_ms': '>u4'}
port: 11 subport: 12
GENERAL.SET_NS_PAYLOAD_WATCHDOG_TIMEOUT:
About: None
Supports: OBC
Arguments: {'Period': '>u4'}
return values: {'err': '>b'}
port: 11 subport: 13
GENERAL.ENABLE_BEACON_TASK:
About: None
Supports: OBC
Arguments: None
return values: {'err': '>b'}
port: 11 subport: 14
GENERAL.DISABLE_BEACON_TASK:
About: None
Supports: OBC
Arguments: None
return values: {'err': '>b'}
port: 11 subport: 15
GENERAL.BEACON_TASK_GET_STATE:
About: None
Supports: OBC
Arguments: None
return values: {'err': '>b', 'state': '>?'}
port: 11 subport: 16
GENERAL.GET_SOLAR_SWITCH_STATUS:
About: Gets the status of the switch connected to the power of the solar panel currentsense ICs
Supports: OBC
Arguments: None
return values: {'err': '>b', 'state': '>b'}
port: 11 subport: 17
GENERAL.SET_SOLAR_SWITCH:
About: Turn the solar panel currentsense ICs on or off
Supports: OBC
Arguments: {'state': '>b'}
return values: {'err': '>b'}
port: 11 subport: 18
COMMUNICATION.S_GET_FREQ:
About: Gets the S-band frequency (Hz)
Supports: OBC
Arguments: None
return values: {'err': '>b', 'frequency_Hz': '>u4'}
port: 10 subport: 1
COMMUNICATION.S_GET_CONTROL:
About: Gets the S-band`s power amplifier write status and its mode = {0:configuration, 1: synchronization, 2:data, 3:test data}
Supports: OBC
Arguments: None
return values: {'err': '>b', 'status': '>u1', 'mode': '>u1'}
port: 10 subport: 2
COMMUNICATION.S_GET_ENCODER:
About: Gets the S-band encoding configuration. mod={0:QPSK, 1:OQPSK}, rate={0:half, 1:full}
Supports: OBC
Arguments: None
return values: {'err': '>b', 'scrambler': '>u1', 'filter': '>u1', 'modulation': '>u1', 'rate': '>u1'}
port: 10 subport: 3
COMMUNICATION.S_GET_PAPOWER:
About: Gets the power value of S-band power amplifier
Supports: OBC
Arguments: None
return values: {'err': '>b', 'Power Amplifier Power': '>u1'}
port: 10 subport: 4
COMMUNICATION.S_GET_STATUS:
About: Checks if the power of S-band power aamplifier is good and if the frequency lock is achieved
Supports: OBC
Arguments: None
return values: {'err': '>b', 'PWRGD': '>u1', 'TXL': '>u1'}
port: 10 subport: 5
COMMUNICATION.S_GET_FW:
About: S-band Firmware Version. XYY = X.YY
Supports: OBC
Arguments: None
return values: {'err': '>b', 'Firmware Version': '>u2'}
port: 10 subport: 6
COMMUNICATION.S_GET_TR:
About: S-band Transmit Ready Indicator = {0: >2560B in buffer}
Supports: OBC
Arguments: None
return values: {'err': '>b', 'Transmit Ready': '>i4'}
port: 10 subport: 7
COMMUNICATION.S_GET_BUFFER:
About: Gets the pointer to the buffer quantity in S-band. Input = {0:Count, 1:Underrun, 2:Overrun}
Supports: OBC
Arguments: {'Buffer_quantity': '>B'}
return values: {'err': '>b', 'buffer': '>u2'}
port: 10 subport: 8
COMMUNICATION.S_GET_HK:
About: Gets S-band housekeeping info
Supports: OBC
Arguments: None
return values: {'err': '>b', 'S_mode': '>B', 'PA_status': '>B', 'S_frequency_Hz': '>u4', 'S_scrambler': '>B', 'S_filter': '>B', 'S_modulation': '>B', 'S_data_rate': '>B', 'S_bit_order': '>B', 'S_PWRGD': '>B', 'S_TXL': '>B', 'Output Power': '>B', 'Power Amplifier Temperature': '>b', 'Top Temperature': '>b', 'Bottom Temperature': '>b', 'Battery Current': '>u2', 'Battery Voltage': '>u2', 'Power Amplifier Current': '>u2', 'Power Amplifier Voltage': '>u2'}
port: 10 subport: 9
COMMUNICATION.S_SOFT_RESET:
About: Reset S-band FPGA registers to default
Supports: OBC
Arguments: None
return values: {'err': '>b'}
port: 10 subport: 10
COMMUNICATION.S_GET_FULL_STATUS:
About: A full status of S-band non-configurable parameters
Supports: OBC
Arguments: None
return values: {'err': '>b', 'PWRGD': '>u1', 'TXL': '>u1', 'Transmit Ready': '>i4', 'Buffer Count': '>u2', 'Buffer Underrun': '>u2', 'Buffer Overrun': '>u2', 'Output Power': '>B', 'Power Amplifier Temperature': '>b', 'Top Temperature': '>b', 'Bottom Temperature': '>b', 'Battery Current mA': '>u2', 'Battery Voltage mV': '>u2', 'Power Amplifier Current mA': '>u2', 'Power Amplifier Voltage mV': '>u2'}
port: 10 subport: 11
COMMUNICATION.S_SET_FREQ:
About: Sets the frequency of S-band (Hz)
Supports: OBC
Arguments: {'Frequency': '>u4'}
return values: {'err': '>b'}
port: 10 subport: 12
COMMUNICATION.S_SET_CONTROL:
About: Sets the S-band`s power amplifier write status and its mode = {0:config, 1: synch, 2:data, 3:test data}. Input: 2 binary
Supports: OBC
Arguments: {'Status': '>u1', 'Mode': '>u1'}
return values: {'err': '>b'}
port: 10 subport: 13
COMMUNICATION.S_SET_ENCODER:
About: Sets the S-band encoding configuration. mod={0:QPSK, 1:OQPSK}, rate={1:half, 0:full}. Input: 4 binary
Supports: OBC
Arguments: {'Scrambler': '>u1', 'Filter': '>u1', 'Modulation': '>u1', 'Baudrate': '>u1', 'Bit_order': '>u1'}
return values: {'err': '>b'}
port: 10 subport: 14
COMMUNICATION.S_SET_PAPOWER:
About: Sets the power value of S-band power amplifier (24, 26, 28, 30 dBm)
Supports: OBC
Arguments: {'Power': '>u1'}
return values: {'err': '>b'}
port: 10 subport: 15
COMMUNICATION.S_GET_CONFIG:
About: A full status of S-band configurable parameters (the ones with set functions)
Supports: OBC
Arguments: None
return values: {'err': '>b', 'Frequency': '>u4', 'Power Amplifier Power': '>u1', 'Power Amplifier status': '>u1', 'Power Amplifier mode': '>u1', 'Encoder scrambler': '>u1', 'Encoder filter': '>u1', 'Encoder modulation': '>u1', 'Encoder rate': '>u1', 'Encoder bit order': '>u1'}
port: 10 subport: 16
COMMUNICATION.S_SET_CONFIG:
About: Sets all the 9 S-band configurable parameters
Supports: OBC
Arguments: {'Freq': '>u4', 'PA_power': '>u1', 'PA_status': '>u1', 'PA_mode': '>u1', 'Enc_scrambler': '>u1', 'Enc_filter': '>u1', 'Enc_mod': '>u1', 'Enc_rate': '>u1', 'Enc_bit_order': '>u1'}
return values: {'err': '>b'}
port: 10 subport: 17
COMMUNICATION.UHF_SET_SCW:
About: Sets UHF status control word
Supports: OBC
Arguments: {'HFTX_RONLY': '>u1', 'UART_baud': '>u1', 'Reset': '>u1', 'RF_mode': '>u1', 'Echo': '>u1', 'Beacon': '>u1', 'Pipe': '>u1', 'SW_mode': '>u1', 'CTS_RONLY': '>u1', 'SEC_RONLY': '>u1', 'FRAM_RONLY': '>u1', 'RFTS_RONLY': '>u1'}
return values: {'err': '>b'}
port: 10 subport: 20
COMMUNICATION.UHF_SET_FREQ:
About: Sets UHF frequency (Hz)
Supports: OBC
Arguments: {'Freq': '>u4'}
return values: {'err': '>b'}
port: 10 subport: 21
COMMUNICATION.UHF_SET_PIPE_T:
About: Sets UHF PIPE timeout period
Supports: OBC
Arguments: {'Timeout': '>u4'}
return values: {'err': '>b'}
port: 10 subport: 22
COMMUNICATION.UHF_SET_BEACON_T:
About: Sets UHF beacon message transmission period
Supports: OBC
Arguments: {'Period': '>u4'}
return values: {'err': '>b'}
port: 10 subport: 23
COMMUNICATION.UHF_SET_AUDIO_T:
About: Sets UHF audio beacon period b/w transmissions
Supports: OBC
Arguments: {'Period': '>u4'}
return values: {'err': '>b'}
port: 10 subport: 24
COMMUNICATION.UHF_SET_PARAMS:
About: Sets UHF freq, pipe_t, beacon_t, audio_t parameters. Input:4
Supports: OBC
Arguments: {'Freq': '>u4', 'pipe_t': '>u4', 'beacon_t': '>u4', 'audio_t': '>u4'}
return values: {'err': '>b'}
port: 10 subport: 25
COMMUNICATION.UHF_RESTORE:
About: Restore UHF default values
Supports: OBC
Arguments: {'Set_1_to_confirm': '>u1'}
return values: {'err': '>b'}
port: 10 subport: 26
COMMUNICATION.UHF_LOW_PWR:
About: Puts UHF TRX into low power mode
Supports: OBC
Arguments: {'Set_1_to_confirm': '>u1'}
return values: {'err': '>b'}
port: 10 subport: 27
COMMUNICATION.UHF_SET_DESTINATION:
About: Sets UHF destination callsign
Supports: OBC
Arguments: {'Callsign': '>S6'}
return values: {'err': '>b'}
port: 10 subport: 28
COMMUNICATION.UHF_SET_SOURCE:
About: Sets UHF source callsign
Supports: OBC
Arguments: {'Callsign': '>S6'}
return values: {'err': '>b'}
port: 10 subport: 29
COMMUNICATION.UHF_SET_MORSE:
About: Sets UHF morse code callsign (max 36)
Supports: OBC
Arguments: {'Callsign': '>S36'}
return values: {'err': '>b'}
port: 10 subport: 30
COMMUNICATION.UHF_SET_MIDI:
About: Sets UHF MIDI audio beacon (max 36 notes)
Supports: OBC
Arguments: {'Beacon': '>S60'}
return values: {'err': '>b'}
port: 10 subport: 31
COMMUNICATION.UHF_SET_BEACON_MSG:
About: Sets UHF beacon message (max 98)
Supports: OBC
Arguments: {'Beacon': '>S60'}
return values: {'err': '>b'}
port: 10 subport: 32
COMMUNICATION.UHF_SET_I2C:
About: Sets UHF I2C address (22 | 23)
Supports: OBC
Arguments: {'Address': '>u1'}
return values: {'err': '>b'}
port: 10 subport: 33
COMMUNICATION.UHF_WRITE_FRAM:
About: Sets UHF FRAM address and write 16-byte data
Supports: OBC
Arguments: {'Address': '>u4', 'Data': '>S16'}
return values: {'err': '>b'}
port: 10 subport: 34
COMMUNICATION.UHF_SECURE:
About: Puts UHF TRX into secure mode
Supports: OBC
Arguments: {'Set_1_to_confirm': '>u1'}
return values: {'err': '>b'}
port: 10 subport: 35
COMMUNICATION.UHF_GET_FULL_STAT:
About: Returns the fulla status of all the UHF non-configurable parameters
Supports: OBC
Arguments: None
return values: {'err': '>b', 'HFXT': '>u1', 'UartBaud': '>u1', 'Reset': '>u1', 'RF Mode': '>u1', 'Echo': '>u1', 'BCN': '>u1', 'PIPE': '>u1', 'Bootloader': '>u1', 'CTS': '>u1', 'SEC': '>u1', 'FRAM': '>u1', 'RFTS': '>u1', 'Frequency': '>u4', 'PIPE timeout': '>u4', 'Beacon period': '>u4', 'Audio trans. period': '>u4', 'Uptime': '>u4', 'Packets out': '>u4', 'Packets in': '>u4', 'Packets in CRC16': '>u4', 'Temperature': '>f'}
port: 10 subport: 36
COMMUNICATION.UHF_GET_CALLSIGN:
About: Gets UHF destination and source callsign
Supports: OBC
Arguments: None
return values: {'err': '>b', 'Destination': '>S6', 'Source': '>S6'}
port: 10 subport: 37
COMMUNICATION.UHF_GET_MORSE:
About: Gets UHF morse callsign
Supports: OBC
Arguments: None
return values: {'err': '>b', 'Morse': '>S36'}
port: 10 subport: 38
COMMUNICATION.UHF_GET_MIDI:
About: Gets UHF MIDI audio beacon
Supports: OBC
Arguments: None
return values: {'err': '>b', 'MIDI': '>S60'}
port: 10 subport: 39
COMMUNICATION.UHF_GET_BEACON_MSG:
About: Gets the beacon message
Supports: OBC
Arguments: None
return values: {'err': '>b', 'Beacon Message': '>S60'}
port: 10 subport: 40
COMMUNICATION.UHF_GET_FRAM:
About: Reads the FRAM data
Supports: OBC
Arguments: {'FRAM': '>u4'}
return values: {'err': '>b', 'FRAM': '>S16'}
port: 10 subport: 41
COMMUNICATION.UHF_SET_ECHO:
About: Starts echo over UART
Supports: OBC
Arguments: None
return values: {'err': '>b'}
port: 10 subport: 42
COMMUNICATION.UHF_SET_BCN:
About: Set the communication to the beacon mode
Supports: OBC
Arguments: None
return values: {'err': '>b'}
port: 10 subport: 43
COMMUNICATION.UHF_SET_PIPE:
About: Set the communication to the PIPE(transparent) mode
Supports: OBC
Arguments: None
return values: {'err': '>b'}
port: 10 subport: 44
COMMUNICATION.UHF_GET_SECURE_KEY:
About: Gets the key for secure mode
Supports: OBC
Arguments: None
return values: {'err': '>b', 'Secure Key': '>u4'}
port: 10 subport: 45
COMMUNICATION.UHF_GET_SWVER:
About: Gets the UHF firmware version
Supports: OBC
Arguments: None
return values: {'err': '>b', 'ver_XYZ': '>u2'}
port: 10 subport: 46
COMMUNICATION.UHF_GET_PLDSZ:
About: Gets UHF device payload size
Supports: OBC
Arguments: None
return values: {'err': '>b', 'size_B': '>u2'}
port: 10 subport: 47
COMMUNICATION.UHF_SET_CRC16_ENABLE:
About: Set whether UHF frame CRC16s are enabled
Supports: OBC
Arguments: {'enabled': '>?'}
return values: {'err': '>b'}
port: 10 subport: 48
COMMUNICATION.UHF_SET_RF_MODE:
About: Set mode of uhf communications as defined in UHF user manual
Supports: OBC
Arguments: {'mode': '>b'}
return values: {'err': '>b'}
port: 10 subport: 49
CONFIGURATION.GET_ACTIVE_CONFIG:
About: Gets config values in active mode for a specific type
Supports: EPS
Arguments: {'id': '<u2', 'type_id': '<u1'}
return values: {'err': '>B', 'type': '<u1', 'Value': 'var'}
port: 9 subport: 0
CONFIGURATION.GET_MAIN_CONFIG:
About: Gets config values in main mode for a specific type
Supports: EPS
Arguments: {'id': '<u2', 'type_id': '<u1'}
return values: {'err': '>B', 'type': '<u1', 'Value': 'var'}
port: 9 subport: 1
CONFIGURATION.GET_FALLBACK_CONFIG:
About: Gets config values in fallback mode for a specific type
Supports: EPS
Arguments: {'id': '<u2', 'type_id': '<u1'}
return values: {'err': '>B', 'type': '<u1', 'Value': 'var'}
port: 9 subport: 2
CONFIGURATION.GET_DEFAULT_CONFIG:
About: Gets config values in default mode for a specific type
Supports: EPS
Arguments: {'id': '<u2', 'type_id': '<u1'}
return values: {'err': '>B', 'type': '<u1', 'Value': 'var'}
port: 9 subport: 3
CONFIGURATION.SET_CONFIG:
About: Sets the configuration
Supports: EPS
Arguments: {'id': '<u2', 'type_id': '<u1', 'Config': 'var'}
return values: {'err': '>B'}
port: 9 subport: 4
CONFIGURATION.LOAD_MAIN2ACTIVE:
About: Load main configuration from file into active
Supports: EPS
Arguments: None
return values: {'err': '>B'}
port: 9 subport: 5
CONFIGURATION.LOAD_FALLBACK2ACTIVE:
About: Load fallback configuration from file into active
Supports: EPS
Arguments: None
return values: {'err': '>B'}
port: 9 subport: 6
CONFIGURATION.LOAD_DEFAULT2ACTIVE:
About: Load default configuration from file into active
Supports: EPS
Arguments: None
return values: {'err': '>B'}
port: 9 subport: 7
CONFIGURATION.UNLOCK_CONFIG:
About: Unlock configuration for saving
Supports: EPS
Arguments: None
return values: {'err': '>B'}
port: 9 subport: 8
CONFIGURATION.LOCK_CONFIG:
About: Lock configuration from saving
Supports: EPS
Arguments: None
return values: {'err': '>B'}
port: 9 subport: 9
CONFIGURATION.SAVE_ACTIVE2MAIN:
About: Save active configuration to main file
Supports: EPS
Arguments: None
return values: {'err': '>B'}
port: 9 subport: 10
CONFIGURATION.SAVE_ACTIVE2FALLBACK:
About: Save active configuration to fallback file
Supports: EPS
Arguments: None
return values: {'err': '>B'}
port: 9 subport: 11
CONFIGURATION.ELEVATE_ACCESS:
About: Elevates access role. Key is in the docs
Supports: EPS
Arguments: {'Role': '<u1', 'Key': '<u4'}
return values: {'err': '>B'}
port: 9 subport: 12
CONFIGURATION.GET_STATUS:
About: Gets status and errors info
Supports: EPS
Arguments: None
return values: {'err': '>B', 'isInitialized': '<u1', 'isLocked': '<u1', 'isFallbackConfigurationLoaded': '<u1', 'isMainConfigurationLoaded': '<u1', 'wasFallbackRequested': '<u1', 'initSource': '<u1', 'currAccessRole': '<u1', 'totalNumofErrors': '<u1', 'numOfParameterDoesNotExistErrors': '<u1', 'numOfInvalidParameterTypeErrors': '<u1', 'numOfValidationFailErrors': '<u1', 'numOfStorageFailErrors': '<u1', 'numOfNotInitializedErrors': '<u1', 'numOfNotLoadedOnInitErrors': '<u1', 'numOfLockedErrors': '<u1', 'numOfAccessDeniedErrors': '<u1', 'numOfWrongPasswordErrors': '<u1', 'numOfUnknownErrors': '<u1'}
port: 9 subport: 13
HOUSEKEEPING.GET_HK:
About: Fetch system-wide housekeeping. Input: limit, before_id, before_time
Supports: OBC
Arguments: {'Limit': '>u2', 'Before_id': '>u2', 'Before_time': '>u4'}
return values: {'err': '>b', '###############################\r\npacket meta\r\n###############################\r\nfinal': '<B', 'UNIXtimestamp': '>u4', 'dataPosition': '>u2', '###############################\r\nADCS\r\n###############################\r\nAtt_Estimate_Mode': '>B', 'Att_Control_Mode': '>B', 'Run_Mode': '>B', 'Flags_arr': '>V52', 'Longitude': '>f4', 'Latitude': '>f4', 'Altitude': '>f4', 'Estimated_Angular_Rate_X': '>f4', 'Estimated_Angular_Rate_Y': '>f4', 'Estimated_Angular_Rate_Z': '>f4', 'Estimated_Angular_Angle_X': '>f4', 'Estimated_Angular_Angle_Y': '>f4', 'Estimated_Angular_Angle_Z': '>f4', 'Sat_Position_ECI_X': '>f4', 'Sat_Position_ECI_Y': '>f4', 'Sat_Position_ECI_Z': '>f4', 'Sat_Velocity_ECI_X': '>f4', 'Sat_Velocity_ECI_Y': '>f4', 'Sat_Velocity_ECI_Z': '>f4', 'Sat_Position_LLH_X': '>f4', 'Sat_Position_LLH_Y': '>f4', 'Sat_Position_LLH_Z': '>f4', 'ECEF_Position_X': '>i2', 'ECEF_Position_Y': '>i2', 'ECEF_Position_Z': '>i2', 'Coarse_Sun_Vector_X': '>f4', 'Coarse_Sun_Vector_Y': '>f4', 'Coarse_Sun_Vector_Z': '>f4', 'Fine_Sun_Vector_X': '>f4', 'Fine_Sun_Vector_Y': '>f4', 'Fine_Sun_Vector_Z': '>f4', 'Nadir_Vector_X': '>f4', 'Nadir_Vector_Y': '>f4', 'Nadir_Vector_Z': '>f4', 'Wheel_Speed_X': '>f4', 'Wheel_Speed_Y': '>f4', 'Wheel_Speed_Z': '>f4', 'Mag_Field_Vector_X': '>f4', 'Mag_Field_Vector_Y': '>f4', 'Mag_Field_Vector_Z': '>f4', 'TC_num': '>i2', 'TM_num': '>i2', 'CommsStat_flags_1': '<B', 'CommsStat_flags_2': '<B', 'CommsStat_flags_3': '<B', 'CommsStat_flags_4': '<B', 'CommsStat_flags_5': '<B', 'CommsStat_flags_6': '<B', 'Wheel1_Current': '>f4', 'Wheel2_Current': '>f4', 'Wheel3_Current': '>f4', 'CubeSense1_Current': '>f4', 'CubeSense2_Current': '>f4', 'CubeControl_Current3v3': '>f4', 'CubeControl_Current5v0': '>f4', 'CubeStar_Current': '>f4', 'CubeStar_Temp': '>f4', 'Magnetorquer_Current': '>f4', 'MCU_Temp': '>f4', 'Rate_Sensor_Temp_X': '>i2', 'Rate_Sensor_Temp_Y': '>i2', 'Rate_Sensor_Temp_Z': '>i2', '###############################\r\nAthena\r\n###############################\r\nsoftware_ver_major': '>u2', 'software_ver_minor': '>u2', 'software_ver_patch': '>u2', 'MCU_core_temp': '>i2', 'converter_temp': '>i2', 'OBC_uptime': '>u4', 'vol0_usage_percent': '>u1', 'vol1_usage_percent': '>u1', 'boot_cnt': '>u2', 'boot_src': '>u2', 'last_reset_reason': '<B', 'solar_panel_supply_curr': '>u2', 'cmds_received': '>u2', 'heap_free': '>u4', 'lowest_heap_free': '>u4', '###############################\r\nEPS\r\n###############################\r\neps_cmd_hk': '<B', 'eps_status_hk': '<b', 'eps_timestamp_hk': '>f8', 'eps_uptimeInS_hk': '>u4', 'eps_bootCnt_hk': '>u4', 'wdt_gs_time_left_s': '>u4', 'wdt_gs_counter': '>u4', 'mpptConverterVoltage1_mV': '>u2', 'mpptConverterVoltage2_mV': '>u2', 'mpptConverterVoltage3_mV': '>u2', 'mpptConverterVoltage4_mV': '>u2', 'curSolarPanels1_mA': '>u2', 'curSolarPanels2_mA': '>u2', 'curSolarPanels3_mA': '>u2', 'curSolarPanels4_mA': '>u2', 'curSolarPanels5_mA': '>u2', 'curSolarPanels6_mA': '>u2', 'curSolarPanels7_mA': '>u2', 'curSolarPanels8_mA': '>u2', 'vBatt_mV': '>u2', 'curSolar_mA': '>u2', 'curBattIn_mA': '>u2', 'curBattOut_mA': '>u2', 'curOutput1_mA': '>u2', 'curOutput2_mA': '>u2', 'curOutput3_mA': '>u2', 'curOutput4_mA': '>u2', 'curOutput5_mA': '>u2', 'curOutput6_mA': '>u2', 'curOutput7_mA': '>u2', 'curOutput8_mA': '>u2', 'curOutput9_mA': '>u2', 'curOutput10_mA': '>u2', 'curOutput11_mA': '>u2', 'curOutput12_mA': '>u2', 'curOutput13_mA': '>u2', 'curOutput14_mA': '>u2', 'curOutput15_mA': '>u2', 'curOutput16_mA': '>u2', 'curOutput17_mA': '>u2', 'curOutput18_mA': '>u2', 'AOcurOutput1_mA': '>u2', 'AOcurOutput2_mA': '>u2', 'outputConverterVoltage1': '>u2', 'outputConverterVoltage2': '>u2', 'outputConverterVoltage3': '>u2', 'outputConverterVoltage4': '>u2', 'outputConverterVoltage5': '>u2', 'outputConverterVoltage6': '>u2', 'outputConverterVoltage7': '>u2', 'outputConverterVoltage8': '>u2', 'outputConverterState': '<B', 'outputStatus': '>u4', 'outputFaultStatus': '>u4', 'protectedOutputAccessCnt': '>u2', 'outputOnDelta1': '>u2', 'outputOnDelta2': '>u2', 'outputOnDelta3': '>u2', 'outputOnDelta4': '>u2', 'outputOnDelta5': '>u2', 'outputOnDelta6': '>u2', 'outputOnDelta7': '>u2', 'outputOnDelta8': '>u2', 'outputOnDelta9': '>u2', 'outputOnDelta10': '>u2', 'outputOnDelta11': '>u2', 'outputOnDelta12': '>u2', 'outputOnDelta13': '>u2', 'outputOnDelta14': '>u2', 'outputOnDelta15': '>u2', 'outputOnDelta16': '>u2', 'outputOnDelta17': '>u2', 'outputOnDelta18': '>u2', 'outputOffDelta1': '>u2', 'outputOffDelta2': '>u2', 'outputOffDelta3': '>u2', 'outputOffDelta4': '>u2', 'outputOffDelta5': '>u2', 'outputOffDelta6': '>u2', 'outputOffDelta7': '>u2', 'outputOffDelta8': '>u2', 'outputOffDelta9': '>u2', 'outputOffDelta10': '>u2', 'outputOffDelta11': '>u2', 'outputOffDelta12': '>u2', 'outputOffDelta13': '>u2', 'outputOffDelta14': '>u2', 'outputOffDelta15': '>u2', 'outputOffDelta16': '>u2', 'outputOffDelta17': '>u2', 'outputOffDelta18': '>u2', 'outputFaultCount1': '<B', 'outputFaultCount2': '<B', 'outputFaultCount3': '<B', 'outputFaultCount4': '<B', 'outputFaultCount5': '<B', 'outputFaultCount6': '<B', 'outputFaultCount7': '<B', 'outputFaultCount8': '<B', 'outputFaultCount9': '<B', 'outputFaultCount10': '<B', 'outputFaultCount11': '<B', 'outputFaultCount12': '<B', 'outputFaultCount13': '<B', 'outputFaultCount14': '<B', 'outputFaultCount15': '<B', 'outputFaultCount16': '<B', 'outputFaultCount17': '<B', 'outputFaultCount18': '<B', 'temp1_c': '<b', 'temp2_c': '<b', 'temp3_c': '<b', 'temp4_c': '<b', 'temp5_c': '<b', 'temp6_c': '<b', 'temp7_c': '<b', 'temp8_c': '<b', 'temp9_c': '<b', 'temp10_c': '<b', 'temp11_c': '<b', 'temp12_c': '<b', 'temp13_c': '<b', 'temp14_c': '<b', 'battMode': '<B', 'mpptMode': '<B', 'battHeaterMode': '<B', 'battHeaterState': '<B', 'PingWdt_toggles': '>u2', 'PingWdt_turnOffs': '<B', 'thermalProtTemperature_1': '>b', 'thermalProtTemperature_2': '>b', 'thermalProtTemperature_3': '>b', 'thermalProtTemperature_4': '>b', 'thermalProtTemperature_5': '>b', 'thermalProtTemperature_6': '>b', 'thermalProtTemperature_7': '>b', 'thermalProtTemperature_8': '>b', '###############################\r\nEPS STARTUP\r\n###############################\r\neps_cmd_startup': '<B', 'eps_status_startup': '<b', 'eps_timestamp_startup': '>f8', 'last_reset_reason_reg': '>u4', 'eps_bootCnt_startup': '>u4', 'FallbackConfigUsed': '<B', 'rtcInit': '<B', 'rtcClkSourceLSE': '>B', 'flashAppInit': '>B', 'Fram4kPartitionInit': '>b', 'Fram520kPartitionInit': '>b', 'intFlashPartitionInit': '>b', 'fwUpdInit': '>B', 'FSInit': '>b', 'FTInit': '>b', 'supervisorInit': '>b', 'uart1App': '>B', 'uart2App': '>B', 'tmp107Init': '>b', '###############################\r\nUHF\r\n###############################\r\nscw1': '<B', 'scw2': '<B', 'scw3': '<B', 'scw4': '<B', 'scw5': '<B', 'scw6': '<B', 'scw7': '<B', 'scw8': '<B', 'scw9': '<B', 'scw10': '<B', 'scw11': '<B', 'scw12': '<B', 'U_frequency': '>u4', 'pipe_t': '>u4', 'beacon_t': '>u4', 'audio_t': '>u4', 'uptime': '>u4', 'pckts_out': '>u4', 'pckts_in': '>u4', 'pckts_in_crc16': '>u4', 'temperature': '>f4', '###############################\r\nSband\r\n###############################\r\nS_mode': '>B', 'PA_status': '>B', 'S_frequency_Hz': '>u4', 'S_scrambler': '>B', 'S_filter': '>B', 'S_modulation': '>B', 'S_data_rate': '>B', 'S_bit_order': '>B', 'S_PWRGD': '>B', 'S_TXL': '>B', 'Output_Power': '>B', 'PA_Temp': '>b', 'Top_Temp': '>b', 'Bottom_Temp': '>b', 'Bat_Current_mA': '>u2', 'Bat_Voltage_mV': '>u2', 'PA_Current_mA': '>u2', 'PA_Voltage_mV': '>u2', '###############################\r\nHyperion Panels\r\n###############################\r\nNadir_Temp1': '>b', 'Nadir_Temp_Adc': '>b', 'Port_Temp1': '>b', 'Port_Temp2': '>b', 'Port_Temp3': '>b', 'Port_Temp_Adc': '>b', 'Port_Dep_Temp1': '>b', 'Port_Dep_Temp2': '>b', 'Port_Dep_Temp3': '>b', 'Port_Dep_Temp_Adc': '>b', 'Star_Temp1': '>b', 'Star_Temp2': '>b', 'Star_Temp3': '>b', 'Star_Temp_Adc': '>b', 'Star_Dep_Temp1': '>b', 'Star_Dep_Temp2': '>b', 'Star_Dep_Temp3': '>b', 'Star_Dep_Temp_Adc': '>b', 'Zenith_Temp1': '>b', 'Zenith_Temp2': '>b', 'Zenith_Temp3': '>b', 'Zenith_Temp_Adc': '>b', 'Nadir_Pd1': '>B', 'Port_Pd1': '>B', 'Port_Pd2': '>B', 'Port_Pd3': '>B', 'Port_Dep_Pd1': '>B', 'Port_Dep_Pd2': '>B', 'Port_Dep_Pd3': '>B', 'Star_Pd1': '>B', 'Star_Pd2': '>B', 'Star_Pd3': '>B', 'Star_Dep_Pd1': '>B', 'Star_Dep_Pd2': '>B', 'Star_Dep_Pd3': '>B', 'Zenith_Pd1': '>B', 'Zenith_Pd2': '>B', 'Zenith_Pd3': '>B', 'Port_Voltage': '>u2', 'Port_Dep_Voltage': '>u2', 'Star_Voltage': '>u2', 'Star_Dep_Voltage': '>u2', 'Zenith_Voltage': '>u2', 'Port_Current': '>u2', 'Port_Dep_Current': '>u2', 'Star_Current': '>u2', 'Star_Dep_Current': '>u2', 'Zenith_Current': '>u2', '###############################\r\nCharon Interfacing Board\r\n###############################\r\ngps_crc': '>u2', 'charon_temp1': '>b', 'charon_temp2': '>b', 'charon_temp3': '>b', 'charon_temp4': '>b', 'charon_temp5': '>b', 'charon_temp6': '>b', 'charon_temp7': '>b', 'charon_temp8': '>b', '###############################\r\nDFGM Board\r\n###############################\r\nCore_Voltage': '>u2', 'Sensor_Temperature': '>u2', 'Reference_Temperature': '>u2', 'Board_Temperature': '>u2', 'Positive_Rail_Voltage': '>u2', 'Input_Voltage': '>u2', 'Reference_Voltage': '>u2', 'Input_Current': '>u2', 'Reserved_1': '>u2', 'Reserved_2': '>u2', 'Reserved_3': '>u2', 'Reserved_4': '>u2', '###############################\r\nNorthern SPIRIT\r\n###############################\r\nns_temp0': '>i2', 'ns_temp1': '>i2', 'ns_temp2': '>i2', 'ns_temp3': '>i2', 'eNIM0_lux': '>i2', 'eNIM1_lux': '>i2', 'eNIM2_lux': '>i2', 'eNIM3_lux': '>i2', 'ram_avail': '>i2', 'lowest_img_num': '>i2', 'first_blank_img_num': '>i2', '###############################\r\nIris Board\r\n###############################\r\nVIS_Temperature': '>f4', 'NIR_Temperature': '>f4', 'Flash_Temperature': '>f4', 'Gate_Temperature': '>f4', 'Image_number': '>u1', 'Software_Version': '>u1', 'Error_number': '>u1', 'MAX_5V_voltage': '>u2', 'MAX_5V_power': '>u2', 'MAX_3V_voltage': '>u2', 'MAX_3V_power': '>u2', 'MIN_5V_voltage': '>u2', 'MIN_3V_voltage': '>u2'}
port: 17 subport: 0
HOUSEKEEPING.SET_MAX_FILES:
About: Set max number of hk entries to store
Supports: OBC
Arguments: {'Max': '<u2'}
return values: {'err': '>b'}
port: 17 subport: 1
HOUSEKEEPING.GET_MAX_FILES:
About: Get max number of hk entries to store
Supports: OBC
Arguments: None
return values: {'err': '>b', 'max': '>u2'}
port: 17 subport: 2
HOUSEKEEPING.GET_INSTANT_HK:
About: Fetch system-wide housekeeping right now
Supports: OBC
Arguments: None
return values: {'err': '>b', '###############################\r\npacket meta\r\n###############################\r\nfinal': '<B', 'UNIXtimestamp': '>u4', 'dataPosition': '>u2', '###############################\r\nADCS\r\n###############################\r\nAtt_Estimate_Mode': '>B', 'Att_Control_Mode': '>B', 'Run_Mode': '>B', 'Flags_arr': '>V52', 'Longitude': '>f4', 'Latitude': '>f4', 'Altitude': '>f4', 'Estimated_Angular_Rate_X': '>f4', 'Estimated_Angular_Rate_Y': '>f4', 'Estimated_Angular_Rate_Z': '>f4', 'Estimated_Angular_Angle_X': '>f4', 'Estimated_Angular_Angle_Y': '>f4', 'Estimated_Angular_Angle_Z': '>f4', 'Sat_Position_ECI_X': '>f4', 'Sat_Position_ECI_Y': '>f4', 'Sat_Position_ECI_Z': '>f4', 'Sat_Velocity_ECI_X': '>f4', 'Sat_Velocity_ECI_Y': '>f4', 'Sat_Velocity_ECI_Z': '>f4', 'Sat_Position_LLH_X': '>f4', 'Sat_Position_LLH_Y': '>f4', 'Sat_Position_LLH_Z': '>f4', 'ECEF_Position_X': '>i2', 'ECEF_Position_Y': '>i2', 'ECEF_Position_Z': '>i2', 'Coarse_Sun_Vector_X': '>f4', 'Coarse_Sun_Vector_Y': '>f4', 'Coarse_Sun_Vector_Z': '>f4', 'Fine_Sun_Vector_X': '>f4', 'Fine_Sun_Vector_Y': '>f4', 'Fine_Sun_Vector_Z': '>f4', 'Nadir_Vector_X': '>f4', 'Nadir_Vector_Y': '>f4', 'Nadir_Vector_Z': '>f4', 'Wheel_Speed_X': '>f4', 'Wheel_Speed_Y': '>f4', 'Wheel_Speed_Z': '>f4', 'Mag_Field_Vector_X': '>f4', 'Mag_Field_Vector_Y': '>f4', 'Mag_Field_Vector_Z': '>f4', 'TC_num': '>i2', 'TM_num': '>i2', 'CommsStat_flags_1': '<B', 'CommsStat_flags_2': '<B', 'CommsStat_flags_3': '<B', 'CommsStat_flags_4': '<B', 'CommsStat_flags_5': '<B', 'CommsStat_flags_6': '<B', 'Wheel1_Current': '>f4', 'Wheel2_Current': '>f4', 'Wheel3_Current': '>f4', 'CubeSense1_Current': '>f4', 'CubeSense2_Current': '>f4', 'CubeControl_Current3v3': '>f4', 'CubeControl_Current5v0': '>f4', 'CubeStar_Current': '>f4', 'CubeStar_Temp': '>f4', 'Magnetorquer_Current': '>f4', 'MCU_Temp': '>f4', 'Rate_Sensor_Temp_X': '>i2', 'Rate_Sensor_Temp_Y': '>i2', 'Rate_Sensor_Temp_Z': '>i2', '###############################\r\nAthena\r\n###############################\r\nsoftware_ver_major': '>u2', 'software_ver_minor': '>u2', 'software_ver_patch': '>u2', 'MCU_core_temp': '>i2', 'converter_temp': '>i2', 'OBC_uptime': '>u4', 'vol0_usage_percent': '>u1', 'vol1_usage_percent': '>u1', 'boot_cnt': '>u2', 'boot_src': '>u2', 'last_reset_reason': '<B', 'solar_panel_supply_curr': '>u2', 'cmds_received': '>u2', 'heap_free': '>u4', 'lowest_heap_free': '>u4', '###############################\r\nEPS\r\n###############################\r\neps_cmd_hk': '<B', 'eps_status_hk': '<b', 'eps_timestamp_hk': '>f8', 'eps_uptimeInS_hk': '>u4', 'eps_bootCnt_hk': '>u4', 'wdt_gs_time_left_s': '>u4', 'wdt_gs_counter': '>u4', 'mpptConverterVoltage1_mV': '>u2', 'mpptConverterVoltage2_mV': '>u2', 'mpptConverterVoltage3_mV': '>u2', 'mpptConverterVoltage4_mV': '>u2', 'curSolarPanels1_mA': '>u2', 'curSolarPanels2_mA': '>u2', 'curSolarPanels3_mA': '>u2', 'curSolarPanels4_mA': '>u2', 'curSolarPanels5_mA': '>u2', 'curSolarPanels6_mA': '>u2', 'curSolarPanels7_mA': '>u2', 'curSolarPanels8_mA': '>u2', 'vBatt_mV': '>u2', 'curSolar_mA': '>u2', 'curBattIn_mA': '>u2', 'curBattOut_mA': '>u2', 'curOutput1_mA': '>u2', 'curOutput2_mA': '>u2', 'curOutput3_mA': '>u2', 'curOutput4_mA': '>u2', 'curOutput5_mA': '>u2', 'curOutput6_mA': '>u2', 'curOutput7_mA': '>u2', 'curOutput8_mA': '>u2', 'curOutput9_mA': '>u2', 'curOutput10_mA': '>u2', 'curOutput11_mA': '>u2', 'curOutput12_mA': '>u2', 'curOutput13_mA': '>u2', 'curOutput14_mA': '>u2', 'curOutput15_mA': '>u2', 'curOutput16_mA': '>u2', 'curOutput17_mA': '>u2', 'curOutput18_mA': '>u2', 'AOcurOutput1_mA': '>u2', 'AOcurOutput2_mA': '>u2', 'outputConverterVoltage1': '>u2', 'outputConverterVoltage2': '>u2', 'outputConverterVoltage3': '>u2', 'outputConverterVoltage4': '>u2', 'outputConverterVoltage5': '>u2', 'outputConverterVoltage6': '>u2', 'outputConverterVoltage7': '>u2', 'outputConverterVoltage8': '>u2', 'outputConverterState': '<B', 'outputStatus': '>u4', 'outputFaultStatus': '>u4', 'protectedOutputAccessCnt': '>u2', 'outputOnDelta1': '>u2', 'outputOnDelta2': '>u2', 'outputOnDelta3': '>u2', 'outputOnDelta4': '>u2', 'outputOnDelta5': '>u2', 'outputOnDelta6': '>u2', 'outputOnDelta7': '>u2', 'outputOnDelta8': '>u2', 'outputOnDelta9': '>u2', 'outputOnDelta10': '>u2', 'outputOnDelta11': '>u2', 'outputOnDelta12': '>u2', 'outputOnDelta13': '>u2', 'outputOnDelta14': '>u2', 'outputOnDelta15': '>u2', 'outputOnDelta16': '>u2', 'outputOnDelta17': '>u2', 'outputOnDelta18': '>u2', 'outputOffDelta1': '>u2', 'outputOffDelta2': '>u2', 'outputOffDelta3': '>u2', 'outputOffDelta4': '>u2', 'outputOffDelta5': '>u2', 'outputOffDelta6': '>u2', 'outputOffDelta7': '>u2', 'outputOffDelta8': '>u2', 'outputOffDelta9': '>u2', 'outputOffDelta10': '>u2', 'outputOffDelta11': '>u2', 'outputOffDelta12': '>u2', 'outputOffDelta13': '>u2', 'outputOffDelta14': '>u2', 'outputOffDelta15': '>u2', 'outputOffDelta16': '>u2', 'outputOffDelta17': '>u2', 'outputOffDelta18': '>u2', 'outputFaultCount1': '<B', 'outputFaultCount2': '<B', 'outputFaultCount3': '<B', 'outputFaultCount4': '<B', 'outputFaultCount5': '<B', 'outputFaultCount6': '<B', 'outputFaultCount7': '<B', 'outputFaultCount8': '<B', 'outputFaultCount9': '<B', 'outputFaultCount10': '<B', 'outputFaultCount11': '<B', 'outputFaultCount12': '<B', 'outputFaultCount13': '<B', 'outputFaultCount14': '<B', 'outputFaultCount15': '<B', 'outputFaultCount16': '<B', 'outputFaultCount17': '<B', 'outputFaultCount18': '<B', 'temp1_c': '<b', 'temp2_c': '<b', 'temp3_c': '<b', 'temp4_c': '<b', 'temp5_c': '<b', 'temp6_c': '<b', 'temp7_c': '<b', 'temp8_c': '<b', 'temp9_c': '<b', 'temp10_c': '<b', 'temp11_c': '<b', 'temp12_c': '<b', 'temp13_c': '<b', 'temp14_c': '<b', 'battMode': '<B', 'mpptMode': '<B', 'battHeaterMode': '<B', 'battHeaterState': '<B', 'PingWdt_toggles': '>u2', 'PingWdt_turnOffs': '<B', 'thermalProtTemperature_1': '>b', 'thermalProtTemperature_2': '>b', 'thermalProtTemperature_3': '>b', 'thermalProtTemperature_4': '>b', 'thermalProtTemperature_5': '>b', 'thermalProtTemperature_6': '>b', 'thermalProtTemperature_7': '>b', 'thermalProtTemperature_8': '>b', '###############################\r\nEPS STARTUP\r\n###############################\r\neps_cmd_startup': '<B', 'eps_status_startup': '<b', 'eps_timestamp_startup': '>f8', 'last_reset_reason_reg': '>u4', 'eps_bootCnt_startup': '>u4', 'FallbackConfigUsed': '<B', 'rtcInit': '<B', 'rtcClkSourceLSE': '>B', 'flashAppInit': '>B', 'Fram4kPartitionInit': '>b', 'Fram520kPartitionInit': '>b', 'intFlashPartitionInit': '>b', 'fwUpdInit': '>B', 'FSInit': '>b', 'FTInit': '>b', 'supervisorInit': '>b', 'uart1App': '>B', 'uart2App': '>B', 'tmp107Init': '>b', '###############################\r\nUHF\r\n###############################\r\nscw1': '<B', 'scw2': '<B', 'scw3': '<B', 'scw4': '<B', 'scw5': '<B', 'scw6': '<B', 'scw7': '<B', 'scw8': '<B', 'scw9': '<B', 'scw10': '<B', 'scw11': '<B', 'scw12': '<B', 'U_frequency': '>u4', 'pipe_t': '>u4', 'beacon_t': '>u4', 'audio_t': '>u4', 'uptime': '>u4', 'pckts_out': '>u4', 'pckts_in': '>u4', 'pckts_in_crc16': '>u4', 'temperature': '>f4', '###############################\r\nSband\r\n###############################\r\nS_mode': '>B', 'PA_status': '>B', 'S_frequency_Hz': '>u4', 'S_scrambler': '>B', 'S_filter': '>B', 'S_modulation': '>B', 'S_data_rate': '>B', 'S_bit_order': '>B', 'S_PWRGD': '>B', 'S_TXL': '>B', 'Output_Power': '>B', 'PA_Temp': '>b', 'Top_Temp': '>b', 'Bottom_Temp': '>b', 'Bat_Current_mA': '>u2', 'Bat_Voltage_mV': '>u2', 'PA_Current_mA': '>u2', 'PA_Voltage_mV': '>u2', '###############################\r\nHyperion Panels\r\n###############################\r\nNadir_Temp1': '>b', 'Nadir_Temp_Adc': '>b', 'Port_Temp1': '>b', 'Port_Temp2': '>b', 'Port_Temp3': '>b', 'Port_Temp_Adc': '>b', 'Port_Dep_Temp1': '>b', 'Port_Dep_Temp2': '>b', 'Port_Dep_Temp3': '>b', 'Port_Dep_Temp_Adc': '>b', 'Star_Temp1': '>b', 'Star_Temp2': '>b', 'Star_Temp3': '>b', 'Star_Temp_Adc': '>b', 'Star_Dep_Temp1': '>b', 'Star_Dep_Temp2': '>b', 'Star_Dep_Temp3': '>b', 'Star_Dep_Temp_Adc': '>b', 'Zenith_Temp1': '>b', 'Zenith_Temp2': '>b', 'Zenith_Temp3': '>b', 'Zenith_Temp_Adc': '>b', 'Nadir_Pd1': '>B', 'Port_Pd1': '>B', 'Port_Pd2': '>B', 'Port_Pd3': '>B', 'Port_Dep_Pd1': '>B', 'Port_Dep_Pd2': '>B', 'Port_Dep_Pd3': '>B', 'Star_Pd1': '>B', 'Star_Pd2': '>B', 'Star_Pd3': '>B', 'Star_Dep_Pd1': '>B', 'Star_Dep_Pd2': '>B', 'Star_Dep_Pd3': '>B', 'Zenith_Pd1': '>B', 'Zenith_Pd2': '>B', 'Zenith_Pd3': '>B', 'Port_Voltage': '>u2', 'Port_Dep_Voltage': '>u2', 'Star_Voltage': '>u2', 'Star_Dep_Voltage': '>u2', 'Zenith_Voltage': '>u2', 'Port_Current': '>u2', 'Port_Dep_Current': '>u2', 'Star_Current': '>u2', 'Star_Dep_Current': '>u2', 'Zenith_Current': '>u2', '###############################\r\nCharon Interfacing Board\r\n###############################\r\ngps_crc': '>u2', 'charon_temp1': '>b', 'charon_temp2': '>b', 'charon_temp3': '>b', 'charon_temp4': '>b', 'charon_temp5': '>b', 'charon_temp6': '>b', 'charon_temp7': '>b', 'charon_temp8': '>b', '###############################\r\nDFGM Board\r\n###############################\r\nCore_Voltage': '>u2', 'Sensor_Temperature': '>u2', 'Reference_Temperature': '>u2', 'Board_Temperature': '>u2', 'Positive_Rail_Voltage': '>u2', 'Input_Voltage': '>u2', 'Reference_Voltage': '>u2', 'Input_Current': '>u2', 'Reserved_1': '>u2', 'Reserved_2': '>u2', 'Reserved_3': '>u2', 'Reserved_4': '>u2', '###############################\r\nNorthern SPIRIT\r\n###############################\r\nns_temp0': '>i2', 'ns_temp1': '>i2', 'ns_temp2': '>i2', 'ns_temp3': '>i2', 'eNIM0_lux': '>i2', 'eNIM1_lux': '>i2', 'eNIM2_lux': '>i2', 'eNIM3_lux': '>i2', 'ram_avail': '>i2', 'lowest_img_num': '>i2', 'first_blank_img_num': '>i2', '###############################\r\nIris Board\r\n###############################\r\nVIS_Temperature': '>f4', 'NIR_Temperature': '>f4', 'Flash_Temperature': '>f4', 'Gate_Temperature': '>f4', 'Image_number': '>u1', 'Software_Version': '>u1', 'Error_number': '>u1', 'MAX_5V_voltage': '>u2', 'MAX_5V_power': '>u2', 'MAX_3V_voltage': '>u2', 'MAX_3V_power': '>u2', 'MIN_5V_voltage': '>u2', 'MIN_3V_voltage': '>u2'}
port: 17 subport: 3
HOUSEKEEPING.GET_LATEST_HK:
About: Fetch latest system-wide housekeeping
Supports: OBC
Arguments: None
return values: {'err': '>b', '###############################\r\npacket meta\r\n###############################\r\nfinal': '<B', 'UNIXtimestamp': '>u4', 'dataPosition': '>u2', '###############################\r\nADCS\r\n###############################\r\nAtt_Estimate_Mode': '>B', 'Att_Control_Mode': '>B', 'Run_Mode': '>B', 'Flags_arr': '>V52', 'Longitude': '>f4', 'Latitude': '>f4', 'Altitude': '>f4', 'Estimated_Angular_Rate_X': '>f4', 'Estimated_Angular_Rate_Y': '>f4', 'Estimated_Angular_Rate_Z': '>f4', 'Estimated_Angular_Angle_X': '>f4', 'Estimated_Angular_Angle_Y': '>f4', 'Estimated_Angular_Angle_Z': '>f4', 'Sat_Position_ECI_X': '>f4', 'Sat_Position_ECI_Y': '>f4', 'Sat_Position_ECI_Z': '>f4', 'Sat_Velocity_ECI_X': '>f4', 'Sat_Velocity_ECI_Y': '>f4', 'Sat_Velocity_ECI_Z': '>f4', 'Sat_Position_LLH_X': '>f4', 'Sat_Position_LLH_Y': '>f4', 'Sat_Position_LLH_Z': '>f4', 'ECEF_Position_X': '>i2', 'ECEF_Position_Y': '>i2', 'ECEF_Position_Z': '>i2', 'Coarse_Sun_Vector_X': '>f4', 'Coarse_Sun_Vector_Y': '>f4', 'Coarse_Sun_Vector_Z': '>f4', 'Fine_Sun_Vector_X': '>f4', 'Fine_Sun_Vector_Y': '>f4', 'Fine_Sun_Vector_Z': '>f4', 'Nadir_Vector_X': '>f4', 'Nadir_Vector_Y': '>f4', 'Nadir_Vector_Z': '>f4', 'Wheel_Speed_X': '>f4', 'Wheel_Speed_Y': '>f4', 'Wheel_Speed_Z': '>f4', 'Mag_Field_Vector_X': '>f4', 'Mag_Field_Vector_Y': '>f4', 'Mag_Field_Vector_Z': '>f4', 'TC_num': '>i2', 'TM_num': '>i2', 'CommsStat_flags_1': '<B', 'CommsStat_flags_2': '<B', 'CommsStat_flags_3': '<B', 'CommsStat_flags_4': '<B', 'CommsStat_flags_5': '<B', 'CommsStat_flags_6': '<B', 'Wheel1_Current': '>f4', 'Wheel2_Current': '>f4', 'Wheel3_Current': '>f4', 'CubeSense1_Current': '>f4', 'CubeSense2_Current': '>f4', 'CubeControl_Current3v3': '>f4', 'CubeControl_Current5v0': '>f4', 'CubeStar_Current': '>f4', 'CubeStar_Temp': '>f4', 'Magnetorquer_Current': '>f4', 'MCU_Temp': '>f4', 'Rate_Sensor_Temp_X': '>i2', 'Rate_Sensor_Temp_Y': '>i2', 'Rate_Sensor_Temp_Z': '>i2', '###############################\r\nAthena\r\n###############################\r\nsoftware_ver_major': '>u2', 'software_ver_minor': '>u2', 'software_ver_patch': '>u2', 'MCU_core_temp': '>i2', 'converter_temp': '>i2', 'OBC_uptime': '>u4', 'vol0_usage_percent': '>u1', 'vol1_usage_percent': '>u1', 'boot_cnt': '>u2', 'boot_src': '>u2', 'last_reset_reason': '<B', 'solar_panel_supply_curr': '>u2', 'cmds_received': '>u2', 'heap_free': '>u4', 'lowest_heap_free': '>u4', '###############################\r\nEPS\r\n###############################\r\neps_cmd_hk': '<B', 'eps_status_hk': '<b', 'eps_timestamp_hk': '>f8', 'eps_uptimeInS_hk': '>u4', 'eps_bootCnt_hk': '>u4', 'wdt_gs_time_left_s': '>u4', 'wdt_gs_counter': '>u4', 'mpptConverterVoltage1_mV': '>u2', 'mpptConverterVoltage2_mV': '>u2', 'mpptConverterVoltage3_mV': '>u2', 'mpptConverterVoltage4_mV': '>u2', 'curSolarPanels1_mA': '>u2', 'curSolarPanels2_mA': '>u2', 'curSolarPanels3_mA': '>u2', 'curSolarPanels4_mA': '>u2', 'curSolarPanels5_mA': '>u2', 'curSolarPanels6_mA': '>u2', 'curSolarPanels7_mA': '>u2', 'curSolarPanels8_mA': '>u2', 'vBatt_mV': '>u2', 'curSolar_mA': '>u2', 'curBattIn_mA': '>u2', 'curBattOut_mA': '>u2', 'curOutput1_mA': '>u2', 'curOutput2_mA': '>u2', 'curOutput3_mA': '>u2', 'curOutput4_mA': '>u2', 'curOutput5_mA': '>u2', 'curOutput6_mA': '>u2', 'curOutput7_mA': '>u2', 'curOutput8_mA': '>u2', 'curOutput9_mA': '>u2', 'curOutput10_mA': '>u2', 'curOutput11_mA': '>u2', 'curOutput12_mA': '>u2', 'curOutput13_mA': '>u2', 'curOutput14_mA': '>u2', 'curOutput15_mA': '>u2', 'curOutput16_mA': '>u2', 'curOutput17_mA': '>u2', 'curOutput18_mA': '>u2', 'AOcurOutput1_mA': '>u2', 'AOcurOutput2_mA': '>u2', 'outputConverterVoltage1': '>u2', 'outputConverterVoltage2': '>u2', 'outputConverterVoltage3': '>u2', 'outputConverterVoltage4': '>u2', 'outputConverterVoltage5': '>u2', 'outputConverterVoltage6': '>u2', 'outputConverterVoltage7': '>u2', 'outputConverterVoltage8': '>u2', 'outputConverterState': '<B', 'outputStatus': '>u4', 'outputFaultStatus': '>u4', 'protectedOutputAccessCnt': '>u2', 'outputOnDelta1': '>u2', 'outputOnDelta2': '>u2', 'outputOnDelta3': '>u2', 'outputOnDelta4': '>u2', 'outputOnDelta5': '>u2', 'outputOnDelta6': '>u2', 'outputOnDelta7': '>u2', 'outputOnDelta8': '>u2', 'outputOnDelta9': '>u2', 'outputOnDelta10': '>u2', 'outputOnDelta11': '>u2', 'outputOnDelta12': '>u2', 'outputOnDelta13': '>u2', 'outputOnDelta14': '>u2', 'outputOnDelta15': '>u2', 'outputOnDelta16': '>u2', 'outputOnDelta17': '>u2', 'outputOnDelta18': '>u2', 'outputOffDelta1': '>u2', 'outputOffDelta2': '>u2', 'outputOffDelta3': '>u2', 'outputOffDelta4': '>u2', 'outputOffDelta5': '>u2', 'outputOffDelta6': '>u2', 'outputOffDelta7': '>u2', 'outputOffDelta8': '>u2', 'outputOffDelta9': '>u2', 'outputOffDelta10': '>u2', 'outputOffDelta11': '>u2', 'outputOffDelta12': '>u2', 'outputOffDelta13': '>u2', 'outputOffDelta14': '>u2', 'outputOffDelta15': '>u2', 'outputOffDelta16': '>u2', 'outputOffDelta17': '>u2', 'outputOffDelta18': '>u2', 'outputFaultCount1': '<B', 'outputFaultCount2': '<B', 'outputFaultCount3': '<B', 'outputFaultCount4': '<B', 'outputFaultCount5': '<B', 'outputFaultCount6': '<B', 'outputFaultCount7': '<B', 'outputFaultCount8': '<B', 'outputFaultCount9': '<B', 'outputFaultCount10': '<B', 'outputFaultCount11': '<B', 'outputFaultCount12': '<B', 'outputFaultCount13': '<B', 'outputFaultCount14': '<B', 'outputFaultCount15': '<B', 'outputFaultCount16': '<B', 'outputFaultCount17': '<B', 'outputFaultCount18': '<B', 'temp1_c': '<b', 'temp2_c': '<b', 'temp3_c': '<b', 'temp4_c': '<b', 'temp5_c': '<b', 'temp6_c': '<b', 'temp7_c': '<b', 'temp8_c': '<b', 'temp9_c': '<b', 'temp10_c': '<b', 'temp11_c': '<b', 'temp12_c': '<b', 'temp13_c': '<b', 'temp14_c': '<b', 'battMode': '<B', 'mpptMode': '<B', 'battHeaterMode': '<B', 'battHeaterState': '<B', 'PingWdt_toggles': '>u2', 'PingWdt_turnOffs': '<B', 'thermalProtTemperature_1': '>b', 'thermalProtTemperature_2': '>b', 'thermalProtTemperature_3': '>b', 'thermalProtTemperature_4': '>b', 'thermalProtTemperature_5': '>b', 'thermalProtTemperature_6': '>b', 'thermalProtTemperature_7': '>b', 'thermalProtTemperature_8': '>b', '###############################\r\nEPS STARTUP\r\n###############################\r\neps_cmd_startup': '<B', 'eps_status_startup': '<b', 'eps_timestamp_startup': '>f8', 'last_reset_reason_reg': '>u4', 'eps_bootCnt_startup': '>u4', 'FallbackConfigUsed': '<B', 'rtcInit': '<B', 'rtcClkSourceLSE': '>B', 'flashAppInit': '>B', 'Fram4kPartitionInit': '>b', 'Fram520kPartitionInit': '>b', 'intFlashPartitionInit': '>b', 'fwUpdInit': '>B', 'FSInit': '>b', 'FTInit': '>b', 'supervisorInit': '>b', 'uart1App': '>B', 'uart2App': '>B', 'tmp107Init': '>b', '###############################\r\nUHF\r\n###############################\r\nscw1': '<B', 'scw2': '<B', 'scw3': '<B', 'scw4': '<B', 'scw5': '<B', 'scw6': '<B', 'scw7': '<B', 'scw8': '<B', 'scw9': '<B', 'scw10': '<B', 'scw11': '<B', 'scw12': '<B', 'U_frequency': '>u4', 'pipe_t': '>u4', 'beacon_t': '>u4', 'audio_t': '>u4', 'uptime': '>u4', 'pckts_out': '>u4', 'pckts_in': '>u4', 'pckts_in_crc16': '>u4', 'temperature': '>f4', '###############################\r\nSband\r\n###############################\r\nS_mode': '>B', 'PA_status': '>B', 'S_frequency_Hz': '>u4', 'S_scrambler': '>B', 'S_filter': '>B', 'S_modulation': '>B', 'S_data_rate': '>B', 'S_bit_order': '>B', 'S_PWRGD': '>B', 'S_TXL': '>B', 'Output_Power': '>B', 'PA_Temp': '>b', 'Top_Temp': '>b', 'Bottom_Temp': '>b', 'Bat_Current_mA': '>u2', 'Bat_Voltage_mV': '>u2', 'PA_Current_mA': '>u2', 'PA_Voltage_mV': '>u2', '###############################\r\nHyperion Panels\r\n###############################\r\nNadir_Temp1': '>b', 'Nadir_Temp_Adc': '>b', 'Port_Temp1': '>b', 'Port_Temp2': '>b', 'Port_Temp3': '>b', 'Port_Temp_Adc': '>b', 'Port_Dep_Temp1': '>b', 'Port_Dep_Temp2': '>b', 'Port_Dep_Temp3': '>b', 'Port_Dep_Temp_Adc': '>b', 'Star_Temp1': '>b', 'Star_Temp2': '>b', 'Star_Temp3': '>b', 'Star_Temp_Adc': '>b', 'Star_Dep_Temp1': '>b', 'Star_Dep_Temp2': '>b', 'Star_Dep_Temp3': '>b', 'Star_Dep_Temp_Adc': '>b', 'Zenith_Temp1': '>b', 'Zenith_Temp2': '>b', 'Zenith_Temp3': '>b', 'Zenith_Temp_Adc': '>b', 'Nadir_Pd1': '>B', 'Port_Pd1': '>B', 'Port_Pd2': '>B', 'Port_Pd3': '>B', 'Port_Dep_Pd1': '>B', 'Port_Dep_Pd2': '>B', 'Port_Dep_Pd3': '>B', 'Star_Pd1': '>B', 'Star_Pd2': '>B', 'Star_Pd3': '>B', 'Star_Dep_Pd1': '>B', 'Star_Dep_Pd2': '>B', 'Star_Dep_Pd3': '>B', 'Zenith_Pd1': '>B', 'Zenith_Pd2': '>B', 'Zenith_Pd3': '>B', 'Port_Voltage': '>u2', 'Port_Dep_Voltage': '>u2', 'Star_Voltage': '>u2', 'Star_Dep_Voltage': '>u2', 'Zenith_Voltage': '>u2', 'Port_Current': '>u2', 'Port_Dep_Current': '>u2', 'Star_Current': '>u2', 'Star_Dep_Current': '>u2', 'Zenith_Current': '>u2', '###############################\r\nCharon Interfacing Board\r\n###############################\r\ngps_crc': '>u2', 'charon_temp1': '>b', 'charon_temp2': '>b', 'charon_temp3': '>b', 'charon_temp4': '>b', 'charon_temp5': '>b', 'charon_temp6': '>b', 'charon_temp7': '>b', 'charon_temp8': '>b', '###############################\r\nDFGM Board\r\n###############################\r\nCore_Voltage': '>u2', 'Sensor_Temperature': '>u2', 'Reference_Temperature': '>u2', 'Board_Temperature': '>u2', 'Positive_Rail_Voltage': '>u2', 'Input_Voltage': '>u2', 'Reference_Voltage': '>u2', 'Input_Current': '>u2', 'Reserved_1': '>u2', 'Reserved_2': '>u2', 'Reserved_3': '>u2', 'Reserved_4': '>u2', '###############################\r\nNorthern SPIRIT\r\n###############################\r\nns_temp0': '>i2', 'ns_temp1': '>i2', 'ns_temp2': '>i2', 'ns_temp3': '>i2', 'eNIM0_lux': '>i2', 'eNIM1_lux': '>i2', 'eNIM2_lux': '>i2', 'eNIM3_lux': '>i2', 'ram_avail': '>i2', 'lowest_img_num': '>i2', 'first_blank_img_num': '>i2', '###############################\r\nIris Board\r\n###############################\r\nVIS_Temperature': '>f4', 'NIR_Temperature': '>f4', 'Flash_Temperature': '>f4', 'Gate_Temperature': '>f4', 'Image_number': '>u1', 'Software_Version': '>u1', 'Error_number': '>u1', 'MAX_5V_voltage': '>u2', 'MAX_5V_power': '>u2', 'MAX_3V_voltage': '>u2', 'MAX_3V_power': '>u2', 'MIN_5V_voltage': '>u2', 'MIN_3V_voltage': '>u2'}
port: 17 subport: 4
GROUND_STATION_WDT.RESET_WDT:
About: Resets the ground station watchdog timer. See docs for key value
Supports: EPS
Arguments: {'Key': '<u2'}
return values: {'err': '>B'}
port: 16 subport: 0
GROUND_STATION_WDT.GET_WDT_REMAINING:
About: Gets GS watchdog time left in seconds
Supports: EPS
Arguments: None
return values: {'err': '>B', 'timeLeftInS': '<u4'}
port: 16 subport: 1
GROUND_STATION_WDT.CLEAR_WDT_RESET_MARK:
About: Clears GS watchdog reset mark. See docs for key value
Supports: EPS
Arguments: {'Key': '<u2'}
return values: {'err': '>B'}
port: 16 subport: 2
GROUND_STATION_WDT.CHECK_STARTUP_POST_RESET:
About: Checks if startup happened after GS watchdog reset
Supports: EPS
Arguments: None
return values: {'err': '>B', 'startupAfterGsWdt': '?'}
port: 16 subport: 3
EPS_RESET.EPS_HARD_RESET:
About: Does a hard reset on EPS (Resets the config) Not recommended to use by the operator. Key value is 17767
Supports: EPS
Arguments: {'Key': '<u2'}
return values: {'err': '>b'}
port: 15 subport: 1
REBOOT.SOFT:
About: Does a soft reset on EPS (reboot) Not recommended to use by the operator. Key value is 491527 or 2147975175
Supports: EPS
Arguments: {'Key': '<u4'}
return values: {'err': '>b'}
port: 4 subport: 128
TM_CLI.GENERAL_TELEMETRY:
About: Gets the general housekeeping telemetry data
Supports: EPS
Arguments: None
return values: {'status': '>b', 'timestamp': '<f8', 'uptimeInS': '<u4', 'bootCnt': '<u4', 'gs_wdt_time_left_s': '<u4', 'counter_wdt_gs': '<u4', 'mpptConverterVoltage1_mV': '<u2', 'mpptConverterVoltage2_mV': '<u2', 'mpptConverterVoltage3_mV': '<u2', 'mpptConverterVoltage4_mV': '<u2', 'curSolarPanels1_mA': '<u2', 'curSolarPanels2_mA': '<u2', 'curSolarPanels3_mA': '<u2', 'curSolarPanels4_mA': '<u2', 'curSolarPanels5_mA': '<u2', 'curSolarPanels6_mA': '<u2', 'curSolarPanels7_mA': '<u2', 'curSolarPanels8_mA': '<u2', 'vBatt_mV': '<u2', 'curSolar_mA': '<u2', 'curBattIn_mA': '<u2', 'curBattOut_mA': '<u2', 'curOutput1_mA': '<u2', 'curOutput2_mA': '<u2', 'curOutput3_mA': '<u2', 'curOutput4_mA': '<u2', 'curOutput5_mA': '<u2', 'curOutput6_mA': '<u2', 'curOutput7_mA': '<u2', 'curOutput8_mA': '<u2', 'curOutput9_mA': '<u2', 'curOutput10_mA': '<u2', 'curOutput11_mA': '<u2', 'curOutput12_mA': '<u2', 'curOutput13_mA': '<u2', 'curOutput14_mA': '<u2', 'curOutput15_mA': '<u2', 'curOutput16_mA': '<u2', 'curOutput17_mA': '<u2', 'curOutput18_mA': '<u2', 'AOcurOutput1_mA': '<u2', 'AOcurOutput2_mA': '<u2', 'outputConverterVoltage1': '<u2', 'outputConverterVoltage2': '<u2', 'outputConverterVoltage3': '<u2', 'outputConverterVoltage4': '<u2', 'outputConverterVoltage5': '<u2', 'outputConverterVoltage6': '<u2', 'outputConverterVoltage7': '<u2', 'outputConverterVoltage8': '<u2', 'outputConverterState': '<B', 'outputStatus': '<u4', 'outputFaultStatus': '<u4', 'protectedOutputAccessCnt': '<u2', 'outputOnDelta1': '<u2', 'outputOnDelta2': '<u2', 'outputOnDelta3': '<u2', 'outputOnDelta4': '<u2', 'outputOnDelta5': '<u2', 'outputOnDelta6': '<u2', 'outputOnDelta7': '<u2', 'outputOnDelta8': '<u2', 'outputOnDelta9': '<u2', 'outputOnDelta10': '<u2', 'outputOnDelta11': '<u2', 'outputOnDelta12': '<u2', 'outputOnDelta13': '<u2', 'outputOnDelta14': '<u2', 'outputOnDelta15': '<u2', 'outputOnDelta16': '<u2', 'outputOnDelta17': '<u2', 'outputOnDelta18': '<u2', 'outputOffDelta1': '<u2', 'outputOffDelta2': '<u2', 'outputOffDelta3': '<u2', 'outputOffDelta4': '<u2', 'outputOffDelta5': '<u2', 'outputOffDelta6': '<u2', 'outputOffDelta7': '<u2', 'outputOffDelta8': '<u2', 'outputOffDelta9': '<u2', 'outputOffDelta10': '<u2', 'outputOffDelta11': '<u2', 'outputOffDelta12': '<u2', 'outputOffDelta13': '<u2', 'outputOffDelta14': '<u2', 'outputOffDelta15': '<u2', 'outputOffDelta16': '<u2', 'outputOffDelta17': '<u2', 'outputOffDelta18': '<u2', 'outputFaultCount1': '<B', 'outputFaultCount2': '<B', 'outputFaultCount3': '<B', 'outputFaultCount4': '<B', 'outputFaultCount5': '<B', 'outputFaultCount6': '<B', 'outputFaultCount7': '<B', 'outputFaultCount8': '<B', 'outputFaultCount9': '<B', 'outputFaultCount10': '<B', 'outputFaultCount11': '<B', 'outputFaultCount12': '<B', 'outputFaultCount13': '<B', 'outputFaultCount14': '<B', 'outputFaultCount15': '<B', 'outputFaultCount16': '<B', 'outputFaultCount17': '<B', 'outputFaultCount18': '<B', 'temp1_c': '<b', 'temp2_c': '<b', 'temp3_c': '<b', 'temp4_c': '<b', 'temp5_c': '<b', 'temp6_c': '<b', 'temp7_c': '<b', 'temp8_c': '<b', 'temp9_c': '<b', 'temp10_c': '<b', 'temp11_c': '<b', 'temp12_c': '<b', 'temp13_c': '<b', 'temp14_c': '<b', 'battMode': '<B', 'mpptMode': '<B', 'battHeaterMode': '<B', 'battHeaterState': '<B', 'PingWdt_toggles': '<u2', 'PingWdt_turnOffs': '<B'}
port: 7 subport: 0
TM_CLI.SET_TELEMETERY_PERIOD:
About: Set telemetery collection period on EPS. Magicword is in the docs
Supports: EPS
Arguments: {'Magicword': '<u4', 'Telem_ID': '<B', 'Period': '<u4', 'Duration': '<u4'}
return values: {'err': '>b'}
port: 7 subport: 255
TM_CLI.STARTUP_TELEMETRY:
About: Get the startup telemetry from the EPS
Supports: EPS
Arguments: None
return values: {'status': '>b', 'timestamp': '<f8', 'last_reset_reason_reg': '<u4', 'bootCnt': '<u4', 'FallbackConfigUsed': '<B', 'rtcInit': '<B', 'rtcClkSourceLSE': '<B', 'Fram4kPartitionInit': '>b', 'Fram520kPartitionInit': '>b', 'intFlashPartitionInit': '>b', 'FSInit': '>b', 'FTInit': '>b', 'supervisorInit': '>b', 'uart1App': '<B', 'uart2App': '<B', 'tmp107Init': '>b'}
port: 7 subport: 1
CONTROL.SINGLE_OUTPUT_CONTROL:
About: Turns on/off a power output channel (with a defined delay)
Supports: EPS
Arguments: {'Channel': '<B', 'State': '<B', 'Delay': '<u2'}
return values: {'err': '>b'}
port: 14 subport: 0
CONTROL.ALL_OUTPUT_CONTROL:
About: Sets all ouputs status at once (nth bit -> nth channel. 18 bit binary integer
Supports: EPS
Arguments: {'StateMask': '<u4'}
return values: {'err': '>b'}
port: 14 subport: 1
CONTROL.SINGLE_OUTPUT_CONTROL_NORMAL_BATT:
About: Set the output channels mode on normal battery mode
Supports: EPS
Arguments: {'Channel': '<B', 'State': '<B', 'Delay': '<u2'}
return values: {'err': '>b'}
port: 14 subport: 9
CONTROL.SET_SINGLE_MPPT_CONV_V:
About: Sets single MPPT converter voltage. Voltage is in mv
Supports: EPS
Arguments: {'Channel': '<B', 'Voltage': '<u2'}
return values: {'err': '>b'}
port: 14 subport: 2
CONTROL.SET_ALL_MPPT_CONV_V:
About: Sets all MPPT converter voltage at once
Supports: EPS
Arguments: {'v1': '<u2', 'v2': '<u2', 'v3': '<u2', 'v4': '<u2'}
return values: {'err': '>b'}
port: 14 subport: 3
CONTROL.SET_MODE_MPPT:
About: Sets MPPT mode. 0-Hw, 1-manual, 2-auto, 3-auto w/ timeout
Supports: EPS
Arguments: {'Mode': '<B'}
return values: {'err': '>b'}
port: 14 subport: 4
CONTROL.SET_AUTO_TIMEOUT_MPPT:
About: Sets MPPT auto timeout period
Supports: EPS
Arguments: {'Timeout': '<u4'}
return values: {'err': '>b'}
port: 14 subport: 5
CONTROL.SET_HEATER_MODE:
About: Manual, or automatic. See docs for mode values
Supports: EPS
Arguments: {'Mode': '<B'}
return values: {'status': '>b'}
port: 14 subport: 6
CONTROL.SET_HEATER_STATE:
About: On, or off. Duration in seconds
Supports: EPS
Arguments: {'State': '<B', 'Duration': '<u2'}
return values: {'err': '>b'}
port: 14 subport: 7
UPDATER.INITIALIZE_UPDATE:
About: Start update procedure. Provide address, size, crc. Not intended for operator use. Use updater program
Supports: OBC
Arguments: {'Address': '>u4', 'Size': '>u4', 'CRC': '>u2'}
return values: {'err': '>b'}
port: 12 subport: 0
UPDATER.PROGRAM_BLOCK:
About: Program a single block of data. Not intended for operator use. Use updater program
Supports: OBC
Arguments: {'Arg1': '>u4', 'Arg2': '>u4'}
return values: {'err': '>b'}
port: 12 subport: 1
UPDATER.GET_PROGRESS:
About: Get update progress. Not intended for operator use. Use updater program
Supports: OBC
Arguments: None
return values: {'err': '>b', 'start_addr': '>u4', 'next_addr': '>u4', 'crc': '>u2'}
port: 12 subport: 2
UPDATER.ERASE_APP:
About: Erase working image. Not intended for operator use. Use updater program
Supports: OBC
Arguments: None