Commit 0f7ff429 authored by Daniel Tonoiu's avatar Daniel Tonoiu
Browse files

implement the st[11] Time-based scheduling service

parent d8073ced
This diff is collapsed.
......@@ -57,10 +57,35 @@ Taps DEFINITIONS ::= BEGIN
packet-error []
}
TC-sched[]{
packet-version-no NULL [pattern '000'B],
packet-type NULL [pattern '1'B], -- 1 for TC, 0 for TM
has-secondary-hdr NULL [pattern '1'B], -- !!! 0 for cpdu packets
dest-apid [],
sequence-flags NULL [pattern '11'B],
sequence-count [],
packet-length [],
secondary-header [] {
pus-version-number NULL [pattern '0010'B],
ack-successful-completion [],
ack-successful-progress [],
ack-successful-start [],
ack-successful-acceptance [],
pus-type TYPE8b-ID [],
pus-subtype TYPE8b-ID [],
source-id []
},
application-data <secondary-header.pus-type, secondary-header.pus-subtype> [],
spare-tc NULL [pattern '00000000'B],
packet-error []
}
PUS <INTEGER: pus-type, INTEGER: pus-subtype> [] {
device-access <pus-subtype> [present-when pus-type == 2],
housekeeping <pus-subtype> [present-when pus-type == 3],
time-management <pus-subtype> [present-when pus-type == 9],
time-scheduling <pus-subtype> [present-when pus-type == 11],
on-board-monitoring <pus-subtype> [present-when pus-type == 12],
event-action <pus-subtype> [present-when pus-type == 19]
}
......@@ -70,6 +95,11 @@ Taps DEFINITIONS ::= BEGIN
housekeeping <pus-subtype> [present-when pus-type == 3]
}
PUS-sched <INTEGER: pus-type, INTEGER: pus-subtype> [] {
device-access <pus-subtype> [present-when pus-type == 2],
housekeeping <pus-subtype> [present-when pus-type == 3]
}
PUS-2 <INTEGER: pus-subtype> [] {
pus-2-1-device-cmds [present-when pus-subtype == 1],
pus-2-4-cpdu-cmds [present-when pus-subtype == 4]
......@@ -88,6 +118,13 @@ Taps DEFINITIONS ::= BEGIN
PUS-9 <INTEGER: pus-subtype> [] {
pus-9-1-set-rate-exp [present-when pus-subtype == 1]
}
PUS-11 <INTEGER: pus-subtype> [] {
pus-11-1-enable-funct [present-when pus-subtype == 1],
pus-11-2-disable-funct [present-when pus-subtype == 2],
pus-11-3-reset-sched [present-when pus-subtype == 3],
pus-11-4-insert-act [present-when pus-subtype == 4],
pus-11-17-summary-rep [present-when pus-subtype == 17]
}
PUS-12 <INTEGER: pus-subtype> [] {
pus-12-1-enable-def [present-when pus-subtype == 1],
pus-12-2-disable-def [present-when pus-subtype == 2],
......@@ -129,6 +166,7 @@ Taps DEFINITIONS ::= BEGIN
tm5-2 [present-when tm-type==5 tm-subtype==2],
tm5-3 [present-when tm-type==5 tm-subtype==3],
tm5-4 [present-when tm-type==5 tm-subtype==4],
tm11-13 [present-when tm-type==11 tm-subtype==13],
tm12-12 [present-when tm-type==12 tm-subtype==12],
tm12-14 [present-when tm-type==12 tm-subtype==14]
}
......
......@@ -176,6 +176,46 @@ BEGIN
ms-per-day INTEGER(0 .. 4294967295) ::= 86400000
END
--************************************************************************************************************************************************ ST[11]
-- Generic definitions for the Time-based scheduling service ST[11] service
Time-Based-Sched-Structures DEFINITIONS ::=
BEGIN
-- the scheduled activity definition
Schedule-Activity-Definition {TC-req, Time} ::= SEQUENCE {
request TC-req,
release-time Time
}
-- the scheduled activity definitions list
Schedule-Activity-Def-List{INTEGER: max-Defs, Schedule-Activity-Definition} ::= SEQUENCE ( SIZE(1 .. max-Defs) ) OF Schedule-Activity-Definition
-- the scheduled activity identifier
Sch-Req-ID{Source-ID, APID, SEQ-COUNT} ::= SEQUENCE {
sourceID Source-ID,
app-process-ID APID,
sequence-count SEQ-COUNT
}
-- the time-based schedule execution function status
Time-Sched-Exec-Funct-Status ::= ENUMERATED { disabled, enabled }
-- enable and disable the event-action function
Enable-Time-Sched-Funct ::= SEQUENCE {}
Disable-Time-Sched-Funct ::= SEQUENCE {}
-- reset the time-based schedule
Reset-Time-Sched ::= SEQUENCE {}
-- request summary-report all time-based scheduled activities
Summary-Rep-Sched ::= SEQUENCE {}
-- the TM[11,13] time-based schedule summary report
Time-Sched-Summary-Report{INTEGER: max-Notif, Sched-Summary-Notification} ::= SEQUENCE ( SIZE(0 .. max-Notif) ) OF Sched-Summary-Notification
--time-based schedule summary notification
Sched-Summary-Notification{Time, Sch-Req-ID} ::= SEQUENCE {
release-time Time,
request-ID Sch-Req-ID
}
END
--************************************************************************************************************************************************* ST[12]
-- Generic definitions for the On-board monitoring service ST[12] service
Parameter-Monitoring-Structures DEFINITIONS ::=
......@@ -319,6 +359,10 @@ FROM HK-Service-Structures
FROM Event-Reporting-Structures
CDS-Time-Report, Rate-Exp-Value-91
FROM Time-Management-Structures
Schedule-Activity-Definition, Schedule-Activity-Def-List, Sch-Req-ID,
Enable-Time-Sched-Funct, Disable-Time-Sched-Funct, Reset-Time-Sched,
Summary-Rep-Sched, Time-Sched-Summary-Report, Sched-Summary-Notification
FROM Time-Based-Sched-Structures
Parameter-Monitoring-Definition , Limit-Check , Expected-Value-Check , Param-Monitor-Def-List,
Repetition-Counter-List, Setting-Param-Monitoring-Def, Report-Def-Status, Report-Definitions-Status,
Check-Transition-Report, Check-Transit-Notification, Transition-Type, Limit-Transition, Exp-Value-Transition,
......@@ -552,6 +596,49 @@ maxEventNoInst Events-No-Inst ::= maxEventsNo
-- test-field02 BOOLEAN OPTIONAL }
--Test-TN01-inst ::= Test-TM01 (WITH COMPONENTS {..., test-field02 ABSENT})
--Test-TN01-inst ::= Test-TM01 (WITH COMPONENTS {..., test-field02 PRESENT})
--------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- ST[11] inst
-- instantiate the Time-based scheduling service ST[11] service data structures
-- instantiate the scheduled activity definition
Schedule-Activity-Def-Inst ::= Schedule-Activity-Definition {TC-sched, CDS-Spacecraft-Time-inst}
-- Instantiate the TC specific for the Time-based scheduling service
TC-sched ::= TC-type{APID, SEQ-COUNT, APUserID, PUS-sched}
-- choose between one of the PUS services for the Time-based scheduling request
PUS-sched ::= CHOICE {
device-access PUS-2,
housekeeping PUS-3
}
-- the maximum number of scheduled activity definitions
maxSch-Act-Defs INTEGER(0..255) ::= 2
-- instatiate the scheduled activity definition list
Schedule-Act-Defs-List ::= Schedule-Activity-Def-List{ maxSch-Act-Defs, Schedule-Activity-Def-Inst}
-- instantiate the scheduled activity identifier
Sch-Req-ID-inst::= Sch-Req-ID{APUserID, APID, SEQ-COUNT}
-- the time-based schedule time margin parameter
sched-time-margin INTEGER(0..65535) ::= 2000
-- the scheduled maximum delta time
sched-max-delta INTEGER(0..255) ::= 0
-- the current number of scheduled activities
Sched-Activities-No ::= INTEGER (0..maxSch-Act-Defs)
-- select a service request
PUS-11 ::= CHOICE {
pus-11-1-enable-funct Enable-Time-Sched-Funct,
pus-11-2-disable-funct Disable-Time-Sched-Funct,
pus-11-3-reset-sched Reset-Time-Sched,
pus-11-4-insert-act Schedule-Activity-Def-Inst,
pus-11-17-summary-rep Summary-Rep-Sched
}
-- instantiate the TM[11,13] time-based schedule summary report
TM-11-13 ::= Time-Sched-Summary-Report{maxSch-Act-Defs, Sched-Summary-Notification-inst}
-- instantiate the schedule summary notification
Sched-Summary-Notification-inst ::= Sched-Summary-Notification{CDS-Spacecraft-Time-inst, Sch-Req-ID-inst}
--------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- ST[12] inst
-- instantiate On-board monitoring ST[12] service data structures
......@@ -675,6 +762,7 @@ PUS-12 ::= CHOICE {
device-access PUS-2,
housekeeping PUS-3,
time-management PUS-9,
time-scheduling PUS-11,
on-board-monitoring PUS-12,
event-action PUS-19
}
......@@ -693,7 +781,9 @@ Start-Exec-failure-codes ::= ENUMERATED {
hk-param-duplicated(5),
ev-act-list-full(6),
ev-act-def-enabled(7),
ev-act-ID-notFound(8)
ev-act-ID-notFound(8),
sch-act-list-full(9),
sch-act-too-late(10)
}
Progress-Exec-failure-codes ::= ENUMERATED {
noFailure(0),
......@@ -790,6 +880,7 @@ TMs ::= CHOICE {
tm5-2 TM-5-2,
tm5-3 TM-5-3,
tm5-4 TM-5-4,
tm11-13 TM-11-13,
tm12-12 TM-12-12,
tm12-14 TM-12-14
}
......@@ -1171,6 +1262,20 @@ END
......
......@@ -60,6 +60,11 @@ WITH interfaceview::IV::event_action_st19::acceptance_st19;
WITH interfaceview::IV::event_action_st19::tm_st19;
WITH interfaceview::IV::event_action_st19::execution_ev_act;
WITH interfaceview::IV::event_action_st19::ev_act_definitions;
WITH interfaceview::IV::time_sched_st11::time_scheduling;
WITH interfaceview::IV::time_sched_st11::acceptance_st11;
WITH interfaceview::IV::time_sched_st11::tm_st11;
WITH interfaceview::IV::time_sched_st11::execution_time_sched;
WITH interfaceview::IV::time_sched_st11::sched_act_defs;
WITH ocarina_processors_x86;
WITH deploymentview::DV::Node1;
WITH Taste;
......@@ -185,6 +190,21 @@ SUBCOMPONENTS
IV_ev_act_definitions : SYSTEM interfaceview::IV::event_action_st19::ev_act_definitions::ev_act_definitions.others {
Taste::FunctionName => "ev_act_definitions";
};
IV_time_scheduling : SYSTEM interfaceview::IV::time_sched_st11::time_scheduling::time_scheduling.others {
Taste::FunctionName => "time_scheduling";
};
IV_acceptance_st11 : SYSTEM interfaceview::IV::time_sched_st11::acceptance_st11::acceptance_st11.others {
Taste::FunctionName => "acceptance_st11";
};
IV_tm_st11 : SYSTEM interfaceview::IV::time_sched_st11::tm_st11::tm_st11.others {
Taste::FunctionName => "tm_st11";
};
IV_execution_time_sched : SYSTEM interfaceview::IV::time_sched_st11::execution_time_sched::execution_time_sched.others {
Taste::FunctionName => "execution_time_sched";
};
IV_sched_act_defs : SYSTEM interfaceview::IV::time_sched_st11::sched_act_defs::sched_act_defs.others {
Taste::FunctionName => "sched_act_defs";
};
taps : PROCESS deploymentview::DV::Node1::taps.others {
Taste::coordinates => "85474 64572 179410 99940";
Deployment::Port_Number => 0;
......@@ -231,6 +251,11 @@ PROPERTIES
Taste::APLC_Binding => (reference (taps)) APPLIES TO IV_tm_st19;
Taste::APLC_Binding => (reference (taps)) APPLIES TO IV_execution_ev_act;
Taste::APLC_Binding => (reference (taps)) APPLIES TO IV_ev_act_definitions;
Taste::APLC_Binding => (reference (taps)) APPLIES TO IV_time_scheduling;
Taste::APLC_Binding => (reference (taps)) APPLIES TO IV_acceptance_st11;
Taste::APLC_Binding => (reference (taps)) APPLIES TO IV_tm_st11;
Taste::APLC_Binding => (reference (taps)) APPLIES TO IV_execution_time_sched;
Taste::APLC_Binding => (reference (taps)) APPLIES TO IV_sched_act_defs;
Actual_Processor_Binding => (reference (x86_linux)) APPLIES TO taps;
END Node1.others;
......
This diff is collapsed.
5eb1db703ecccfb656c5a5f4be669431 InterfaceView.aadl
bc52ff52b79786b6b19b180855c0db16 InterfaceView.aadl
......@@ -30,6 +30,7 @@ WITH interfaceview::IV::hk_report_st03;
WITH interfaceview::IV::on_board_monitoring_st12;
WITH interfaceview::IV::time_management_st09;
WITH interfaceview::IV::event_action_st19;
WITH interfaceview::IV::time_sched_st11;
WITH ocarina_processors_x86;
WITH deploymentview::DV::Node1;
WITH Taste;
......@@ -155,6 +156,21 @@ SUBCOMPONENTS
IV_ev_act_definitions : SYSTEM interfaceview::IV::event_action_st19::ev_act_definitions.others {
Taste::FunctionName => "ev_act_definitions";
};
IV_time_scheduling : SYSTEM interfaceview::IV::time_sched_st11::time_scheduling.others {
Taste::FunctionName => "time_scheduling";
};
IV_acceptance_st11 : SYSTEM interfaceview::IV::time_sched_st11::acceptance_st11.others {
Taste::FunctionName => "acceptance_st11";
};
IV_tm_st11 : SYSTEM interfaceview::IV::time_sched_st11::tm_st11.others {
Taste::FunctionName => "tm_st11";
};
IV_execution_time_sched : SYSTEM interfaceview::IV::time_sched_st11::execution_time_sched.others {
Taste::FunctionName => "execution_time_sched";
};
IV_sched_act_defs : SYSTEM interfaceview::IV::time_sched_st11::sched_act_defs.others {
Taste::FunctionName => "sched_act_defs";
};
taps : PROCESS deploymentview::DV::Node1::taps.others {
Taste::coordinates => "85474 64572 179410 99940";
Deployment::Port_Number => 0;
......@@ -201,6 +217,11 @@ PROPERTIES
Taste::APLC_Binding => (reference (taps)) APPLIES TO IV_tm_st19;
Taste::APLC_Binding => (reference (taps)) APPLIES TO IV_execution_ev_act;
Taste::APLC_Binding => (reference (taps)) APPLIES TO IV_ev_act_definitions;
Taste::APLC_Binding => (reference (taps)) APPLIES TO IV_time_scheduling;
Taste::APLC_Binding => (reference (taps)) APPLIES TO IV_acceptance_st11;
Taste::APLC_Binding => (reference (taps)) APPLIES TO IV_tm_st11;
Taste::APLC_Binding => (reference (taps)) APPLIES TO IV_execution_time_sched;
Taste::APLC_Binding => (reference (taps)) APPLIES TO IV_sched_act_defs;
Actual_Processor_Binding => (reference (x86_linux)) APPLIES TO taps;
END Node1.others;
......
This diff is collapsed.
......@@ -6,6 +6,32 @@ Time_Report_Generation_Rate ::= INTEGER (1 .. 256)
-- ./dataview-uniq.asn
Rate_Exp_Value_91 ::= INTEGER (0 .. 8)
-- ./dataview-uniq.asn
Time_Sched_Exec_Funct_Status ::= ENUMERATED {
disabled(0),
enabled(1)
}
-- ./dataview-uniq.asn
Enable_Time_Sched_Funct ::= SEQUENCE {
}
-- ./dataview-uniq.asn
Disable_Time_Sched_Funct ::= SEQUENCE {
}
-- ./dataview-uniq.asn
Reset_Time_Sched ::= SEQUENCE {
}
-- ./dataview-uniq.asn
Summary_Rep_Sched ::= SEQUENCE {
}
-- ./dataview-uniq.asn
PMON_function_status ::= ENUMERATED {
enabled(0),
......@@ -389,6 +415,59 @@ TM_st09 ::= SEQUENCE {
packet_error TM_st09_packet_error
}
-- ./dataview-uniq.asn
Schedule_Activity_Def_Inst ::= SEQUENCE {
request TC_sched,
release_time CDS_Spacecraft_Time_inst
}
-- ./dataview-uniq.asn
TC_sched ::= SEQUENCE {
dest_apid APID OPTIONAL,
sequence_count SEQ_COUNT,
packet_length TC_sched_packet_length,
secondary_header TC_sched_secondary_header,
application_data PUS_sched,
packet_error TC_sched_packet_error
}
-- ./dataview-uniq.asn
PUS_sched ::= CHOICE {
device_access PUS_2,
housekeeping PUS_3
}
-- ./dataview-uniq.asn
Schedule_Act_Defs_List ::= SEQUENCE (SIZE (1 .. 2)) OF Schedule_Activity_Def_Inst
-- ./dataview-uniq.asn
Sch_Req_ID_inst ::= SEQUENCE {
sourceID APUserID,
app_process_ID APID,
sequence_count SEQ_COUNT
}
-- ./dataview-uniq.asn
Sched_Activities_No ::= INTEGER (0 .. 2)
-- ./dataview-uniq.asn
PUS_11 ::= CHOICE {
pus_11_1_enable_funct Enable_Time_Sched_Funct,
pus_11_2_disable_funct Disable_Time_Sched_Funct,
pus_11_3_reset_sched Reset_Time_Sched,
pus_11_4_insert_act Schedule_Activity_Def_Inst,
pus_11_17_summary_rep Summary_Rep_Sched
}
-- ./dataview-uniq.asn
TM_11_13 ::= SEQUENCE (SIZE (0 .. 2)) OF Sched_Summary_Notification_inst
-- ./dataview-uniq.asn
Sched_Summary_Notification_inst ::= SEQUENCE {
release_time CDS_Spacecraft_Time_inst,
request_ID Sch_Req_ID_inst
}
-- ./dataview-uniq.asn
S1_status ::= ENUMERATED {
off(0),
......@@ -582,6 +661,7 @@ PUS ::= CHOICE {
device_access PUS_2,
housekeeping PUS_3,
time_management PUS_9,
time_scheduling PUS_11,
on_board_monitoring PUS_12,
event_action PUS_19
}
......@@ -606,7 +686,9 @@ Start_Exec_failure_codes ::= ENUMERATED {
hk_param_duplicated(5),
ev_act_list_full(6),
ev_act_def_enabled(7),
ev_act_ID_notFound(8)
ev_act_ID_notFound(8),
sch_act_list_full(9),
sch_act_too_late(10)
}
-- ./dataview-uniq.asn
......@@ -783,6 +865,7 @@ TMs ::= CHOICE {
tm5_2 TM_5_2,
tm5_3 TM_5_3,
tm5_4 TM_5_4,
tm11_13 TM_11_13,
tm12_12 TM_12_12,
tm12_14 TM_12_14
}
......@@ -877,6 +960,21 @@ Check_Transit_Notification_inst_check_type ::= ENUMERATED {
expected_value_check(1)
}
-- ./dataview-uniq.asn
TC_sched_packet_error ::= INTEGER (0 .. 65535)
-- ./dataview-uniq.asn
TC_sched_secondary_header ::= SEQUENCE {
ack_successful_completion BOOLEAN,
ack_successful_progress BOOLEAN,
ack_successful_start BOOLEAN,
ack_successful_acceptance BOOLEAN,
source_id APUserID
}
-- ./dataview-uniq.asn
TC_sched_packet_length ::= INTEGER (0 .. 65535)
-- ./dataview-uniq.asn
TM_st09_packet_error ::= INTEGER (0 .. 65535)
......
This diff is collapsed.
......@@ -18,6 +18,8 @@ with Event_Reporting_Structures;
use Event_Reporting_Structures;
with Time_Management_Structures;
use Time_Management_Structures;
with Time_Based_Sched_Structures;
use Time_Based_Sched_Structures;
with Parameter_Monitoring_Structures;
use Parameter_Monitoring_Structures;
with Event_Action_Structures;
......
......@@ -12,6 +12,8 @@ with Event_Reporting_Structures;
use Event_Reporting_Structures;
with Time_Management_Structures;
use Time_Management_Structures;
with Time_Based_Sched_Structures;
use Time_Based_Sched_Structures;
with Parameter_Monitoring_Structures;
use Parameter_Monitoring_Structures;
with Event_Action_Structures;
......
......@@ -176,6 +176,46 @@ BEGIN
ms-per-day INTEGER(0 .. 4294967295) ::= 86400000
END
--************************************************************************************************************************************************ ST[11]
-- Generic definitions for the Time-based scheduling service ST[11] service
Time-Based-Sched-Structures DEFINITIONS ::=
BEGIN
-- the scheduled activity definition
Schedule-Activity-Definition {TC-req, Time} ::= SEQUENCE {
request TC-req,
release-time Time
}
-- the scheduled activity definitions list
Schedule-Activity-Def-List{INTEGER: max-Defs, Schedule-Activity-Definition} ::= SEQUENCE ( SIZE(1 .. max-Defs) ) OF Schedule-Activity-Definition
-- the scheduled activity identifier
Sch-Req-ID{Source-ID, APID, SEQ-COUNT} ::= SEQUENCE {
sourceID Source-ID,
app-process-ID APID,
sequence-count SEQ-COUNT
}
-- the time-based schedule execution function status
Time-Sched-Exec-Funct-Status ::= ENUMERATED { disabled, enabled }
-- enable and disable the event-action function
Enable-Time-Sched-Funct ::= SEQUENCE {}
Disable-Time-Sched-Funct ::= SEQUENCE {}
-- reset the time-based schedule
Reset-Time-Sched ::= SEQUENCE {}
-- request summary-report all time-based scheduled activities
Summary-Rep-Sched ::= SEQUENCE {}
-- the TM[11,13] time-based schedule summary report
Time-Sched-Summary-Report{INTEGER: max-Notif, Sched-Summary-Notification} ::= SEQUENCE ( SIZE(0 .. max-Notif) ) OF Sched-Summary-Notification
--time-based schedule summary notification
Sched-Summary-Notification{Time, Sch-Req-ID} ::= SEQUENCE {
release-time Time,
request-ID Sch-Req-ID
}
END
--************************************************************************************************************************************************* ST[12]
-- Generic definitions for the On-board monitoring service ST[12] service
Parameter-Monitoring-Structures DEFINITIONS ::=
......@@ -319,6 +359,10 @@ FROM HK-Service-Structures
FROM Event-Reporting-Structures
CDS-Time-Report, Rate-Exp-Value-91
FROM Time-Management-Structures
Schedule-Activity-Definition, Schedule-Activity-Def-List, Sch-Req-ID,
Enable-Time-Sched-Funct, Disable-Time-Sched-Funct, Reset-Time-Sched,
Summary-Rep-Sched, Time-Sched-Summary-Report, Sched-Summary-Notification
FROM Time-Based-Sched-Structures
Parameter-Monitoring-Definition , Limit-Check , Expected-Value-Check , Param-Monitor-Def-List,
Repetition-Counter-List, Setting-Param-Monitoring-Def, Report-Def-Status, Report-Definitions-Status,
Check-Transition-Report, Check-Transit-Notification, Transition-Type, Limit-Transition, Exp-Value-Transition,
......@@ -552,6 +596,49 @@ maxEventNoInst Events-No-Inst ::= maxEventsNo
-- test-field02 BOOLEAN OPTIONAL }
--Test-TN01-inst ::= Test-TM01 (WITH COMPONENTS {..., test-field02 ABSENT})
--Test-TN01-inst ::= Test-TM01 (WITH COMPONENTS {..., test-field02 PRESENT})
--------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- ST[11] inst
-- instantiate the Time-based scheduling service ST[11] service data structures
-- instantiate the scheduled activity definition
Schedule-Activity-Def-Inst ::= Schedule-Activity-Definition {TC-sched, CDS-Spacecraft-Time-inst}
-- Instantiate the TC specific for the Time-based scheduling service
TC-sched ::= TC-type{APID, SEQ-COUNT, APUserID, PUS-sched}
-- choose between one of the PUS services for the Time-based scheduling request
PUS-sched ::= CHOICE {
device-access PUS-2,
housekeeping PUS-3
}
-- the maximum number of scheduled activity definitions
maxSch-Act-Defs INTEGER(0..255) ::= 2
-- instatiate the scheduled activity definition list
Schedule-Act-Defs-List ::= Schedule-Activity-Def-List{ maxSch-Act-Defs, Schedule-Activity-Def-Inst}
-- instantiate the scheduled activity identifier
Sch-Req-ID-inst::= Sch-Req-ID{APUserID, APID, SEQ-COUNT}
-- the time-based schedule time margin parameter
sched-time-margin INTEGER(0..65535) ::= 2000
-- the scheduled maximum delta time
sched-max-delta INTEGER(0..255) ::= 0
-- the current number of scheduled activities
Sched-Activities-No ::= INTEGER (0..maxSch-Act-Defs)
-- select a service request
PUS-11 ::= CHOICE {
pus-11-1-enable-funct Enable-Time-Sched-Funct,
pus-11-2-disable-funct Disable-Time-Sched-Funct,
pus-11-3-reset-sched Reset-Time-Sched,
pus-11-4-insert-act Schedule-Activity-Def-Inst,
pus-11-17-summary-rep Summary-Rep-Sched
}
-- instantiate the TM[11,13] time-based schedule summary report
TM-11-13 ::= Time-Sched-Summary-Report{maxSch-Act-Defs, Sched-Summary-Notification-inst}
-- instantiate the schedule summary notification
Sched-Summary-Notification-inst ::= Sched-Summary-Notification{CDS-Spacecraft-Time-inst, Sch-Req-ID-inst}
--------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- ST[12] inst
-- instantiate On-board monitoring ST[12] service data structures
......@@ -675,6 +762,7 @@ PUS-12 ::= CHOICE {
device-access PUS-2,
housekeeping PUS-3,
time-management PUS-9,
time-scheduling PUS-11,
on-board-monitoring PUS-12,
event-action PUS-19
}
......@@ -693,7 +781,9 @@ Start-Exec-failure-codes ::= ENUMERATED {
hk-param-duplicated(5),
ev-act-list-full(6),
ev-act-def-enabled(7),
ev-act-ID-notFound(8)
ev-act-ID-notFound(8),
sch-act-list-full(9),
sch-act-too-late(10)
}
Progress-Exec-failure-codes ::= ENUMERATED {
noFailure(0),
......@@ -790,6 +880,7 @@ TMs ::= CHOICE {
tm5-2 TM-5-2,
tm5-3 TM-5-3,
tm5-4 TM-5-4,
tm11-13 TM-11-13,
tm12-12 TM-12-12,
tm12-14 TM-12-14
}
......@@ -1171,6 +1262,20 @@ END
......
This diff is collapsed.
......@@ -6,6 +6,32 @@ Time_Report_Generation_Rate ::= INTEGER (1 .. 256)
-- ./dataview-uniq.asn
Rate_Exp_Value_91 ::= INTEGER (0 .. 8)
-- ./dataview-uniq.asn
Time_Sched_Exec_Funct_Status ::= ENUMERATED {
disabled(0),
enabled(1)
}
-- ./dataview-uniq.asn
Enable_Time_Sched_Funct ::= SEQUENCE {
}
-- ./dataview-uniq.asn
Disable_Time_Sched_Funct ::= SEQUENCE {
}