From: <gab...@st...> - 2010-12-04 17:05:09
|
Hi all, I am trying to send a local broadcast message and it does not work. If I try to send to 255.255.255.255 it changes the address to the gateway and the other nodes do not receive. And if I put 10.0.255.255 no nodes get the message because the ids do not match. Am I doing something wrong or Contiki does not provide this kind of communication by default? Greetings, Gabriel |
From: David K. <da...@em...> - 2010-12-04 22:14:23
|
Hi Gabriel, Can you give more detail about what you are trying to accomplish? What host and contiki platform are you using? ----- Original Message ----- From: <gab...@st...> To: <con...@li...> Sent: Saturday, December 04, 2010 11:45 AM Subject: [Contiki-developers] Local Broadcast using uip > Hi all, > > I am trying to send a local broadcast message and it does not work. > If I try to send to 255.255.255.255 it changes the address to the > gateway and the other nodes do not receive. And if I put 10.0.255.255 > no nodes get the message because the ids do not match. > Am I doing something wrong or Contiki does not provide this kind of > communication by default? > > Greetings, > > Gabriel > > > ------------------------------------------------------------------------------ > What happens now with your Lotus Notes apps - do you make another costly > upgrade, or settle for being marooned without product support? Time to > move > off Lotus Notes and onto the cloud with Force.com, apps are easier to > build, > use, and manage than apps on traditional platforms. Sign up for the Lotus > Notes Migration Kit to learn more. http://p.sf.net/sfu/salesforce-d2d > _______________________________________________ > Contiki-developers mailing list > Con...@li... > https://lists.sourceforge.net/lists/listinfo/contiki-developers |
From: <gab...@st...> - 2010-12-04 22:31:52
|
Hi David, Thanks for your answer. I am using MSP430 with Contiki 2.4. I have a network with 6 nodes and I am trying to send a broadcast message from one (random) to all others but what I have seen is that it always change the rime address to the gateway's address and when the packet arrives on the other nodes they drop because the it does not match. So, in the rime layer it uses unicast and not broadcast sendings. If I have no gateway the message is dropped by the sender itself. I read that uip supports broadcast messages, but I do not know if it means that uip is capable to send one message for all nodes (at the UDP layer) or not. This is my main doubt. Greets, Gabriel Quoting David Kopf <da...@em...>: > Hi Gabriel, > > Can you give more detail about what you are trying to accomplish? > What host and contiki platform are you using? > > ----- Original Message ----- > From: <gab...@st...> > To: <con...@li...> > Sent: Saturday, December 04, 2010 11:45 AM > Subject: [Contiki-developers] Local Broadcast using uip > > >> Hi all, >> >> I am trying to send a local broadcast message and it does not work. >> If I try to send to 255.255.255.255 it changes the address to the >> gateway and the other nodes do not receive. And if I put 10.0.255.255 >> no nodes get the message because the ids do not match. >> Am I doing something wrong or Contiki does not provide this kind of >> communication by default? >> >> Greetings, >> >> Gabriel >> >> >> ------------------------------------------------------------------------------ >> What happens now with your Lotus Notes apps - do you make another costly >> upgrade, or settle for being marooned without product support? Time to >> move >> off Lotus Notes and onto the cloud with Force.com, apps are easier to >> build, >> use, and manage than apps on traditional platforms. Sign up for the Lotus >> Notes Migration Kit to learn more. http://p.sf.net/sfu/salesforce-d2d >> _______________________________________________ >> Contiki-developers mailing list >> Con...@li... >> https://lists.sourceforge.net/lists/listinfo/contiki-developers > > > ------------------------------------------------------------------------------ > What happens now with your Lotus Notes apps - do you make another costly > upgrade, or settle for being marooned without product support? Time to move > off Lotus Notes and onto the cloud with Force.com, apps are easier to build, > use, and manage than apps on traditional platforms. Sign up for the Lotus > Notes Migration Kit to learn more. http://p.sf.net/sfu/salesforce-d2d > _______________________________________________ > Contiki-developers mailing list > Con...@li... > https://lists.sourceforge.net/lists/listinfo/contiki-developers > |
From: David K. <da...@em...> - 2010-12-04 22:41:01
|
I have not used contiki with ip4 but with ip6 over 6LowPAN it is certainly possible to send broadcasts to all the ipv6 multicast addresses shown in e.g. http://en.wikipedia.org/wiki/Multicast_address According to that page the ipv4 broadcast is to 224.0.0.1 ----- Original Message ----- From: <gab...@st...> To: "Contiki developer mailing list" <con...@li...> Sent: Saturday, December 04, 2010 5:31 PM Subject: Re: [Contiki-developers] Local Broadcast using uip > Hi David, > > Thanks for your answer. > I am using MSP430 with Contiki 2.4. > I have a network with 6 nodes and I am trying to send a broadcast > message from one (random) to all others but what I have seen is that > it always change the rime address to the gateway's address and when > the packet arrives on the other nodes they drop because the it does > not match. > So, in the rime layer it uses unicast and not broadcast sendings. > > If I have no gateway the message is dropped by the sender itself. > > I read that uip supports broadcast messages, but I do not know if > it means that uip is capable to send one message for all nodes (at the > UDP layer) or not. This is my main doubt. > > Greets, > > Gabriel > > Quoting David Kopf <da...@em...>: > >> Hi Gabriel, >> >> Can you give more detail about what you are trying to accomplish? >> What host and contiki platform are you using? >> >> ----- Original Message ----- >> From: <gab...@st...> >> To: <con...@li...> >> Sent: Saturday, December 04, 2010 11:45 AM >> Subject: [Contiki-developers] Local Broadcast using uip >> >> >>> Hi all, >>> >>> I am trying to send a local broadcast message and it does not work. >>> If I try to send to 255.255.255.255 it changes the address to the >>> gateway and the other nodes do not receive. And if I put 10.0.255.255 >>> no nodes get the message because the ids do not match. >>> Am I doing something wrong or Contiki does not provide this kind of >>> communication by default? >>> >>> Greetings, >>> >>> Gabriel >>> >>> >>> ------------------------------------------------------------------------------ >>> What happens now with your Lotus Notes apps - do you make another costly >>> upgrade, or settle for being marooned without product support? Time to >>> move >>> off Lotus Notes and onto the cloud with Force.com, apps are easier to >>> build, >>> use, and manage than apps on traditional platforms. Sign up for the >>> Lotus >>> Notes Migration Kit to learn more. http://p.sf.net/sfu/salesforce-d2d >>> _______________________________________________ >>> Contiki-developers mailing list >>> Con...@li... >>> https://lists.sourceforge.net/lists/listinfo/contiki-developers >> >> >> ------------------------------------------------------------------------------ >> What happens now with your Lotus Notes apps - do you make another costly >> upgrade, or settle for being marooned without product support? Time to >> move >> off Lotus Notes and onto the cloud with Force.com, apps are easier to >> build, >> use, and manage than apps on traditional platforms. Sign up for the Lotus >> Notes Migration Kit to learn more. http://p.sf.net/sfu/salesforce-d2d >> _______________________________________________ >> Contiki-developers mailing list >> Con...@li... >> https://lists.sourceforge.net/lists/listinfo/contiki-developers >> > > > > > ------------------------------------------------------------------------------ > What happens now with your Lotus Notes apps - do you make another costly > upgrade, or settle for being marooned without product support? Time to > move > off Lotus Notes and onto the cloud with Force.com, apps are easier to > build, > use, and manage than apps on traditional platforms. Sign up for the Lotus > Notes Migration Kit to learn more. http://p.sf.net/sfu/salesforce-d2d > _______________________________________________ > Contiki-developers mailing list > Con...@li... > https://lists.sourceforge.net/lists/listinfo/contiki-developers |
From: <gab...@st...> - 2010-12-04 23:00:23
|
Actually this is for multicast and not broadcast, but it works as the other one (it has only one if clause that handles both of them). If the packet arrives to the UDP layer with these addresses the node receives, but the problem is that I can not send to all at the same time at the rime layer and I did not find any reference to this topic. Quoting David Kopf <da...@em...>: > I have not used contiki with ip4 but with ip6 over 6LowPAN it is certainly > possible to send broadcasts to all the ipv6 multicast addresses shown in > e.g. http://en.wikipedia.org/wiki/Multicast_address > > According to that page the ipv4 broadcast is to 224.0.0.1 > > ----- Original Message ----- > From: <gab...@st...> > To: "Contiki developer mailing list" > <con...@li...> > Sent: Saturday, December 04, 2010 5:31 PM > Subject: Re: [Contiki-developers] Local Broadcast using uip > > >> Hi David, >> >> Thanks for your answer. >> I am using MSP430 with Contiki 2.4. >> I have a network with 6 nodes and I am trying to send a broadcast >> message from one (random) to all others but what I have seen is that >> it always change the rime address to the gateway's address and when >> the packet arrives on the other nodes they drop because the it does >> not match. >> So, in the rime layer it uses unicast and not broadcast sendings. >> >> If I have no gateway the message is dropped by the sender itself. >> >> I read that uip supports broadcast messages, but I do not know if >> it means that uip is capable to send one message for all nodes (at the >> UDP layer) or not. This is my main doubt. >> >> Greets, >> >> Gabriel >> >> Quoting David Kopf <da...@em...>: >> >>> Hi Gabriel, >>> >>> Can you give more detail about what you are trying to accomplish? >>> What host and contiki platform are you using? >>> >>> ----- Original Message ----- >>> From: <gab...@st...> >>> To: <con...@li...> >>> Sent: Saturday, December 04, 2010 11:45 AM >>> Subject: [Contiki-developers] Local Broadcast using uip >>> >>> >>>> Hi all, >>>> >>>> I am trying to send a local broadcast message and it does not work. >>>> If I try to send to 255.255.255.255 it changes the address to the >>>> gateway and the other nodes do not receive. And if I put 10.0.255.255 >>>> no nodes get the message because the ids do not match. >>>> Am I doing something wrong or Contiki does not provide this kind of >>>> communication by default? >>>> >>>> Greetings, >>>> >>>> Gabriel >>>> >>>> >>>> ------------------------------------------------------------------------------ >>>> What happens now with your Lotus Notes apps - do you make another costly >>>> upgrade, or settle for being marooned without product support? Time to >>>> move >>>> off Lotus Notes and onto the cloud with Force.com, apps are easier to >>>> build, >>>> use, and manage than apps on traditional platforms. Sign up for the >>>> Lotus >>>> Notes Migration Kit to learn more. http://p.sf.net/sfu/salesforce-d2d >>>> _______________________________________________ >>>> Contiki-developers mailing list >>>> Con...@li... >>>> https://lists.sourceforge.net/lists/listinfo/contiki-developers >>> >>> >>> ------------------------------------------------------------------------------ >>> What happens now with your Lotus Notes apps - do you make another costly >>> upgrade, or settle for being marooned without product support? Time to >>> move >>> off Lotus Notes and onto the cloud with Force.com, apps are easier to >>> build, >>> use, and manage than apps on traditional platforms. Sign up for the Lotus >>> Notes Migration Kit to learn more. http://p.sf.net/sfu/salesforce-d2d >>> _______________________________________________ >>> Contiki-developers mailing list >>> Con...@li... >>> https://lists.sourceforge.net/lists/listinfo/contiki-developers >>> >> >> >> >> >> ------------------------------------------------------------------------------ >> What happens now with your Lotus Notes apps - do you make another costly >> upgrade, or settle for being marooned without product support? Time to >> move >> off Lotus Notes and onto the cloud with Force.com, apps are easier to >> build, >> use, and manage than apps on traditional platforms. Sign up for the Lotus >> Notes Migration Kit to learn more. http://p.sf.net/sfu/salesforce-d2d >> _______________________________________________ >> Contiki-developers mailing list >> Con...@li... >> https://lists.sourceforge.net/lists/listinfo/contiki-developers > > > ------------------------------------------------------------------------------ > What happens now with your Lotus Notes apps - do you make another costly > upgrade, or settle for being marooned without product support? Time to move > off Lotus Notes and onto the cloud with Force.com, apps are easier to build, > use, and manage than apps on traditional platforms. Sign up for the Lotus > Notes Migration Kit to learn more. http://p.sf.net/sfu/salesforce-d2d > _______________________________________________ > Contiki-developers mailing list > Con...@li... > https://lists.sourceforge.net/lists/listinfo/contiki-developers > |