This PR contains commits to add a dynamic parameter callback that allows to reconfigure the ntrip client at runtime. It can be useful if you want to change the NTRIP mountpoint at runtime, or use another NTRIP caster.
Reformat the files with 4 tabs for readability and try to reduce the line length when possible. (2 tabs were too small and difficult to read). Also use f-string to instead of format as it improves performance and also increases readability.
Reorganize the parameters in constructor. As the goal is to be able to dynamically update the parameters, the chain of control must be easier to understand. By passing the parameters using the constructor (or specific function is easier to understand that writing a class attribute).
Finally, add the callback to dynamically reload ntrip configuration. The parameter update is accepted by default. The defined callback updates the ntrip client configuration afterwards.
This PR contains commits to add a dynamic parameter callback that allows to reconfigure the ntrip client at runtime. It can be useful if you want to change the NTRIP mountpoint at runtime, or use another NTRIP caster.