rsmp-nordic / rsmp_sxl_traffic_lights

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

M0001 timeouts in seconds/minutes/hours/days #194

Open emiltin opened 1 month ago

emiltin commented 1 month ago

Then sending an M0001 command, the timeout attribute is an integer in the range 1-1440 , specifiying minutes. 0 means no automatic revert.

This means that the minmum duration is 1 minute. For testing, this incurs an annoying delay. It would be nice if you could either

  1. specify units using e.g. timeoutUnit. For testing you could then specify e.g. 1 second.
  2. use floating point for the timeout attribute.
  3. both of the above.