On 10/23/2012 06:22 PM, João Paulo Bodanese wrote:
> My objective is to build my own application over the 802.15.4. So, i
> think i will need the basic functionality.
> Now, i have running a kernel 3.2 on the BeagleBone, and i started to
> merge the 802.15.4 code from linux-3.7-rc1 to the 3.2.

I wouldn't do that. Way too much unnecessary work. Start with a kernel
that already has it built in, like in your case the BeagleBone 3.7 kernel.

> But, i have some doubts. In the 3.2 doesn't have the files
> "net/mac802154/", that says:
>
> "tristate "Generic IEEE 802.15.4 Soft Networking Stack (mac802154)"
>         depends on IEEE802154 && EXPERIMENTAL
>         ---help---
>           This option enables the hardware independent IEEE 802.15.4
>           networking stack for SoftMAC devices (the ones implementing
>           only PHY level of IEEE 802.15.4 standard).
>
>           If you plan to use HardMAC IEEE 802.15.4 devices, you can
>           say N here. Alternatievly you can say M to compile it as
>           module.
> "
> And the Kconfig from the driver mrf24j40.c says:
>
> "config IEEE802154_MRF24J40
>        tristate "Microchip MRF24J40 transceiver driver"
>        depends on IEEE802154_DRIVERS && MAC802154 "
>
> My doubt is, Why the MRF24J40 depends on MAC802154 (SoftMac) if the
> the device is HardMAC?

That's a great question, and I don't know that I fully have the answer.
The best answer I can give is that the line between hard and soft MAC is
a bit fuzzy in the Linux implementation.

> As i sad, i just need access the MRF24J40 driver to write and read raw
> data, without any application on the top.
> What is the best way to do that?
>

If you just need raw 802.15.4 data, without 6lowpan, then have a look at
the izchat userspace example.

Alan.


------------------------------------------------------------------------------
Everyone hates slow websites. So do we.
Make your web apps faster with AppDynamics
Download AppDynamics Lite for free today:
http://p.sf.net/sfu/appdyn_sfd2d_oct
_______________________________________________
Linux-zigbee-devel mailing list
Linux-zigbee-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/linux-zigbee-devel

Reply via email to