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>
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
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: [email protected]
[mailto:iotivity-dev-bounces at lists.iotivity.org] On Behalf Of Wojciech
Topolski
Sent: Monday, June 1, 2015 5:33 AM
To: 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/b5245ebb/attachment.html>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: image001.gif
Type: image/gif
Size: 1842 bytes
Desc: not available
URL: 
<http://lists.iotivity.org/pipermail/iotivity-dev/attachments/20150602/b5245ebb/attachment.gif>

Reply via email to