The Phi web server looks really interesting, and I have seen that the property tree is also available in the browser. I was thinking if there is any way of accessing that property tree (read/write) from QML/Javascript, so I can avoid tx/rx UDP messages by myself. My constrains are:
- Read/write data from/to FG
- Read about 40 parameters
- Sampling frequency of 2-4 Hz
- Accessible from Javascript/QML
These are some solutions I have found, but I'm not sure about them:
- In this link and this link telnet server is used, but I don't know how will it work.
- On the other hand, I have discovered that each field of the property tree can be retrieved in a JSON by using http://localhost:XXXX/json/orientation, where orientation is a field of the property tree. However, with this method I can't write to the property tree, can I?