# Adding UCLA\_Zigbee\_PHY

**URL:** <https://www.ruby-forum.com/t/adding-ucla-zigbee-phy/227440>\
**Category:** GNU Radio\
**Created:** [March 15, 2013, 2:05pm UTC](https://www.ruby-forum.com/t/adding-ucla-zigbee-phy/227440 "2013-03-15T14:05:01Z")\
**Posts on this page:** 4\
**Page:** 1

<div class="post-metadata">

**Author:** ![Songsong\_G](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/s/49beb7/32.png) [@Songsong\_G](https://www.ruby-forum.com/u/Songsong_G)\
**Post date:** [March 15, 2013, 2:05pm UTC](https://www.ruby-forum.com/t/adding-ucla-zigbee-phy/227440/1 "2013-03-15T14:05:01Z")

</div>

Hi,

I’m now trying to use UCLA\_Zigbee\_PHY by UCLA  
I have been following this instruction:  
[https://www.cgran.org/wiki/UCLAZigBee#HowToInstall](https://www.cgran.org/wiki/UCLAZigBee#HowToInstall)

FYI, I’ve installed GNUradio with \*build-gnuradio \*script. Thus, i think  
I  
don’t have any directories and files for installation because the script  
removes them after installation finished.

According to the instruction of UCLA, I don’t need to redownload  
GNUradio,  
thus I’ve just downlaoded UCLA\_Zigbee\_PHY.  
After finishing \*bootstrap \*and _configure_, when I typed _make_, it  
prints  
the following errors.

(I just put error messages)

* * *

/usr/local/include/gnuradio/swig/gnuradio.i:31: Error: Unable to find  
‘gruel\_common.i’  
/usr/local/include/gnuradio/swig/gr\_basic\_block.i:26: Error: Unable to  
find  
‘pmt\_swig.i’  
make[3]: \*\*\* [ucla.cc] Error 1  
make[3]: Leaving directory  
`/home/songsong/build-gnuradio_src/ucla_zigbee_phy/src/lib' make[2]: *** [all-recursive] Error 1 make[2]: Leaving directory `/home/songsong/build-gnuradio\_src/ucla\_zigbee\_phy/src’  
make[1]: \*\*\* [all-recursive] Error 1  
make[1]: Leaving directory  
`/home/songsong/build-gnuradio\_src/ucla\_zigbee\_phy’  
make: \*\*\* [all] Error 2

---

<div class="post-metadata">

**Author:** ![Songsong\_G](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/s/49beb7/32.png) [@Songsong\_G](https://www.ruby-forum.com/u/Songsong_G)\
**Post date:** [March 15, 2013, 6:43pm UTC](https://www.ruby-forum.com/t/adding-ucla-zigbee-phy/227440/2 "2013-03-15T18:43:49Z")

</div>

Hi,

On 03/15/2013 02:03 PM, Songsong G. wrote:

> Hi,
> 
> I’m now trying to use UCLA\_Zigbee\_PHY by UCLA  
> I have been following this instruction:  
> [https://www.cgran.org/wiki/UCLAZigBee#HowToInstall](https://www.cgran.org/wiki/UCLAZigBee#HowToInstall)
> 
> FYI, I’ve installed GNUradio with /build-gnuradio /script. Thus, i think  
> I don’t have any directories and files for installation because the  
> script removes them after installation finished.

I recently updated the blocks to the current GNU Radio version. You can  
find them here:

> **[GitHub - bastibl/gr-ieee802-15-4: IEEE 802.15.4 ZigBee Transceiver](https://github.com/bastibl/gr-ieee802-15-4)**
>
> IEEE 802.15.4 ZigBee Transceiver

Maybe you want to have a look.

Basti

---

<div class="post-metadata">

**Author:** ![Songsong\_G](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/s/49beb7/32.png) [@Songsong\_G](https://www.ruby-forum.com/u/Songsong_G)\
**Post date:** [March 19, 2013, 10:18pm UTC](https://www.ruby-forum.com/t/adding-ucla-zigbee-phy/227440/3 "2013-03-19T22:18:39Z")

</div>

Thanks your advice.

One more thing, is there any documentation or implementation of IEEE  
802.15.4 which is compatible with TelosB device?  
I heard that TelosB uses similar but different MAC and PHY with standard  
IEEE 802.15.4

I’m still working on modifying the code for TelosB

2013/3/16 Bastian B. [removed\_email\_address@domain.invalid](mailto:removed_email_address@domain.invalid)

---

<div class="post-metadata">

**Author:** ![Songsong\_G](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/s/49beb7/32.png) [@Songsong\_G](https://www.ruby-forum.com/u/Songsong_G)\
**Post date:** [March 20, 2013, 12:17am UTC](https://www.ruby-forum.com/t/adding-ucla-zigbee-phy/227440/4 "2013-03-20T00:17:16Z")

</div>

Hi,

On 03/19/2013 05:14 AM, Songsong G. wrote:

> Thanks your advice.
> 
> One more thing, is there any documentation or implementation of IEEE  
> 802.15.4 which is compatible with TelosB device?  
> I heard that TelosB uses similar but different MAC and PHY with standard  
> IEEE 802.15.4
> 
> I’m still working on modifying the code for TelosB

I guess you are mixing some stuff. TelosB is the hardware and has an  
IEEE 802.15.4 transceiver. The PHY is therefore always IEEE 802.15.4.  
Dependent on the OS (e.g. Contiki, TinyOS) on which you base your  
firmware, you can select different MAC layers.  
In the example that I added, I basically switch of duty cycling (i.e.  
the receiver is always on).

in contiki/project-conf.h:  
#define NETSTACK\_CONF\_RDC nullrdc\_driver

Dependent on the algorithm that you actually want to use, you would have  
to adapt the GNU Radio blocks.

With the blocks and the firmware I am able to communicate with the  
TelosB mote (SDR ↔ SDR and SDR ↔ TelosB). Is that working for you?

Cheers,  
Bastian
