Hello, liuxue wrote: > Hi everyone > These days I am working on cc2420 driver for imote2 platform > .Isuccessfully bring up cc2420.Now I want to test it. I find that there > are many test program and Python program in lowpan-tools folder. My > imote2 did not support Python currently.How to use those testN to test > device transport and receive functions.Thx
The python programs are for serial discipline driver. Those testN programs just send/receive data on the LR-WPAN interfaces. test.c uses raw data and is outdated a bit (s/mwpan/wpan/), all other programs use dgram sockets, which means plain IEEE 802.15.4 encapsulation. You can use them as code samples to write your own networking tests. Also I'd suggest to look into GettingStarted-0.2 wiki page, which provides an example of starting a network between three virtual nodes. You should be able to use radio to start up a network between different boxes. There are some problems with wireshark (it receives not all incoming packets), which I hope to sort soon. -- With best wishes Dmitry ------------------------------------------------------------------------------ The Planet: dedicated and managed hosting, cloud storage, colocation Stay online with enterprise data centers and the best network in the business Choose flexible plans and management services without long-term contracts Personal 24x7 support from experience hosting pros just a phone call away. http://p.sf.net/sfu/theplanet-com _______________________________________________ Linux-zigbee-devel mailing list [email protected] https://lists.sourceforge.net/lists/listinfo/linux-zigbee-devel
