Skip to content

Allow command codes to be specified in sch_lab_table #85

@jphickey

Description

@jphickey

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.

Metadata

Metadata

Assignees

Labels

No labels
No labels

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions