rsmp-nordic / rsmp_sxl_traffic_lights

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

explain string format for S0002, S0003, S0004, S0012, S0029, S0030 #166

Closed emiltin closed 8 months ago

emiltin commented 1 year ago

These statuses just mention that the data "as a text field". We should explain the format, e.g. that it's a string of zeroes and ones, with each digit representing an outut. leftmost is output 0, if outputs are not present use '-'. etc.

https://rsmp-nordic.org/rsmp_specifications/rsmp_sxl_traffic_lights/1.0.15/sxl_traffic_light_controller.html#s0204

otterdahl commented 1 year ago

Are you refering to S0002? (your link refered to S0204, but it uses integers)

In version 1.0.15 it does say "as text field", but in 1.1 it was clarified to include almost what you are suggesting, but perhaps it could be improved.

emiltin commented 1 year ago

ah, i was looking at the older spec, sorry... perhaps worth mentioning the left- or rightmost digit is output 0?

otterdahl commented 9 months ago

PR added: https://github.com/rsmp-nordic/rsmp_schema/pull/96

otterdahl commented 8 months ago

PR merged