Hi Alexander,
  With your hint, it works my board.
  Thank you very much!

  BTW, is there any good method to configure the zigbee?

  For my instance, I use one script to combine the command together as 
following:
  iz add wpan-phy0
  ip link set wpan0 address <address>
  ifconfig wpan0 up
  iz scan ...
  iz attach ... 
  
  So, if there good method to configure the zigbee like configure the WIFI, 
just need scan and attach?

  Thanks again!
  


2011-07-06 



voice 



发件人: Alexander Smirnov 
发送时间: 2011-07-06  14:34:57 
收件人: voice 
抄送: linux-zigbee-devel 
主题: Re: [Linux-zigbee-devel] iz scan issue 
 
Hi,

thank you for the interest to this project!

The 'channels' argument to iz command is a bit mask (not a number).
Currently supported the following mask: 0x7fff800 (channels from 12 to 31).


So below is my output:

root@at91sam9g20ek:~/bin# iz scan wpan0 active 800 1
Found beacon:
        Short addr: 1
        PAN id: 1911

root@at91sam9g20ek:~/bin# iz scan wpan0 active 7fff800 1
Found beacon:
        Short addr: 1
        PAN id: 1911
Finished active (beacons) scan...

NOTE: that PAN id is decimal number in this output.

Thank you,
Alexander


2011/7/6 voice <voice.s...@gmail.com>

Hi All,
  I use the Linux kernel which include zigbee stack from Linux-zigbee project. 
Using the 88RF231 hardware with at91sam9g20ek board.
  It can configure the device successfully and send data between two devices.

  But, If I use the iz scan command it will git the following error 
information. Any advices for it?
--------------------------------------------------------------
root@at91sam9g20ek_2mmc:~# iz scan wpan0 active 15 10
Scan failed: e8
Started active (beacons) scan...
Receive failed: Netlink Error (errno = Invalid argument)
---------------------------------------------------------------


2011-07-06 



voice 

------------------------------------------------------------------------------
All of the data generated in your IT infrastructure is seriously valuable.
Why? It contains a definitive record of application performance, security
threats, fraudulent activity, and more. Splunk takes this data and makes
sense of it. IT sense. And common sense.
http://p.sf.net/sfu/splunk-d2d-c2
_______________________________________________
Linux-zigbee-devel mailing list
Linux-zigbee-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/linux-zigbee-devel
------------------------------------------------------------------------------
All of the data generated in your IT infrastructure is seriously valuable.
Why? It contains a definitive record of application performance, security 
threats, fraudulent activity, and more. Splunk takes this data and makes 
sense of it. IT sense. And common sense.
http://p.sf.net/sfu/splunk-d2d-c2
_______________________________________________
Linux-zigbee-devel mailing list
Linux-zigbee-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/linux-zigbee-devel

Reply via email to