Hi Bastian, Some opinions ... not real definitive answers below.
Le 27/10/2010 10:00, Wolf-Bastian Pöttner a écrit : > From the conceptual point of view, the situation is as follows: > > Linux-zigbee uses the IEEE 802.15.4 MAC mechanisms. This includes the > necessity to attach to a PAN to receive a 16 bit address. Yes but it it is also possible to fix them without using MAC15.4 exchanges between coord and device (ie Beacon request, Beacon, Association request ...). # izconfig wpan1 <Panid>:<shortaddress> Then, as an example, you can play with" izchat" to exchange between two devices, maybe that's what you need to exchange raw data ? > Contiki uses custom MAC mechanisms for communication which mostly rely > on the fact, that all nodes have unique 16 bit addresses. On our side we've already "played" with Contiki/RPL/IPV6/6LowPan/NULLMAC and the only MAC addresses used over the media are the IEEE 64 bits ones ... we use "border routers" as dag root for now, and absolutly no use of MAC Layer Coord and Devices ... > Technically, either Contiki needs to associate to the coordinator (which > it currently cannot do, if I am not mistaken) or linux-zigbee needs to > learn any of the Contiki MAC mechanisms. Here is the question: For us, something is necessary either at application or kernel level to force the an equivalence beetween IP address and MAC addresses ... On a previous experiment with Linux Zigbee we did exchange simple IPV4/ICMP and UDP frames by making a little hack in ./net/mac802154/dev.c to force Rx and Tx of 802.15.4 broadcasted message. The IPV4 layer was filtering frames. After that we've made a simple proprietary "L2/L3" equivalence to allow addressed MAC packet with Ack. Jon as started working on a more "specified" way to do that with IPV6/6LowPAN ... > I am aware of the fact, that communication is still possible. But I > doubt that this is, how the protocols were intended to be used. > > So the question remains: is there any "specified" way of low-level > communication between Contiki and linux-zigbee? But definitely, for your initial request of raw 802.15.4 frames, i think that what seems very close from your need is some "izchat" like application. Isn't it ? > > Cheers, > > Bastian Regards Pierre-emmanuel ------------------------------------------------------------------------------ Nokia and AT&T present the 2010 Calling All Innovators-North America contest Create new apps & games for the Nokia N8 for consumers in U.S. and Canada $10 million total in prizes - $4M cash, 500 devices, nearly $6M in marketing Develop with Nokia Qt SDK, Web Runtime, or Java and Publish to Ovi Store http://p.sf.net/sfu/nokia-dev2dev _______________________________________________ Linux-zigbee-devel mailing list Linux-zigbee-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/linux-zigbee-devel