Hi Wojciech Topolski, I did some reading, and it appears that documentation for the ESP8266 is quite lacking. It appears people have surmised some facts about the ESP8266 (ie. It uses a Cortex M3 architecture) that do not appear to be in the official translated documentation (This might be a rumor, but if true it gives a good indicator of the status of the documentation: I read that the documentation was originally written in Chinese, then manually translated to German, then google-translated to English.). My concern is that if we consider this as either a platform itself (as Carsten mentioned) or ultimately as a port to the ESP8266 Arduino Library, we may hit resource constraints unknowingly (ie. code base size, exceed OTA payload size..etc.) because the resource constraints are not well documented.
Also, from what info can be scrounged about this board, do you think it would be possible to directly use the ESP8266 as a platform for IoTivity (ie. put IoTivity into the firmware of the ESP8266)? If this is possible, then the sky is the limit for this little device. All we would have to do is offer up an AT Command API for IoTivity through this device then. Thanks, Joey From: Wojciech Topolski [mailto:[email protected]] Sent: Tuesday, June 2, 2015 7:39 AM To: Morrow, Joseph L; iotivity-dev at lists.iotivity.org Subject: RE: [dev] IoTivity Arduino and ESP8266 WiFi module Hi Joseph, Thanks for your answer. I see that at the moment I must to use WiFi shield for training purpose. But, according to your questions: * Yes, ESP8266 works on both devices. We checked it. * No, Arduino WiFi library doesn't support it. If I am not wrong, Arduino WiFi library supports only Arduino WiFi Shield. But there is ESP8266 library for Arduino (written by community): https://github.com/esp8266/Arduino I haven't tested it yet, but it looks promising. Especially because "This is mostly similar to WiFi shield library ... WiFiServer, WiFiClient, and WiFiUDP behave mostly the same way as with WiFi shield library." (https://github.com/esp8266/Arduino#wifiesp8266wifi-library) * Yes, ESP8266 supports multicast, as well above library. Maybe I will have some time to check if IoTivity works with esp8266 library. Regards [Samsung_Logo_for_Mail_Signature] Wojciech Topolski Samsung R&D Institute Poland Samsung Electronics w.topolski at samsung.com<mailto:j.marciniak at samsung.com> From: Morrow, Joseph L [mailto:[email protected]] Sent: Monday, June 01, 2015 5:52 PM To: Wojciech Topolski; iotivity-dev at lists.iotivity.org<mailto:iotivity-dev at lists.iotivity.org> Subject: RE: [dev] IoTivity Arduino and ESP8266 WiFi module Hi Wojciech Topolski, It would theoretically be possible. However, we have ran into several issues with just the Arduino WiFi library & the Arduino WiFi shield itself already (please attached mail thread). No pre-work has been done to consider the ESP8266 WiFi module yet. Because of current constraints, some of the considerations to be made for supporting a new WiFi module would be the following: - Will this module work on both the Arduino ATMega 2560 (Keep in mind the Arduino ATMega 2560 is pretty constrained) & on the Arduino Due? - For ease, does this new module work with the Arduino WiFi library already? (ie. less source code in the stack to update; can be overcome by updating the modules you've referenced below) o If not, what does this work look like to implement support in our stack for this new module? - Does this module support multicast? With the above questions answered we can begin to see what kind of time our dev teams (or even an outside contributor!) are looking at putting into supplying support for the ESP8266 WiFi module. At this time, we've only been aware of broad usage of the Arduino WiFi shield and therefore this is why we've chosen to support it. I assume we would need some indication that this new WiFi module would be used by a lot of our end users as well. If you can answer these questions, that would be great! If not, can you describe any pros/cons for our consideration? There wouldn't necessarily be support for/against supporting a new WiFi module until more information is collected. Thanks, Joey From: iotivity-dev-bounces at lists.iotivity.org<mailto:iotivity-dev-bounces at lists.iotivity.org> [mailto:[email protected]] On Behalf Of Wojciech Topolski Sent: Monday, June 1, 2015 5:33 AM To: iotivity-dev at lists.iotivity.org<mailto:iotivity-dev at lists.iotivity.org> Subject: [dev] IoTivity Arduino and ESP8266 WiFi module Hi All Is it possible (with current version of IoTivity for Arduino) to use ESP8266 WiFi module instead of WiFi Shield? I saw that .../connectivity/src/ip_adapter/arduino caipclient_wifi.cpp depends on Arduino WiFi library (ex. WiFi.h and others). But maybe there is some way? Regards [Samsung_Logo_for_Mail_Signature] Wojciech Topolski Samsung R&D Institute Poland Samsung Electronics w.topolski at samsung.com<mailto:j.marciniak at samsung.com> -------------- next part -------------- An HTML attachment was scrubbed... URL: <http://lists.iotivity.org/pipermail/iotivity-dev/attachments/20150602/3a16e5f6/attachment.html> -------------- next part -------------- A non-text attachment was scrubbed... Name: image001.gif Type: image/gif Size: 1842 bytes Desc: image001.gif URL: <http://lists.iotivity.org/pipermail/iotivity-dev/attachments/20150602/3a16e5f6/attachment.gif>
