You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
Commit 3b0a90d
Browse filesBrowse the repository at this point in the historyBrowse files
Copy file name to clipboardExpand all lines: docs/cFE_FunctionalRequirements.csv
+17-4Lines changed: 17 additions & 4 deletions
Original file line number
Diff line number
Diff line change
@@ -464,12 +464,15 @@ SB: Zero Counters,cSB4001,"Upon receipt of a Command, the cFE shall set to zero
464
464
- Valid command counter
465
465
- Invalid command counter
466
466
- No subscriptions counter
467
-
- Duplicate subscriptions counter
468
467
- Message send error counter
469
468
- Message receive error counter
470
469
- Queue read or write error counter
471
470
- Create Pipe error counter
472
471
- Subscribe error counter
472
+
- Pipe options error counter
473
+
- Duplicate subscriptions counter
474
+
- Get pipe ID by name error counter
475
+
- Delete Pipe error counter
473
476
- Pipe Overflow error counter
474
477
- MsgId-to-pipe limit error counter",Providing a command to zero the counters eliminates the need for operators or onboard scripts to keep track of the last value of the counter.
475
478
SB: Statistics Message,cSB4002,"Upon receipt of a Command, the cFE shall send an SB Message containing the SB statistics.","Visibility of the SB statistics is essential for FSW diagnostics, testing, and maintenance."
@@ -489,6 +492,7 @@ SB: Housekeeping Message,cSB4005,"Upon receipt of a Message, the cFE shall gener
489
492
- Pipe options error counter
490
493
- Duplicate subscriptions counter
491
494
- Get pipe ID by name error counter
495
+
- Delete Pipe error counter
492
496
- Pipe Overflow error counter
493
497
- MsgId-to-pipe limit error counter
494
498
- Memory pool handle
@@ -504,19 +508,25 @@ SB: Enable Subscription Reporting,cSB4011,"Upon receipt of a Message, the cFE sh
504
508
SB: Disable Subscription Reporting,cSB4012,"Upon receipt of a Message, the cFE shall disable generation of a message when a subscription is received.",Subscription reporting intended for use by software bus network class of applications.
505
509
SB: Send Previous Subscriptions,cSB4013,"Upon receipt of a Message, the cFE shall generate messages for current subscriptions.",Subscription reporting intended for use by software bus network class of applications.
506
510
SB: Create Pipe,cSB4301,"Upon receipt of a Request to create a Pipe, the cFE shall create a Pipe with the Request-specified Pipe Depth and the Request-specified name.",Run time creation of Pipes supports the cFE goals of easy Application integration and system reconfiguration.
511
+
SB: Create Pipe - Error Counter,cSB4301.1,"If the Request to create a Pipe fails (e.g., invalid arguments, the maximum number of Pipes has been reached, or the underlying queue cannot be created), the cFE shall increment the Create Pipe error counter and issue an event message.",Provides operators visibility into failed pipe creation attempts.
507
512
SB: Delete Pipe,cSB4302,"Upon receipt of a Request to delete a Pipe, the cFE shall Unsubscribe all messages to the Request-specified Pipe, then remove the Pipe from the Routing Information.",An Application must be capable of freeing its own resources.
513
+
SB: Delete Pipe - Error Counter,cSB4302.1,"If the Request to delete a Pipe fails validation (e.g., an invalid Pipe ID, or the requestor is not the owner of the Pipe), the cFE shall increment the Delete Pipe error counter and issue an event message.",Provides operators visibility into failed pipe deletion attempts and keeps them distinct from create pipe errors.
508
514
SB: Subscribe To Message,cSB4303,"Upon receipt of a Request to Subscribe to an SB message, the cFE shall establish a route using the Request-specified Message ID, the Request-specified Pipe ID, the Request-specified MsgId-to-Pipe limit and the Request-specified QoS.",Run time subscription supports the cFE goals of easy system integration and run time reconfigurations.
509
-
SB: Subscribe To Message - Duplicate,cSB4303.1,"If the Subscription is a duplicate of a previous subscription, the cFE shall issue an event message.","Duplicate subscriptions are still a success, however, want to notify the ground."
515
+
SB: Subscribe To Message - Duplicate,cSB4303.1,"If the Subscription is a duplicate of a previous subscription, the cFE shall issue an event message and increment the Duplicate Subscriptions counter.","Duplicate subscriptions are still a success, however, want to notify the ground."
516
+
SB: Subscribe To Message - Error Counter,cSB4303.2,"If the Request to Subscribe to an SB Message fails (e.g., an invalid Pipe ID, an invalid caller, an invalid argument, or the maximum number of messages or destinations has been reached), the cFE shall increment the Subscribe error counter and issue an event message.",Provides operators visibility into failed subscription attempts.
510
517
SB: Unsubscribe To Message,cSB4304,"Upon receipt of a Request to Unsubscribe to an SB Message, the cFE shall remove the route corresponding to the Request-specified Message Id and the Request-specified Pipe Id from the Routing Information.","Allow an Application to dynamically change what Messages it receives. Since the ground can manipulate the state of the routing, it is not considered an error if the Message is not currently being subscribed to when an unsubscribe request is made."
511
518
SB: Send Message,cSB4305,"Upon receipt of a Request to send an SB Message, the cFE shall route the SB Message to the Pipes of all Applications that have Subscribed to the SB Message.","This form of message passing, supports one-to-one, one-to-many, and many-to-one (all desired by branch members) in a flexible, low overhead manner. It has been common for telemetry packets to be sent to many destinations, such as a real-time telemetry."
512
519
SB: Send Message - Message ID To Pipe Limit,cSB4305.1,The cFE shall limit the number of messages of a particular Message ID that can be sent to an Application's Pipe.,"Prevent an errant application from monopolizing a Software Bus Pipe. This feature was part of the heritage software bus and was found to be a useful diagnostic feature. When subscribing to a packet, an Application can specify a limit on the number of Messages for a particular Message ID that can be in the Pipe at one time. The term used for this is MsgId-to-Pipe Limit.
513
520
"
514
-
SB: Send Message - Pipe Overflow,cSB4305.3,"If routing a Message to an Application's Pipe results in a Pipe Overflow, the cFE shall abort the send to that pipe, issue an event, and continue sending to the remaining pipes.",The ground needs to know if a message cannot be routed to its destination. A Pipe Overflow occurs when the SB attempts to write to a Pipe that is completely full of SB messages. The number of messages a Pipe is capable of storing is defined by a platform configuration parameter.
515
-
SB: Send Message - Exceed Message ID To Pipe Limit,cSB4305.4,"If routing a Message to an Application's Pipe would exceed the MsgId-to-Pipe Limit, the cFE shall abort the send to that pipe, issue an event, and continue sending to the remaining pipes.",The ground needs to know if a message cannot be routed to its destination. The MsgId-to-Pipe Limit is exceeded when the SB attempts to write to a Pipe that contains the maximum number of messages of a particular Message Id.
521
+
SB: Send Message - Queue Write Error,cSB4305.2,"If routing a Message to an Application's Pipe results in a queue write error, the cFE shall increment the Queue read or write error counter and issue an event message.",Provides operators visibility into internal queue write failures during message send.
522
+
SB: Send Message - Pipe Overflow,cSB4305.3,"If routing a Message to an Application's Pipe results in a Pipe Overflow, the cFE shall abort the send to that pipe, issue an event, increment the Pipe Overflow error counter, and continue sending to the remaining pipes.",The ground needs to know if a message cannot be routed to its destination. A Pipe Overflow occurs when the SB attempts to write to a Pipe that is completely full of SB messages. The number of messages a Pipe is capable of storing is defined by a platform configuration parameter.
523
+
SB: Send Message - Exceed Message ID To Pipe Limit,cSB4305.4,"If routing a Message to an Application's Pipe would exceed the MsgId-to-Pipe Limit, the cFE shall abort the send to that pipe, issue an event, increment the MsgId-to-pipe limit error counter, and continue sending to the remaining pipes.",The ground needs to know if a message cannot be routed to its destination. The MsgId-to-Pipe Limit is exceeded when the SB attempts to write to a Pipe that contains the maximum number of messages of a particular Message Id.
516
524
SB: Send Message - No Subscribers,cSB4305.5,"Upon receipt of a Request to send a Message, if no Applications have subscribed to the Message, the cFE shall increment the No Subscriber's Counter and send an event that displays the Message ID.","A single counter is enough to notify operators that there are no receivers for a packet that is being sent. The ‘no subscribers’ event is completely filtered by default. The ground can unfilter the ‘no subscribers’ event to get more information about the message. It is not considered an error if no Applications have subscribed because of the dynamic environment supported by the cFE. In addition, during initialization of a multi-processor system, this can easily occur.
517
525
"
518
526
SB: Send Message - Max Size,cSB4305.6,"If the SB Message is greater than the `<MISSION_DEFINED>` maximum message size then the cFE shall not send the message, issue an event message and increment the message send error counter.",The cFE should not make any assumptions about why the message was too big and just not send it.
519
527
SB: Receive Message No Timeout,cSB4306,"Upon receipt of a Request to receive a SB Message from a Pipe without a timeout, the cFE shall remove the next SB Message from the Pipe and provide the message to the Application.",Applications need a mechanism to retrieve the SB Message they have subscribed to receive. A receive Request without a suspension timeout provides a non-blocking method of retrieving SB messages. Receives are performed on a Pipe basis not on a SB Message basis. The heritage SB Pipe-based receives have served us well. A message-based receive would add extra complexity without any real benefit.
528
+
SB: Receive Message - Bad Argument,cSB4306.1,"If a Request to receive an SB Message from a Pipe is made with an invalid argument, the cFE shall increment the Message receive error counter and issue an event message. This applies to all receive modes (see cSB4306, cSB4307, and cSB4308).",Provides operators visibility into invalid receive requests.
529
+
SB: Receive Message - Queue Read Error,cSB4306.2,"If a Request to receive an SB Message from a Pipe results in a queue read error, the cFE shall increment the Queue read or write error counter and issue an event message. This applies to all receive modes (see cSB4306, cSB4307, and cSB4308).",Provides operators visibility into internal queue read failures during message receive.
520
530
SB: Receive Message With Timeout,cSB4307,"Upon receipt of a Request to receive a SB Message from a Pipe with a pending timeout, the cFE shall suspend execution of the Application until a SB Message is present on the Pipe or the timeout has expired.","A receive Request with a suspension timeout provides a blocking method of retrieving SB messages. This is useful for data driven Applications and has been used on all heritage missions with a SB. The timeout is useful for fault recovery for Applications that always expect data to arrive or to allow periodic processing for Applications that are not purely data driven. If a SB Message is queued on the Pipe then the SB Message will be provided to the Application and the Application’s execution will not be suspended. Tasks that process telemetry packets often receive many types of packets from different sources. There should be a mechanism that allows a task to wait for many different types of messages simultaneously. Heritage implementations of SB do this by directing the messages into one queue (or several queues, to implement priority levels).
521
531
"
522
532
SB: Receive Message Infinite Timeout,cSB4308,"Upon receipt of a Request to receive a SB Message from a Pipe with an infinite timeout, the cFE shall suspend execution of the Application until a SB Message is present on the Pipe.",This mode of receiving has been the most commonly used mode on the heritage SB.
@@ -538,7 +548,9 @@ SB: Set Command Code,cSB4325,"Upon receipt of a Request, the cFE shall set the r
538
548
SB: Generate Checksum,cSB4327,"Upon receipt of a Request, the cFE shall set the requested message with the current checksum.",Message management utility.
539
549
SB: Validate Checksum,cSB4328,"Upon receipt of a Request, the cFE shall provide the checksum validation result of the requested message.",Message management utility.
540
550
SB: Set Pipe Options,cSB4329,"Upon receipt of a Request, the cFE shall set the requested pipe with the requested options.",Pipe management utility.
551
+
SB: Set Pipe Options - Error Counter,cSB4329.1,"If the Request to set pipe options fails (e.g., an invalid Pipe ID, or the requestor is not the owner of the Pipe), the cFE shall increment the Pipe options error counter and issue an event message.",Provides operators visibility into failed set-pipe-options requests.
541
552
SB: Get Pipe Options,cSB4330,"Upon receipt of a Request, the cFE shall provide the pipe options of the requested pipe.",Pipe management utility.
553
+
SB: Get Pipe Options - Error Counter,cSB4330.1,"If the Request to get pipe options fails (e.g., an invalid Pipe ID, or a null output pointer), the cFE shall increment the Pipe options error counter and issue an event message.",Provides operators visibility into failed get-pipe-options requests.
542
554
SB: Subscribe To Local Message,cSB4331,"Upon receipt of a Request, the cFE shall establish a route for a requested local message ID on the requested pipe using the '<MISSION_DEFINED>' default quality of service.","Subscription management, where subscription is to a message local to this cFE instance. Typically used by software bus network applications."
543
555
SB: Subscribe to Message With Defaults,cSB4332,"Upon receipt of a Request, the cFE shall establish a route for the requested message ID on the requested pipe, using the '<MISSION_DEFINED>' default quality of service and message limit.",Subscription management.
544
556
SB: Unsubscribe To Local Message,cSB4333,"Upon receipt of a Request, the cFE shall remove the route for the requested local message ID on the requested pipe.","Subscription management, where unsubscribe is to a message local to this cFE instance. Typically used by software bus network applications."
@@ -548,6 +560,7 @@ SB: Message ID to Integer,cSB4336,"Upon receipt of a Request, the cFE shall prov
548
560
SB: Integer to Message ID,cSB4337,"Upon receipt of a Request, the cFE shall provide the message ID conversion of the provided integer.",Message management utility.
549
561
SB: Get Pipe Name,cSB4338,"Upon receipt of a Request, the cFE shall provide the pipe name given the requested pipe ID.",Pipe management utility.
550
562
SB: Get Pipe ID By Name,cSB4339,"Upon receipt of a Request, the cFE shall provide the pipe ID for the requested pipe name.",Pipe management utility.
563
+
SB: Get Pipe ID By Name - Error Counter,cSB4339.1,"If the Request to get a pipe ID by name fails (e.g., null arguments, or the requested name is not found), the cFE shall increment the Get Pipe ID By Name error counter and issue an event message.",Provides operators visibility into failed get-pipe-ID-by-name requests.
551
564
SB: Zero Copy Get Pointer,cSB4340,"Upon receipt of a Request, the cFE shall provide a pointer to support routing a zero copy message.",Zero copy message passing support for reduced overhead at the cost of additional pointer management.
552
565
SB: Zero Copy Release Pointer,cSB4341,"Upon receipt of a Request, the cFE shall release the requested zero copy pointer.",Zero copy message passing support for reduced overhead at the cost of additional pointer management.
553
566
SB: Zero Copy Send Message,cSB4342,"Upon receipt of a Request, the cFE shall route the requested zero copy message to all subscribed pipes.",Zero copy message passing support for reduced overhead at the cost of additional pointer management.
0 commit comments