Claudio Prezzi
Claudio Prezzi
You get it line by line, because lw.comm-server get linebreaks from smoothieware. I think cat is the wrong way to do it, because there are no start or end of...
This should be easy to implement as you anyways have a structured array.
Hm. didn't see that. There is no such hint in smoothiehappy api (https://lautr3k.github.io/smoothie-happy/docs/function/index.html#static-function-cmd_config_get) and I think @lautr3k is also using it for his new configuration dialog.
Yes, I think so.
In the smoothie code I found that if the limit param of cat is -d we should get a eof at the end of the file :) https://github.com/Smoothieware/Smoothieware/blob/edge/src/modules/utils/simpleshell/SimpleShell.cpp#L380 But we...
What do you think about lw.comm-server providing a command "getFirmwareConfig" which delivers a complete json object with all config parameters? The app could then dynamically create a form with all...
I think it's hard to find parameter names that match every firmware (because they are so different), but that wouldn't be needed if the frontend form is created dynamically with...
I know this could be less flexible for a frontend (for adding help or designing super nice tabbed forms).
That's correct, but wouldn't it be confusing for a user, if the param in the frontend doesn't have the same name like in the config file?
Ok. Let me think about this over the weekend. Probably I get flashed with a genious solution ;)