[Linux-zigbee-devel] Driver ATmega128RF1A

2012-09-13 Thread Ivo Kunadt
Hello, i am trying to write a hardmac driver for the Atmega128RF1A (modul AT-Any-2400-SC3-2). This is my first driver and i have not so much experience with linux. First i written a SPI driver on base of the at86rf230 and register a netdevice in the probe function. I use at the moment linux-

Re: [Linux-zigbee-devel] Driver ATmega128RF1A

2012-09-13 Thread Prajosh Premdas
Hi Ivo You got to use a user space application http://sourceforge.net/apps/trac/linux-zigbee/wiki/GettingStarted-0.2 Read through this and run the driver in PC before you start the work on board Hope you understood. You will get a flow of the code etc from this Regards Prajosh On Thu, Sep 13,

[Linux-zigbee-devel] Antw: Re: Driver ATmega128RF1A

2012-09-13 Thread Ivo Kunadt
HI Prajosh, thx for the fast answer. I forgot to say we work on a embedded Linux (i.mx35) Board. I readed it but can´t get more information from it. Regards, Ivo >>> Prajosh Premdas 13.09.2012 12:00 >>> Hi Ivo You got to use a user space application http://sourceforge.net/apps/trac/li

[Linux-zigbee-devel] Antw: Re: Driver ATmega128RF1A

2012-09-13 Thread Ivo Kunadt
Hi, i think you need some more information: Linux Controller: imx35 Linux Kernel : 3.6.rc1 "Zigbee" Device: AT-ANY-2400-SC-3 Controller on the board: Atmega128rf1a The Zigbee Device run with the Atmel Mac Stack at the moment. The goal is to write a driver for the Atmega128rf1a that use a soc

Re: [Linux-zigbee-devel] Antw: Re: Driver ATmega128RF1A

2012-09-13 Thread Prajosh Premdas
Hi I have a few more information to share http://code.google.com/p/linux-wsn/wiki/LinuxStack Please go through this link Prajosh On Thu, Sep 13, 2012 at 6:03 PM, Ivo Kunadt wrote: > Hi, > > i think you need some more information: > Linux Controller: imx35 > Linux Kernel : 3.6.rc1 > > "Zigbee"

Re: [Linux-zigbee-devel] Antw: Re: Driver ATmega128RF1A

2012-09-13 Thread Christophe Aeschlimann
Hi Ivo, Le 13.09.2012 14:33, Ivo Kunadt a écrit : > At the moment i send some bytes in the xmit function of the > net_device_ops. What do you mean by that ? You cannot just send "some" bytes. Your driver must forward the data that comes from the higher layer (the soft mac) to your radio chip ove

Re: [Linux-zigbee-devel] Antw: Re: Driver ATmega128RF1A

2012-09-13 Thread Ivo Kunadt
Hi, thx for this explanations. I mean i send some Byte throw a socket like the izchat. Now it is more clear how to use this mlme functions. i report if a have finished or have some other questions Best regards, Ivo >>> Christophe Aeschlimann 13.09.2012 16:40 >>> Hi Ivo, Le 13.09.2012