Good evening folks. As I go through these preliminary YUN Bridge examples, now new questions have arisen.
When running the Bridge sketch the web data can only be accessed through:
http://my_local_ip/arduino/digital/13/1 (one example only),
and when running the TemperatureWebPanel sketch it can only be accessed this way:
http://my_local_ip/sd/TemperatureWebPanel/
Why the difference in format? Is it only because the TemperatureWebPanel sketch has a subfolder of "www."
My last logical question is: Any other different url formatting one needs to be aware of for interacting with our YUN sketches?
Thank you all,
houdinihar
houdinihar:
Why the difference in format? Is it only because the TemperatureWebPanel sketch has a subfolder of "www."
Yes. Read this blog post, the "browser" paragraph
houdinihar:
My last logical question is: Any other different url formatting one needs to be aware of for interacting with our YUN sketches?
Built-in URLs are: /data, /mailbox, /arduino. These use different features of the Bridge. Any other URL reflects the structure of the underlying filesystem. i.e.: you see /sd/TemperatureWebPanel because the "root document folder" that's /www has an "sd" subfolder that has a "TemperatureWebPanel" subfolder
Again, thank you Federico. Sorry it took so long to acknowledge.
houdinihar