Olimex Support Forum

Others => UEXT => Topic started by: bernat5 on December 15, 2015, 04:32:16 PM

Title: MOD-ZIGBEE-PIR behavior
Post by: bernat5 on December 15, 2015, 04:32:16 PM
Hi,

I have got a simple network with MOD-ZIGBEE-UEXT and MOD-ZIGBEE-PIR perfectly working, with the default source code provided by Olimex.

I am trying to modify the MOD-ZIGBEE-PIR code to make it send the temperature periodically, and not only when pressing the B1 button. I am not able to get it; I try to simulate the button press inside the code but it doesn't work. Can anybody help me?

Thanks in advance!
Title: Re: MOD-ZIGBEE-PIR behavior
Post by: kyrk.5 on December 16, 2015, 02:32:07 PM
Is there any source code that can be reviewed?
Title: Re: MOD-ZIGBEE-PIR behavior
Post by: bernat5 on December 18, 2015, 01:23:05 PM
Hi Kyrk, thanks for replying.

This is the link where you can find the source code:

https://www.olimex.com/Products/Modules/RF/MOD-ZIGBEE-PIR/resources/MOD-ZIGBEE-PIR_demoSoft.zip

In this case, I think that must be modified the "Rfd.c" file in "RFD" directory.

Thanks!