Go Down

Topic: communication between several Wifis shields 101 without Router ? (Read 1 time) previous topic - next topic

Dirk67

Is it possible that one Wifi shields 101 is the access point (AP-Mode)
and several other Wifi shields 101 are WiFi-clients to this AP ?

I see that in the library --> https://github.com/arduino-libraries/WiFi101
there are some AP-Mode definitions,
and some "m2m" (machine to machine ?) -functions ...

does anyone know more ?
arduino powered car relais / car "micro PLC" / with USB --> http://goo.gl/ofWFW3

SurfingDude

The WINC1500 radio supports Wi-Fi Direct (Peer-to-Peer) Mode, and Atmel Studio has an example project for it. It also supports Wi-Fi Hotspot (Access Point Mode) and has an example project.

However, the Arduino libraries supporting the initial version of WiFi Shield 101 do not appear to flesh out these modes and have no examples of this. You could develop your own Arduino library support for this or you could immediately use these modes with Atmel Studio. If you develop the library support you might contribute it to the community.

Dirk67

Quote
communication between several Wifi shields 101 without Router ?
obviously this is not possible according to Atmels FAQ:
http://atmel.force.com/support/articles/en_US/FAQ/WINC1500-supported-connection-modes-and-limitations
Quote
[...]
Access Point (AP) mode. acting as a soft AP basically for provisioning purposes
 - Only one associated station is supported.
[...]
arduino powered car relais / car "micro PLC" / with USB --> http://goo.gl/ofWFW3

SurfingDude

Good catch Dirk67, but that's not exactly the case. It looks like that in access point mode, only one client AT A TIME is supported. Refer to:
http://www.atmel.com/Images/Atmel-42420-WINC1500-Software-Design-Guide_UserGuide.pdf

Page 17 is the state chart. After the AP has completed its business with one client it can take the branch m2m_wifi_disable_ap and then ready itself to listen for another client or even transition to one of the other modes. The example on page 49 uses an endless loop but it could just as well terminate after business is completed.

This is of course based on the existing Atmel Firmware version 19.3.0 but that is of course subject to modification or improvement in the future.

However, this begs the real question of whether or not the community will modify the Arduino library to support it. That could be a significant effort, and it might be better to use an off-the-shelf WiFi access point and be done with it.

Dirk67

It looks like that in access point mode, only one client AT A TIME is supported.
yes, and that's not good...
I'm not so experienced, but how can the AP make proper DHCP if only one client is connected at a time ?
I think I'll be better off with an ESP8266 maybe (?)
I'm making experiments with the wino-board today and it look promising so far ... http://wino-board.com
arduino powered car relais / car "micro PLC" / with USB --> http://goo.gl/ofWFW3

Go Up