EV3-2-EV3 Communication

Post your EV3 projects, project ideas, etc here!

Moderators: roger, gloomyandy, skoehler

EV3-2-EV3 Communication

Postby elorius » Tue Apr 15, 2014 4:44 pm

Hi guys,

I am interested in developing some applications which require the exchange of messages between EV3s (similar to Car-2-Car communication).

Thus, I would like to know whether leJOS for the EV3 supports communication, e.g. via UDP. It would also be good to know if it is possible to set the wifi device to promiscous mode in order to support broadcasts. Does it support ad hoc mode as well?

If anybody has done EV3-2-EV3 communication using UDP or has any idea where I can find some useful information about that topic, I would be glad.

Cheers
Elorius
elorius
New User
 
Posts: 1
Joined: Tue Apr 15, 2014 4:31 pm

Re: EV3-2-EV3 Communication

Postby lawrie » Tue Apr 15, 2014 6:24 pm

leJOS uses a standard Oracle JVM and has a standard (if slightly old) Linux networking stack, so there should be no problem. Standard Java Datagram sockets work for UDP - the menu uses them for device discovery. ifconfig wlan0 [-]promisc seems to switch into and out of promiscuous node.
Last edited by lawrie on Tue Apr 15, 2014 6:39 pm, edited 1 time in total.
lawrie
leJOS Team Member
 
Posts: 922
Joined: Mon Feb 05, 2007 1:27 pm

Re: EV3-2-EV3 Communication

Postby lawrie » Tue Apr 15, 2014 6:37 pm

I am not sure why you would need promiscuous mode for what you are proposing, though.
lawrie
leJOS Team Member
 
Posts: 922
Joined: Mon Feb 05, 2007 1:27 pm

Re: EV3-2-EV3 Communication

Postby gamalsallam » Wed Oct 08, 2014 11:33 pm

Does anyone has a sample code example of EV3-2-EV3 communication.
Thanks a lot.
gamalsallam
New User
 
Posts: 2
Joined: Wed Oct 08, 2014 11:29 pm


Return to EV3 Projects

Who is online

Users browsing this forum: No registered users and 0 guests

cron
more stuff