-
Notifications
You must be signed in to change notification settings - Fork 37
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Allow command codes to be specified in sch_lab_table #85
Comments
jphickey
added a commit
to jphickey/sch_lab
that referenced
this issue
Sep 1, 2021
Allows the command/function code to be specified in the messages generated by SCH_LAB. This allows it to be used for testing apps that require a specific function code in the internal wakeup message.
jphickey
added a commit
to jphickey/sch_lab
that referenced
this issue
Sep 1, 2021
Allows the command/function code to be specified in the messages generated by SCH_LAB. This allows it to be used for testing apps that require a specific function code in the internal wakeup message.
jphickey
added a commit
to jphickey/sch_lab
that referenced
this issue
Sep 1, 2021
Allows the command/function code to be specified in the messages generated by SCH_LAB. This allows it to be used for testing apps that require a specific function code in the internal wakeup message.
jphickey
added a commit
to jphickey/sch_lab
that referenced
this issue
Sep 8, 2021
Adds an explicit initializtion of Function Code to 0 in the sample table, to demonstrate how a user can set the code nonzero if necessary.
astrogeco
added a commit
that referenced
this issue
Sep 8, 2021
Fix #85, add CmdCode to sch_lab_table
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Is your feature request related to a problem? Please describe.
Some apps have multiple functions that to be regularly scheduled, and use a single internal MID with separate command codes to do this. One example is BP, which has a "WAKEUP" internal MID that SCH needs to send, but has two separate items that can be woken by this - differentiated by the FC field in the command header.
SCH_LAB, in current form, is only capable of sending CMD messages with FC set to 0.
It would be fairly trivial to add "CmdCode" to the sch_lab_table, such that a nonzero FC can be used, so SCH_LAB can be used to test apps that need a specific FC value in their scheduled wakeup events.
Describe the solution you'd like
Add ability to set/specify an FC/ CmdCode value for the command packets generated by SCH_LAB.
Describe alternatives you've considered
Use full-featured SCH (but this is considerably harder to configure when just looking to test an app).
Requester Info
Joseph Hickey, Vantage Systems, Inc.
The text was updated successfully, but these errors were encountered: