Skip to content
GitLab
Projects Groups Snippets
  • /
  • Help
    • Help
    • Support
    • Community forum
    • Submit feedback
    • Contribute to GitLab
  • Sign in / Register
  • S Solaar
  • Project information
    • Project information
    • Activity
    • Labels
    • Members
  • Repository
    • Repository
    • Files
    • Commits
    • Branches
    • Tags
    • Contributors
    • Graph
    • Compare
  • Issues 10
    • Issues 10
    • List
    • Boards
    • Service Desk
    • Milestones
  • Merge requests 2
    • Merge requests 2
  • CI/CD
    • CI/CD
    • Pipelines
    • Jobs
    • Schedules
  • Deployments
    • Deployments
    • Environments
    • Releases
  • Packages and registries
    • Packages and registries
    • Package Registry
    • Infrastructure Registry
  • Monitor
    • Monitor
    • Incidents
  • Analytics
    • Analytics
    • Value stream
    • CI/CD
    • Repository
  • Wiki
    • Wiki
  • Snippets
    • Snippets
  • Activity
  • Graph
  • Create a new issue
  • Jobs
  • Commits
  • Issue Boards
Collapse sidebar
  • pwr-Solaar
  • Solaar
  • Issues
  • #1486
Closed
Open
Issue created Mar 09, 2022 by Peter F. Patel-Schneider@pfpsContributor

rule editor only allows strings for Test conditions

Test conditions can be lists and strings, but the rule editor only allows strings.

An example list test is:

Test: [0, 1, 1, 1]

which checks whether the first (0) byte of the notification is 1.

See the rule documentation for more information, but the list can have either three or four members, each an integer. The first two select several bytes (0-origin addressing), the third and fourth provide a range, and the third alone is a bit mask.

Assignee
Assign to
Time tracking