Intel® Makers
Intel® Edison, Intel® Joule™, Intel® Curie™, Intel® Galileo
Announcements
Welcome - This is a Peer-to-Peer Forum only. Intel has discontinued these products but you may find support from other customers on this Forum
9873 Discussions

How do you handle data in AP Mode?

idata
Community Manager
1,210 Views

Hello there! After hours of scrutinizing the forums for an answer with no luck, I decided to ask you guys...

I configured my Intel Edison to be in Access-Point mode to have reliable data transfers (hopefully). But I cannot progress further since the examples in Arduino's WiFi library is for Edison's client mode.

My setup is basically using a Java client and the server would be the Edison. The Java client is connected to the access point and is sending bytes in the form of UDP packets to it (Specifically using DatagramPacket and DatagramSocket). The bytes I send are specific commands that the Edison would act upon ie. take a photo, etc.

This would be the example I would like to implement if so... https://www.arduino.cc/en/Tutorial/WiFiSendReceiveUDPString Arduino - WiFiSendReceiveUDPString

https://www.arduino.cc/en/Tutorial/WiFiSendReceiveUDPString https://www.arduino.cc/en/Tutorial/WiFiSendReceiveUDPStringHow can I handle this received data sent to the Edison?

Are there libraries specific to this AP configuration?

How can I send data back to the client?

Please advise. My project is about implementing a command system for my UAV while also sending retrieved data from various sensors back to the client.

I'm using an Edison (Yocto 1.7.3), Sparkfun breakout boards and programming with the Arduino IDE (1.6.11).

Thankkkssss!

Sincerely,

A student

0 Kudos
2 Replies
idata
Community Manager
108 Views

Hello Spliterator,

 

 

I'll try to help you with this. Unfortunately no, there aren't any Edison specific AP libraries, however there are several ways to transfer data between devices when they are connected to the same network. This is useful for your case since the AP mode would create an Edison specific network where your other devices can easily connect to. One of the options you have is to use Wi-Fi Direct to transfer the files as explained in https://communities.intel.com/docs/DOC-109932 https://communities.intel.com/docs/DOC-109932. Once you have sent the files to the Edison, you can use a script (in you programming language of choice) to handle the data in any way you have to.

 

 

I hope this information helps you,

 

-Peter.
idata
Community Manager
108 Views

Hello Spliterator,

 

 

Do you have any updates about this?

 

 

-Peter.
Reply