Hi, Mathieu, 2011/12/21 M Pouillot <m.pouil...@watteco.com>: > Hello all, > > > > I need to implement a 6lowpan linux driver for the CC2530 from TI. This
6LowPAN isn't a driver, it's an abstract hook which is independent of bottom layers. > transceiver purposes its own serial protocol to manage its Z-MAC (embedded > 802.15.4 Mac layer). I see Linux-Zigbee allows hardMAC (for transceiver > embedded Mac layer) or serial driver for which is necessary to have a > 802-15-4 linux implementation. So what is the best way for me to implement > my specific device (serial + hardMAC)? May be there is a near > implementation… I think nothing in Linux which may completely fit your requirements :-( > > By the way for the HardMAC implementation, I don't understand in the > fakehard.c example how are received the data and how are sent to the higher > layer? The receive datapath is similar for all the drivers. There are 2 callbacks described in net/mac802154/rx.c: - mac802154_rx - ieee802154_rx_irqsafe The first one should be used in kernel context, the second for interrupt one. Just pass skb to this function and it'll deliver your buffer to appropriate device in upper layers. With best regards, Alexander > > > > thanks a lot for your feedback, > > > > > > Mathieu a newbie in linux driver ;-) > > > ------------------------------------------------------------------------------ > Write once. Port to many. > Get the SDK and tools to simplify cross-platform app development. Create > new or port existing apps to sell to consumers worldwide. Explore the > Intel AppUpSM program developer opportunity. appdeveloper.intel.com/join > http://p.sf.net/sfu/intel-appdev > _______________________________________________ > Linux-zigbee-devel mailing list > Linux-zigbee-devel@lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/linux-zigbee-devel > ------------------------------------------------------------------------------ Write once. Port to many. Get the SDK and tools to simplify cross-platform app development. Create new or port existing apps to sell to consumers worldwide. Explore the Intel AppUpSM program developer opportunity. appdeveloper.intel.com/join http://p.sf.net/sfu/intel-appdev _______________________________________________ Linux-zigbee-devel mailing list Linux-zigbee-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/linux-zigbee-devel