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

Rad Pro: JSON API #10

Closed
murkle opened this issue Nov 11, 2023 · 1 comment
Closed

Rad Pro: JSON API #10

murkle opened this issue Nov 11, 2023 · 1 comment
Labels
wontfix This will not be worked on

Comments

@murkle
Copy link

murkle commented Nov 11, 2023

It would be quite handy (and more robust for knowing which bit of info has been returned) if there was an API call like GET allInfo which could return something like

{"tubePulseCount": 35, "deviceId": "Bosean FS-1000;Rad Pro 2.0beta9;1414549528", "deviceTemperature": 16.6, "deviceTime": 1699699817, "tubeTime": 446, "tubeRate": 4.518, "tubeDutyCycle": 0.500,"tubeConversionFactor": 68.400,"tubeDeadTime": 0.0006695,"tubeDeadTimeCompensation": 0.0000000,"entropy": "8f46"}

also "deviceId": "Bosean FS-1000;Rad Pro 2.0beta9;1414549528" could be split as eg

"deviceName": "Bosean FS-1000", deviceSoftware:"Rad Pro 2.0beta9", "deviceId":"414549528

@Gissio
Copy link
Owner

Gissio commented Nov 16, 2023

I try to keep the API as simple as possible. I don't think doing what you suggest is a good idea.

@Gissio Gissio closed this as completed Nov 16, 2023
@Gissio Gissio changed the title Serial API: return all info in JSON object JSON API Nov 16, 2023
@Gissio Gissio added the wontfix This will not be worked on label Mar 14, 2024
@Gissio Gissio changed the title JSON API Rad Pro: JSON API Mar 29, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
wontfix This will not be worked on
Projects
None yet
Development

No branches or pull requests

2 participants