Zigbee

Forum for problems or queries regarding Flowcode Comms Components. Eg LIN, I2C, SPI, RS232, CAN, IrDA etc

Moderators: Benj, Mods

Post Reply
Manu
Posts: 3
Joined: Fri Jan 13, 2006 7:57 am
Contact:

Zigbee

Post by Manu »

Hello,
When I try to test the Zigbee component, I have failures like :

"D:\Manu\xbee\Emetteur2.c(454:4): error: unknown identifier 'MX_ZIG_TRIS'
D:\Manu\xbee\Emetteur2.c(454:4): error: invalid operand 'MX_ZIG_TRIS'
D:\Manu\xbee\Emetteur2.c(454:17): error: failed to generate expression"...

What's the problem... and the solution?
Thanks for your attention
Manu

User avatar
Benj
Matrix Staff
Posts: 15312
Joined: Mon Oct 16, 2006 10:48 am
Location: Matrix TS Ltd
Has thanked: 4803 times
Been thanked: 4314 times
Contact:

Re: Zigbee

Post by Benj »

Hello

Have you defined the component connections. The component will fail if it is not assigned to a port.

Manu
Posts: 3
Joined: Fri Jan 13, 2006 7:57 am
Contact:

Re: Zigbee

Post by Manu »

OK, the problem is simply that if you don't use a component macro (InitNetwork), it failed!... Sorry.
Someone could give me an example for End device an Coordinator?
Thank you
Manu

User avatar
Benj
Matrix Staff
Posts: 15312
Joined: Mon Oct 16, 2006 10:48 am
Location: Matrix TS Ltd
Has thanked: 4803 times
Been thanked: 4314 times
Contact:

Re: Zigbee

Post by Benj »

Hello Manu

I have a few example files for the Zigbee boards if you need them.

vim
Posts: 8
Joined: Wed Jul 30, 2008 9:07 am
Contact:

Re: Zigbee

Post by vim »

Hi, i dont want to be a thread stealer however...

I am trying to build a wireless sensor using the zigbee e-blocks. I would appreciate seeing these example files you have. Is there any way you can post them?

User avatar
Benj
Matrix Staff
Posts: 15312
Joined: Mon Oct 16, 2006 10:48 am
Location: Matrix TS Ltd
Has thanked: 4803 times
Been thanked: 4314 times
Contact:

Re: Zigbee

Post by Benj »

Hello Wim

Here you go.
Attachments
Zigbee_Exercises.zip
(144.66 KiB) Downloaded 407 times

vim
Posts: 8
Joined: Wed Jul 30, 2008 9:07 am
Contact:

Re: Zigbee

Post by vim »

VIM! not wim!

Is there some kind of explanation to go with these examples?

Also when I try to load them into flowcode 3.2.0.36 there is an error:

The file you are loading was made by a neweer version of flowcode (20 > 19) and may not load correctly.

Followed by:

Flowcode could not load one of the components in the file because it is not recognised on this machine. Install the necessary component before opening this file.

I thought i had the latest version? how do i find out which component i am missing? Is there a log file? Is there another program i must install?

UPDATE:

I think i understand, i have to update my version to v3.4.7.48 in order to take advantage of the zigbee modules that i have.

Post Reply