@@ -1,6 +1,6 | |||
|
1 | 1 | <?xml version="1.0" encoding="UTF-8"?> |
|
2 | 2 | <!DOCTYPE QtCreatorProject> |
|
3 |
<!-- Written by QtCreator 3.0.0, 2014-0 |
|
|
3 | <!-- Written by QtCreator 3.0.0, 2014-03-03T15:48:45. --> | |
|
4 | 4 | <qtcreator> |
|
5 | 5 | <data> |
|
6 | 6 | <variable>ProjectExplorer.Project.ActiveTarget</variable> |
@@ -547,7 +547,7 void MainWindow::buildWFAndDisplay_CWF_F | |||
|
547 | 547 | } |
|
548 | 548 | } |
|
549 | 549 | |
|
550 |
void MainWindow::build |
|
|
550 | void MainWindow::build_ASM_AndDisplay_NORM_F0(TMPacketToRead *packet, SpectraPacket *spectraPacket) | |
|
551 | 551 | { |
|
552 | 552 | unsigned int i; |
|
553 | 553 | unsigned int j; |
@@ -705,7 +705,7 void MainWindow::preProcessPacket(TMPack | |||
|
705 | 705 | buildWFAndDisplay_CWF_F2(packet, wfPacketSBM2); |
|
706 | 706 | break; |
|
707 | 707 | case SID_NORMAL_ASM_F0: |
|
708 |
build |
|
|
708 | build_ASM_AndDisplay_NORM_F0(packet, spectraPacketNormalSpectrumF0); | |
|
709 | 709 | break; |
|
710 | 710 | } |
|
711 | 711 | } |
@@ -42,7 +42,7 public: | |||
|
42 | 42 | void buildWFAndDisplayBurst(TMPacketToRead *packet, WFPacket *wfPacket); |
|
43 | 43 | void buildWFAndDisplay_CWF_F1(TMPacketToRead *packet, WFPacket *wfPacket); |
|
44 | 44 | void buildWFAndDisplay_CWF_F2(TMPacketToRead *packet, WFPacket *wfPacket); |
|
45 |
void build |
|
|
45 | void build_ASM_AndDisplay_NORM_F0(TMPacketToRead *packet, SpectraPacket *spectraPacket); | |
|
46 | 46 | |
|
47 | 47 | protected: |
|
48 | 48 | void closeEvent(QCloseEvent *); |
@@ -3,7 +3,7 | |||
|
3 | 3 | # Generated by qmake (3.0) (Qt 5.2.0) |
|
4 | 4 | # Project: parameterdump.pro |
|
5 | 5 | # Template: lib |
|
6 | # Command: /bin/qmake-qt5 -spec linux-g++-64 CONFIG+=debug CONFIG+=declarative_debug CONFIG+=qml_debug -o Makefile parameterdump.pro | |
|
6 | # Command: /usr/bin/qmake-qt5 -o Makefile parameterdump.pro | |
|
7 | 7 | ############################################################################# |
|
8 | 8 | |
|
9 | 9 | MAKEFILE = Makefile |
@@ -12,16 +12,16 MAKEFILE = Makefile | |||
|
12 | 12 | |
|
13 | 13 | CC = gcc |
|
14 | 14 | CXX = g++ |
|
15 |
DEFINES = -DPARAMETERDUMP_LIBRARY -DQT_ |
|
|
16 | CFLAGS = -m64 -pipe -g -Wall -W -D_REENTRANT -fPIC $(DEFINES) | |
|
17 | CXXFLAGS = -m64 -pipe -g -Wall -W -D_REENTRANT -fPIC $(DEFINES) | |
|
15 | DEFINES = -DPARAMETERDUMP_LIBRARY -DQT_NO_DEBUG -DQT_PRINTSUPPORT_LIB -DQT_WIDGETS_LIB -DQT_GUI_LIB -DQT_CORE_LIB | |
|
16 | CFLAGS = -m64 -pipe -O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches -m64 -mtune=generic -O2 -Wall -W -D_REENTRANT -fPIC $(DEFINES) | |
|
17 | CXXFLAGS = -m64 -pipe -O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches -m64 -mtune=generic -O2 -Wall -W -D_REENTRANT -fPIC $(DEFINES) | |
|
18 | 18 | INCPATH = -I/usr/lib64/qt5/mkspecs/linux-g++-64 -I. -I../../DEV_PLE/header -I../rmapplugin -I. -I/usr/include/qt5 -I/usr/include/qt5/QtPrintSupport -I/usr/include/qt5/QtWidgets -I/usr/include/qt5/QtGui -I/usr/include/qt5/QtCore -I. |
|
19 | 19 | LINK = g++ |
|
20 | LFLAGS = -m64 -shared -Wl,-soname,libparameterdump.so.1 | |
|
20 | LFLAGS = -m64 -Wl,-O1 -Wl,-z,relro -shared -Wl,-soname,libparameterdump.so.1 | |
|
21 | 21 | LIBS = $(SUBLIBS) -L/usr/X11R6/lib64 -lQt5PrintSupport -lQt5Widgets -lQt5Gui -lQt5Core -lGL -lpthread |
|
22 | 22 | AR = ar cqs |
|
23 | 23 | RANLIB = |
|
24 | QMAKE = /bin/qmake-qt5 | |
|
24 | QMAKE = /usr/bin/qmake-qt5 | |
|
25 | 25 | TAR = tar -cf |
|
26 | 26 | COMPRESS = gzip -9f |
|
27 | 27 | COPY = cp -f |
@@ -65,13 +65,12 DIST = /usr/lib64/qt5/mkspecs/f | |||
|
65 | 65 | /usr/lib64/qt5/mkspecs/common/g++-base.conf \ |
|
66 | 66 | /usr/lib64/qt5/mkspecs/common/g++-unix.conf \ |
|
67 | 67 | /usr/lib64/qt5/mkspecs/qconfig.pri \ |
|
68 | /usr/lib64/qt5/mkspecs/modules/qt_lib_accountsservice.pri \ | |
|
69 | 68 | /usr/lib64/qt5/mkspecs/modules/qt_lib_bootstrap_private.pri \ |
|
70 | 69 | /usr/lib64/qt5/mkspecs/modules/qt_lib_clucene_private.pri \ |
|
71 | 70 | /usr/lib64/qt5/mkspecs/modules/qt_lib_compositor.pri \ |
|
71 | /usr/lib64/qt5/mkspecs/modules/qt_lib_compositor_private.pri \ | |
|
72 | 72 | /usr/lib64/qt5/mkspecs/modules/qt_lib_concurrent.pri \ |
|
73 | 73 | /usr/lib64/qt5/mkspecs/modules/qt_lib_concurrent_private.pri \ |
|
74 | /usr/lib64/qt5/mkspecs/modules/qt_lib_configuration.pri \ | |
|
75 | 74 | /usr/lib64/qt5/mkspecs/modules/qt_lib_core.pri \ |
|
76 | 75 | /usr/lib64/qt5/mkspecs/modules/qt_lib_core_private.pri \ |
|
77 | 76 | /usr/lib64/qt5/mkspecs/modules/qt_lib_dbus.pri \ |
@@ -139,8 +138,6 DIST = /usr/lib64/qt5/mkspecs/f | |||
|
139 | 138 | /usr/lib64/qt5/mkspecs/features/default_pre.prf \ |
|
140 | 139 | /usr/lib64/qt5/mkspecs/features/resolve_config.prf \ |
|
141 | 140 | /usr/lib64/qt5/mkspecs/features/default_post.prf \ |
|
142 | /usr/lib64/qt5/mkspecs/features/qml_debug.prf \ | |
|
143 | /usr/lib64/qt5/mkspecs/features/declarative_debug.prf \ | |
|
144 | 141 | /usr/lib64/qt5/mkspecs/features/unix/gdb_dwarf_index.prf \ |
|
145 | 142 | /usr/lib64/qt5/mkspecs/features/warn_on.prf \ |
|
146 | 143 | /usr/lib64/qt5/mkspecs/features/qt.prf \ |
@@ -195,7 +192,6 all: Makefile $(TARGET) | |||
|
195 | 192 | -ln -s $(TARGET) $(TARGET0) |
|
196 | 193 | -ln -s $(TARGET) $(TARGET1) |
|
197 | 194 | -ln -s $(TARGET) $(TARGET2) |
|
198 | { test -z "$(DESTDIR)" || cd "$(DESTDIR)"; } && test $$(gdb --version | sed -e 's,[^0-9][^0-9]*\([0-9]\)\.\([0-9]\).*,\1\2,;q') -gt 72 && gdb --nx --batch --quiet -ex 'set confirm off' -ex "save gdb-index ." -ex quit '$(TARGET)' && test -f $(TARGET).gdb-index && objcopy --add-section '.gdb_index=$(TARGET).gdb-index' --set-section-flags '.gdb_index=readonly' '$(TARGET)' '$(TARGET)' && rm -f $(TARGET).gdb-index || true | |
|
199 | 195 | |
|
200 | 196 | |
|
201 | 197 | |
@@ -214,13 +210,12 Makefile: parameterdump.pro /usr/lib64/q | |||
|
214 | 210 | /usr/lib64/qt5/mkspecs/common/g++-base.conf \ |
|
215 | 211 | /usr/lib64/qt5/mkspecs/common/g++-unix.conf \ |
|
216 | 212 | /usr/lib64/qt5/mkspecs/qconfig.pri \ |
|
217 | /usr/lib64/qt5/mkspecs/modules/qt_lib_accountsservice.pri \ | |
|
218 | 213 | /usr/lib64/qt5/mkspecs/modules/qt_lib_bootstrap_private.pri \ |
|
219 | 214 | /usr/lib64/qt5/mkspecs/modules/qt_lib_clucene_private.pri \ |
|
220 | 215 | /usr/lib64/qt5/mkspecs/modules/qt_lib_compositor.pri \ |
|
216 | /usr/lib64/qt5/mkspecs/modules/qt_lib_compositor_private.pri \ | |
|
221 | 217 | /usr/lib64/qt5/mkspecs/modules/qt_lib_concurrent.pri \ |
|
222 | 218 | /usr/lib64/qt5/mkspecs/modules/qt_lib_concurrent_private.pri \ |
|
223 | /usr/lib64/qt5/mkspecs/modules/qt_lib_configuration.pri \ | |
|
224 | 219 | /usr/lib64/qt5/mkspecs/modules/qt_lib_core.pri \ |
|
225 | 220 | /usr/lib64/qt5/mkspecs/modules/qt_lib_core_private.pri \ |
|
226 | 221 | /usr/lib64/qt5/mkspecs/modules/qt_lib_dbus.pri \ |
@@ -288,8 +283,6 Makefile: parameterdump.pro /usr/lib64/q | |||
|
288 | 283 | /usr/lib64/qt5/mkspecs/features/default_pre.prf \ |
|
289 | 284 | /usr/lib64/qt5/mkspecs/features/resolve_config.prf \ |
|
290 | 285 | /usr/lib64/qt5/mkspecs/features/default_post.prf \ |
|
291 | /usr/lib64/qt5/mkspecs/features/qml_debug.prf \ | |
|
292 | /usr/lib64/qt5/mkspecs/features/declarative_debug.prf \ | |
|
293 | 286 | /usr/lib64/qt5/mkspecs/features/unix/gdb_dwarf_index.prf \ |
|
294 | 287 | /usr/lib64/qt5/mkspecs/features/warn_on.prf \ |
|
295 | 288 | /usr/lib64/qt5/mkspecs/features/qt.prf \ |
@@ -307,7 +300,7 Makefile: parameterdump.pro /usr/lib64/q | |||
|
307 | 300 | /lib64/libQt5Widgets.prl \ |
|
308 | 301 | /lib64/libQt5Gui.prl \ |
|
309 | 302 | /lib64/libQt5Core.prl |
|
310 | $(QMAKE) -spec linux-g++-64 CONFIG+=debug CONFIG+=declarative_debug CONFIG+=qml_debug -o Makefile parameterdump.pro | |
|
303 | $(QMAKE) -o Makefile parameterdump.pro | |
|
311 | 304 | /usr/lib64/qt5/mkspecs/features/spec_pre.prf: |
|
312 | 305 | /usr/lib64/qt5/mkspecs/common/shell-unix.conf: |
|
313 | 306 | /usr/lib64/qt5/mkspecs/common/unix.conf: |
@@ -317,13 +310,12 Makefile: parameterdump.pro /usr/lib64/q | |||
|
317 | 310 | /usr/lib64/qt5/mkspecs/common/g++-base.conf: |
|
318 | 311 | /usr/lib64/qt5/mkspecs/common/g++-unix.conf: |
|
319 | 312 | /usr/lib64/qt5/mkspecs/qconfig.pri: |
|
320 | /usr/lib64/qt5/mkspecs/modules/qt_lib_accountsservice.pri: | |
|
321 | 313 | /usr/lib64/qt5/mkspecs/modules/qt_lib_bootstrap_private.pri: |
|
322 | 314 | /usr/lib64/qt5/mkspecs/modules/qt_lib_clucene_private.pri: |
|
323 | 315 | /usr/lib64/qt5/mkspecs/modules/qt_lib_compositor.pri: |
|
316 | /usr/lib64/qt5/mkspecs/modules/qt_lib_compositor_private.pri: | |
|
324 | 317 | /usr/lib64/qt5/mkspecs/modules/qt_lib_concurrent.pri: |
|
325 | 318 | /usr/lib64/qt5/mkspecs/modules/qt_lib_concurrent_private.pri: |
|
326 | /usr/lib64/qt5/mkspecs/modules/qt_lib_configuration.pri: | |
|
327 | 319 | /usr/lib64/qt5/mkspecs/modules/qt_lib_core.pri: |
|
328 | 320 | /usr/lib64/qt5/mkspecs/modules/qt_lib_core_private.pri: |
|
329 | 321 | /usr/lib64/qt5/mkspecs/modules/qt_lib_dbus.pri: |
@@ -391,8 +383,6 Makefile: parameterdump.pro /usr/lib64/q | |||
|
391 | 383 | /usr/lib64/qt5/mkspecs/features/default_pre.prf: |
|
392 | 384 | /usr/lib64/qt5/mkspecs/features/resolve_config.prf: |
|
393 | 385 | /usr/lib64/qt5/mkspecs/features/default_post.prf: |
|
394 | /usr/lib64/qt5/mkspecs/features/qml_debug.prf: | |
|
395 | /usr/lib64/qt5/mkspecs/features/declarative_debug.prf: | |
|
396 | 386 | /usr/lib64/qt5/mkspecs/features/unix/gdb_dwarf_index.prf: |
|
397 | 387 | /usr/lib64/qt5/mkspecs/features/warn_on.prf: |
|
398 | 388 | /usr/lib64/qt5/mkspecs/features/qt.prf: |
@@ -411,7 +401,7 parameterdump.pro: | |||
|
411 | 401 | /lib64/libQt5Gui.prl: |
|
412 | 402 | /lib64/libQt5Core.prl: |
|
413 | 403 | qmake: FORCE |
|
414 | @$(QMAKE) -spec linux-g++-64 CONFIG+=debug CONFIG+=declarative_debug CONFIG+=qml_debug -o Makefile parameterdump.pro | |
|
404 | @$(QMAKE) -o Makefile parameterdump.pro | |
|
415 | 405 | |
|
416 | 406 | qmake_all: FORCE |
|
417 | 407 | |
@@ -576,6 +566,7 moc_parameterdump.cpp: /usr/include/qt5/ | |||
|
576 | 566 | /usr/include/qt5/QtCore/QObject \ |
|
577 | 567 | ../../DEV_PLE/header/TC_types.h \ |
|
578 | 568 | ../../DEV_PLE/header/ccsds_types.h \ |
|
569 | ../../DEV_PLE/header/fsw_params_processing.h \ | |
|
579 | 570 | parameterdump_global.h \ |
|
580 | 571 | tcpackettosend.h \ |
|
581 | 572 | parameterdump.h |
@@ -642,6 +633,7 moc_tcpackettosend.cpp: /usr/include/qt5 | |||
|
642 | 633 | parameterdump_global.h \ |
|
643 | 634 | ../../DEV_PLE/header/TC_types.h \ |
|
644 | 635 | ../../DEV_PLE/header/ccsds_types.h \ |
|
636 | ../../DEV_PLE/header/fsw_params_processing.h \ | |
|
645 | 637 | tcpackettosend.h |
|
646 | 638 | /usr/lib64/qt5/bin/moc $(DEFINES) $(INCPATH) -I/usr/lib/gcc/include/c++/4.8.2 -I/usr/lib/gcc/include/c++/4.8.2/x86_64-redhat-linux -I/usr/lib/gcc/include/c++/4.8.2/backward -I/usr/lib/gcc/x86_64-redhat-linux/4.8.2/include -I/usr/local/include -I/usr/include tcpackettosend.h -o moc_tcpackettosend.cpp |
|
647 | 639 | |
@@ -853,6 +845,7 parameterdump.o: parameterdump.cpp param | |||
|
853 | 845 | /usr/include/qt5/QtCore/QObject \ |
|
854 | 846 | ../../DEV_PLE/header/TC_types.h \ |
|
855 | 847 | ../../DEV_PLE/header/ccsds_types.h \ |
|
848 | ../../DEV_PLE/header/fsw_params_processing.h \ | |
|
856 | 849 | parameterdump_global.h \ |
|
857 | 850 | tcpackettosend.h |
|
858 | 851 | $(CXX) -c $(CXXFLAGS) $(INCPATH) -o parameterdump.o parameterdump.cpp |
@@ -918,7 +911,8 tcpackettosend.o: tcpackettosend.cpp tcp | |||
|
918 | 911 | /usr/include/qt5/QtCore/qobject_impl.h \ |
|
919 | 912 | parameterdump_global.h \ |
|
920 | 913 | ../../DEV_PLE/header/TC_types.h \ |
|
921 | ../../DEV_PLE/header/ccsds_types.h | |
|
914 | ../../DEV_PLE/header/ccsds_types.h \ | |
|
915 | ../../DEV_PLE/header/fsw_params_processing.h | |
|
922 | 916 | $(CXX) -c $(CXXFLAGS) $(INCPATH) -o tcpackettosend.o tcpackettosend.cpp |
|
923 | 917 | |
|
924 | 918 | tmpackettoread.o: ../rmapplugin/tmpackettoread.cpp ../rmapplugin/tmpackettoread.h \ |
@@ -1009,6 +1003,7 uninstall_header: FORCE | |||
|
1009 | 1003 | install_target: first FORCE |
|
1010 | 1004 | @test -d $(INSTALL_ROOT)/usr/lib64 || mkdir -p $(INSTALL_ROOT)/usr/lib64 |
|
1011 | 1005 | -$(INSTALL_PROGRAM) "$(TARGET)" "$(INSTALL_ROOT)/usr/lib64/$(TARGET)" |
|
1006 | -$(STRIP) --strip-unneeded "$(INSTALL_ROOT)/usr/lib64/$(TARGET)" | |
|
1012 | 1007 | -$(SYMLINK) "$(TARGET)" "$(INSTALL_ROOT)/usr/lib64/$(TARGET0)" |
|
1013 | 1008 | -$(SYMLINK) "$(TARGET)" "$(INSTALL_ROOT)/usr/lib64/$(TARGET1)" |
|
1014 | 1009 | -$(SYMLINK) "$(TARGET)" "$(INSTALL_ROOT)/usr/lib64/$(TARGET2)" |
@@ -310,7 +310,7 void ParameterDump::sendParameterDump() | |||
|
310 | 310 | packet.ccsdsSecHeaderFlag_pusVersion_ack = 0x19; |
|
311 | 311 | packet.serviceType = TC_TYPE_DEFAULT; |
|
312 | 312 | packet.serviceSubType = TC_SUBTYPE_DUMP; |
|
313 |
packet.sourceID = SID_TC_ |
|
|
313 | packet.sourceID = SID_TC_RPW_INTERNAL; | |
|
314 | 314 | |
|
315 | 315 | packetToSend->GetCRCAsTwoBytes((unsigned char*) &packet, crcAsTwoBytes, |
|
316 | 316 | PACKET_LENGTH_TC_LFR_DUMP_PAR + CCSDS_TC_TM_PACKET_OFFSET - 2); |
@@ -336,7 +336,7 void ParameterDump::sendLoadCommon() | |||
|
336 | 336 | packet.ccsdsSecHeaderFlag_pusVersion_ack = TC_LFR_DATA_FIELD_HEADER0; |
|
337 | 337 | packet.serviceType = TC_TYPE_DEFAULT; |
|
338 | 338 | packet.serviceSubType = TC_SUBTYPE_LOAD_COMMON_PAR; |
|
339 |
packet.sourceID = SID_TC_ |
|
|
339 | packet.sourceID = SID_TC_RPW_INTERNAL; | |
|
340 | 340 | packet.spare = TC_LFR_LOAD_COMMON_PAR_SPARE; |
|
341 | 341 | packet.bw_sp0_sp1_r0_r1 = (spinbox_sy_lfr_bw->value() << 4) |
|
342 | 342 | + (spinbox_sy_lfr_sp0->value() << 3) |
@@ -368,7 +368,7 void ParameterDump::sendLoadNormal() | |||
|
368 | 368 | packet.ccsdsSecHeaderFlag_pusVersion_ack = TC_LFR_DATA_FIELD_HEADER0; |
|
369 | 369 | packet.serviceType = TC_TYPE_DEFAULT; |
|
370 | 370 | packet.serviceSubType = TC_SUBTYPE_LOAD_NORMAL_PAR; |
|
371 |
packet.sourceID = SID_TC_ |
|
|
371 | packet.sourceID = SID_TC_RPW_INTERNAL; | |
|
372 | 372 | packet.sy_lfr_n_swf_l[0] = (unsigned char) (spinbox_sy_lfr_n_swf_l->value() >> 8 ); |
|
373 | 373 | packet.sy_lfr_n_swf_l[1] = (unsigned char) (spinbox_sy_lfr_n_swf_l->value() ); |
|
374 | 374 | packet.sy_lfr_n_swf_p[0] = (unsigned char) (spinbox_sy_lfr_n_swf_p->value() >> 8 ); |
@@ -404,7 +404,7 void ParameterDump::sendLoadBurst() | |||
|
404 | 404 | packet.ccsdsSecHeaderFlag_pusVersion_ack = TC_LFR_DATA_FIELD_HEADER0; |
|
405 | 405 | packet.serviceType = TC_TYPE_DEFAULT; |
|
406 | 406 | packet.serviceSubType = TC_SUBTYPE_LOAD_BURST_PAR; |
|
407 |
packet.sourceID = SID_TC_ |
|
|
407 | packet.sourceID = SID_TC_RPW_INTERNAL; | |
|
408 | 408 | packet.sy_lfr_bp_p0 = (unsigned char) (spinbox_sy_lfr_b_bp_p0->value() ); |
|
409 | 409 | packet.sy_lfr_bp_p1 = (unsigned char) (spinbox_sy_lfr_b_bp_p1->value() ); |
|
410 | 410 | |
@@ -432,7 +432,7 void ParameterDump::sendLoadSBM1() | |||
|
432 | 432 | packet.ccsdsSecHeaderFlag_pusVersion_ack = TC_LFR_DATA_FIELD_HEADER0; |
|
433 | 433 | packet.serviceType = TC_TYPE_DEFAULT; |
|
434 | 434 | packet.serviceSubType = TC_SUBTYPE_LOAD_SBM1_PAR; |
|
435 |
packet.sourceID = SID_TC_ |
|
|
435 | packet.sourceID = SID_TC_RPW_INTERNAL; | |
|
436 | 436 | packet.sy_lfr_bp_p0 = (unsigned char) (spinbox_sy_lfr_s1_bp_p0->value() ); |
|
437 | 437 | packet.sy_lfr_bp_p1 = (unsigned char) (spinbox_sy_lfr_s1_bp_p1->value() ); |
|
438 | 438 | |
@@ -460,7 +460,7 void ParameterDump::sendLoadSBM2() | |||
|
460 | 460 | packet.ccsdsSecHeaderFlag_pusVersion_ack = TC_LFR_DATA_FIELD_HEADER0; |
|
461 | 461 | packet.serviceType = TC_TYPE_DEFAULT; |
|
462 | 462 | packet.serviceSubType = TC_SUBTYPE_LOAD_SBM2_PAR; |
|
463 |
packet.sourceID = SID_TC_ |
|
|
463 | packet.sourceID = SID_TC_RPW_INTERNAL; | |
|
464 | 464 | packet.sy_lfr_bp_p0 = (unsigned char) (spinbox_sy_lfr_s2_bp_p0->value() ); |
|
465 | 465 | packet.sy_lfr_bp_p1 = (unsigned char) (spinbox_sy_lfr_s2_bp_p1->value() ); |
|
466 | 466 |
@@ -87,7 +87,7 void EnterMode::sendEnterMode( unsigned | |||
|
87 | 87 | packet.ccsdsSecHeaderFlag_pusVersion_ack = 0x19; |
|
88 | 88 | packet.serviceType = TC_TYPE_DEFAULT; |
|
89 | 89 | packet.serviceSubType = TC_SUBTYPE_ENTER_MODE; |
|
90 |
packet.sourceID = SID_TC_ |
|
|
90 | packet.sourceID = SID_TC_RPW_INTERNAL; | |
|
91 | 91 | packet.spare = 0x00; |
|
92 | 92 | packet.mode = mode; |
|
93 | 93 | packet.enterModeTime[0] = 0x00; |
@@ -146,7 +146,7 void EnterMode::sendReset() | |||
|
146 | 146 | packet.ccsdsSecHeaderFlag_pusVersion_ack = 0x19; |
|
147 | 147 | packet.serviceType = TC_TYPE_DEFAULT; |
|
148 | 148 | packet.serviceSubType = TC_SUBTYPE_RESET; |
|
149 |
packet.sourceID = SID_TC_ |
|
|
149 | packet.sourceID = SID_TC_RPW_INTERNAL; | |
|
150 | 150 | |
|
151 | 151 | parameterDump->GetCRCAsTwoBytes((unsigned char*) &packet, crcAsTwoBytes, |
|
152 | 152 | PACKET_LENGTH_TC_LFR_RESET + CCSDS_TC_TM_PACKET_OFFSET - 2); |
@@ -172,7 +172,7 void EnterMode::sendUpdateInfo() | |||
|
172 | 172 | packet.ccsdsSecHeaderFlag_pusVersion_ack = 0x19; |
|
173 | 173 | packet.serviceType = TC_TYPE_DEFAULT; |
|
174 | 174 | packet.serviceSubType = TC_SUBTYPE_UPDATE_INFO; |
|
175 |
packet.sourceID = SID_TC_ |
|
|
175 | packet.sourceID = SID_TC_RPW_INTERNAL; | |
|
176 | 176 | |
|
177 | 177 | packet.set1 = 0x00; |
|
178 | 178 | packet.set2 = 0x00; |
@@ -229,7 +229,7 void EnterMode::sendEnableCalibration() | |||
|
229 | 229 | packet.ccsdsSecHeaderFlag_pusVersion_ack = 0x19; |
|
230 | 230 | packet.serviceType = TC_TYPE_DEFAULT; |
|
231 | 231 | packet.serviceSubType = TC_SUBTYPE_ENABLE_CALIBRATION; |
|
232 |
packet.sourceID = SID_TC_ |
|
|
232 | packet.sourceID = SID_TC_RPW_INTERNAL; | |
|
233 | 233 | |
|
234 | 234 | parameterDump->GetCRCAsTwoBytes((unsigned char*) &packet, crcAsTwoBytes, |
|
235 | 235 | PACKET_LENGTH_TC_LFR_ENABLE_CALIBRATION + CCSDS_TC_TM_PACKET_OFFSET - 2); |
@@ -255,7 +255,7 void EnterMode::sendDisableCalibration() | |||
|
255 | 255 | packet.ccsdsSecHeaderFlag_pusVersion_ack = 0x19; |
|
256 | 256 | packet.serviceType = TC_TYPE_DEFAULT; |
|
257 | 257 | packet.serviceSubType = TC_SUBTYPE_DISABLE_CALIBRATION; |
|
258 |
packet.sourceID = SID_TC_ |
|
|
258 | packet.sourceID = SID_TC_RPW_INTERNAL; | |
|
259 | 259 | |
|
260 | 260 | parameterDump->GetCRCAsTwoBytes((unsigned char*) &packet, crcAsTwoBytes, |
|
261 | 261 | PACKET_LENGTH_TC_LFR_DISABLE_CALIBRATION + CCSDS_TC_TM_PACKET_OFFSET - 2); |
General Comments 0
You need to be logged in to leave comments.
Login now