Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Kapsch ETX return "?" in S0023 #520

Open
emiltin opened this issue Jan 31, 2025 · 4 comments
Open

Kapsch ETX return "?" in S0023 #520

emiltin opened this issue Jan 31, 2025 · 4 comments
Labels

Comments

@emiltin
Copy link
Contributor

emiltin commented Jan 31, 2025

    2025-01-30T22:53:28.049Z  52316  KTT+TC=101TC001      KTT+TC=101TC001      df2e  Received invalid StatusResponse schema errors: /sS/0/s, pattern,  {"mType":"rSMsg","type":"StatusResponse","mId":"df2e1e55-0bf3-473a-aa54-1143e290eeba","sTs":"2025-01-30T22:53:27.322Z","ntsOId":"","xNId":"","cId":"KTT+TC=101TC001","sS":[{"sCI":"S0023","n":"status","q":"recent","s":"?"}]}

https://github.com/rsmp-nordic/rsmp_validator/actions/runs/13062231280/job/36447666042#step:6:1829

"?" is not a valid rsponds for S0023, it must in the form "pp-dd-ee,pp-dd-ee":
https://rsmp-nordic.github.io/rsmp_sxl_traffic_lights/1.2.1/sxl_traffic_light_controller.html#s0023

@emiltin emiltin added the ETX label Jan 31, 2025
@anezsergi
Copy link
Contributor

Ok ,so and if you don't use it? what is the right "value" to return? our controller not use or have Dynamic bands.

Can you tell us where we can get info about this?

@otterdahl
Copy link
Contributor

@emiltin
Copy link
Contributor Author

emiltin commented Feb 4, 2025

There was another issue #515 about nulls in status updates, where I stated that null is not allowed.

It seems this is not strickly the case, since as the table, shows, if the status is not implemented, you should set q=unknown, s=null.

However #515 referred to cases with q=undefined, s=null, which is indeed not allowed.

@anezsergi
Copy link
Contributor

ok, thanks to both. I will fix it.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

3 participants