rsmp-nordic / rsmp_sxl_traffic_lights

RSMP Signal Exchange List (SXL) for Traffic Controllers
MIT License
12 stars 4 forks source link

clarify S0023 and M0014 dynamic band format #141

Open emiltin opened 3 years ago

emiltin commented 3 years ago

The S0023 status is used to read dynamic bands, and is described as

Dynamic bands. Each dynamic band are written as pp-dd-ee where: pp=Time plan dd=Dynamic band number (from 1-10) ee=Extension in seconds in this band

Each dynamic band is separated with a comma.

E.g. pp-dd-ee,pp-dd-ee

But the format of pp, dd and ee can be clarified.

  1. Allowed lengths? Must two characters be used (eg. 05 or 15), or is 5 or 103 allowed as well?
  2. Are negative numbers allowed? (I think not)
  3. A floats allowed? For example .5 or 2.5
  4. Is an empty string allowed, supposedly meaning no bands?
  5. Are spaces allowed after a comma?
emiltin commented 3 years ago

The questions apply to the command M0014 used to set dynamic bands.