Hello,
Thank you for the respond. Currently I'm trying to develop openWSN application
in VoyageOS, i used SunSPOT. I have problem on make this application running in
VoyageOS, while I know the same application just run properly in my Ubuntu
machine. The application actually consist of sender, which is the SunSPOT mote;
and the receiver, which is the SunSPOT basestation.
The sender open broadcast connection to some port (I specify the free port, exp
1501)
// Open up a broadcast connection at the data sink port where the 'on Desktop'
portion of this demo is listening
RadiogramConnection rCon = (RadiogramConnection)
Connector.open("radiogram://broadcast:" + DATA_SINK_PORT);
Datagram dg = rCon.newDatagram(rCon.getMaximumLength());
And the receiver listen with the same port:
RadiogramConnection rCon = (RadiogramConnection) Connector.open("radiogram://:"
+ DATA_SINK_PORT);
The guys in sunSPOT mentioned
(https://www.sunspotworld.com/forums/viewtopic.php?f=35&t=1701)
"p.s. Some Linux distributions (such as SuSE) do not have multicasting enabled
by default. This prevents use of a shared basestation, but shouldn't throw any
exceptions. Note: You can run the route add -net 224.0.0.0 command to enable
multicast routing."
I got java.net.SocketException before, then after make all of my interfaces
multicast enabled, it is disappear. But I'm still suffer with another error
relate to the socket, which I dont know how to solve that yet:
Exception in thread "main" com.sun.spot.peripheral.SpotFatalException:
Encountered IO Exception attempting to open server socket: voyage: voyage
(the same application run well in the other machine: ubuntu, window, and osx).
I believe there is some configuration need to be changed in my VoyageOS, not in
the application.
Aidi
On 6 okt 2011, at 17.26,
<[email protected]<mailto:[email protected]>>
wrote:
it is mainly a problem of your application. By default voyage will support all
multicast traffic (joining a stream, sending streams). however if you need to
be able to route multicast traffic then you will need additional software like
mrouted.
without knowning what your app is doing it is hard to comment further
cheers
Erik
________________________________
From:
[email protected]<mailto:[email protected]>
[[email protected]] On Behalf Of
Laili Aidi [[email protected]]
Sent: Thursday, October 06, 2011 5:19 PM
To: Jeff Ramin
Cc: <[email protected]<mailto:[email protected]>>
Subject: Re: [Voyage-linux] Enabling Multicast in Voyage
Dear Jeff,
Thank you. I'm wondering what is the necessary steps?
Aidi
On 6 okt 2011, at 17.01, Jeff Ramin wrote:
FWIW - we're running an app that utilizes multicast on voyage, and none of
those steps have been necessary for us.
On 10/06/2011 09:53 AM, Artie Gold wrote:
See, for example: http://www.dancres.org/bjspj/docs/docs/linux.html
All you probably need to do is to add the route for multicasting...
HTH,
--ag
On Thu, Oct 6, 2011 at 9:28 AM, Laili Aidi <[email protected]<mailto:[email protected]>>
wrote:
Hello,
Maybe this is very trivia question.
Currently I'm dealing with application which need multicast support to be
enabled in the OS. How can I make it to the Voyage?
Aidi
_______________________________________________
Voyage-linux mailing list
[email protected]<mailto:[email protected]>
http://list.voyage.hk/mailman/listinfo/voyage-linux
--
Artie Gold
Principal Software Engineer
Under Assistant West Coast Promo Man
F4W, Inc.
===================================================
Elegance is not a dispensable luxury but a factor that decides between success
and failure.
--Edsger Dijkstra
_______________________________________________
Voyage-linux mailing list
[email protected]<mailto:[email protected]>
http://list.voyage.hk/mailman/listinfo/voyage-linux
--
Jeff Ramin
Software Engineer
Singlewire Software
2601 W Beltline Hwy #510
Madison, WI 53713
Phone Direct - 608.661.1172
www.singlewire.com<http://www.singlewire.com/>
_______________________________________________
Voyage-linux mailing list
[email protected]<mailto:[email protected]>
http://list.voyage.hk/mailman/listinfo/voyage-linux
________________________________
This message is for the designated recipient only and may contain privileged,
proprietary, or otherwise private information. If you have received it in
error, please notify the sender immediately and delete the original. Any other
use of the email by you is prohibited.
_______________________________________________
Voyage-linux mailing list
[email protected]
http://list.voyage.hk/mailman/listinfo/voyage-linux