CCS C Software and Maintenance Offers
FAQFAQ   FAQForum Help   FAQOfficial CCS Support   SearchSearch  RegisterRegister 

ProfileProfile   Log in to check your private messagesLog in to check your private messages   Log inLog in 

CCS does not monitor this forum on a regular basis.

Please do not post bug reports on this forum. Send them to support@ccsinfo.com

ZigBee protocol stack
Goto page 1, 2  Next
 
Post new topic   Reply to topic    CCS Forum Index -> General CCS C Discussion
View previous topic :: View next topic  
Author Message
bertronicom



Joined: 17 Nov 2004
Posts: 26
Location: University of Cantabria -SPAIN

View user's profile Send private message Send e-mail MSN Messenger

ZigBee protocol stack
PostPosted: Wed Jan 26, 2005 10:17 am     Reply with quote

I'm trying to implement a Zigbee network.

I need to implement ZigBee protocol stack in PIC18.

Microchip offer this source code, but I don't be sure If it's compatible with CCS.

Any suggestion will be gratefully apreciated.
Mark



Joined: 07 Sep 2003
Posts: 2838
Location: Atlanta, GA

View user's profile Send private message Send e-mail

PostPosted: Wed Jan 26, 2005 10:23 am     Reply with quote

Better look closely at the code. It is pretty basic and doesn't really give you everything that is Zigbee. Maybe in the future though.

Quote:

LIMITATIONS
Version 1.0 of the Microchip Stack contains the
following limitations. Please note that MIcrochip is
planning to add new features as time progresses. Refer
to the source code version log file (version.log) for
current limitations.
• Not ZigBee protocol-compliant
• No cluster and peer-to-peer network support
• No security and access control capabilities
• No router functionality
• Does not provide standard profiles; however, it
contains all necessary primitive functions to
create profiles
• Does not support one-to-many bindings


But to answer your question, you will have to port it but it should work.
Darren Rook



Joined: 06 Sep 2003
Posts: 287
Location: Milwaukee, WI

View user's profile Send private message Send e-mail

PostPosted: Wed Jan 26, 2005 1:08 pm     Reply with quote

Quote:
But to answer your question, you will have to port it but it should work.


And if you're going to go through all that work to port it you might as well start with a stack that actually supports Zigbee functions.
_________________
I came, I saw, I compiled.
libor



Joined: 14 Dec 2004
Posts: 288
Location: Hungary

View user's profile Send private message

PostPosted: Wed Jan 26, 2005 1:25 pm     Reply with quote

Sorry, might be a little bit off-topic here:
I would not want to read thru and misinterpret all the legal stuff, so I would appreciate someone clarify for me:
- ZigBee.org would charge a fee to become their member, only these members can access the protocol documentation
- we can get the (partial) protocol stack free from Microchip, hopefully we get the full version later

My questions are:
- Is it legal to use this Zigbee protocol in my own commercial products not being a member of Zigbee?
- Can I reverse engineer the Zigbee protocol stack written by Microchip to write my own (enhanced) protocol that is compatible with or based upon Zigbee?
- Can I make a product compatible with Zigbee, and advertise it as 'Zigbee ready' without being a member of Zigbee?
Mark



Joined: 07 Sep 2003
Posts: 2838
Location: Atlanta, GA

View user's profile Send private message Send e-mail

PostPosted: Wed Jan 26, 2005 2:35 pm     Reply with quote

If you are going to make and advertise a Zigbee product, it is going to have to be certified. That is where joining the alliance comes in. You are supposed to be able to have it certified without joining but the cost is pretty high. I haven't found anyone to really give straight answers yet! I went to the Freescale ECS this past year and took several seminars on Zigbee and no one could give me a straight answer. Atmel came in to propose their "solution" to a Zigbee product but still left things very uncertain. I scheduled a followup meeting with them on Feb 9. Maybe I'll be able to give you more details then.
libor



Joined: 14 Dec 2004
Posts: 288
Location: Hungary

View user's profile Send private message

PostPosted: Wed Jan 26, 2005 3:28 pm     Reply with quote

Thank you, Mark
for kindly reassuring me that it is not me so dumb not seeing the legal issues clearly.
If I get it right, the main ZigBee participant companies too have not yet decided what licencing policy they will follow to promote this standard.
In the meantime I am going to learn the technical, programing aspects of this or a similar ad-hoc sensor network anyway, so I hope these legal things will clear up by the time I would use it in a real device sold to my customers.
Anyway I am going to test my own protocol candidates also for a self-healing ad-hoc mesh RF network. (however one can be never sure what patents are breached unintentionaly) ...I have already made some encouraging tests using a discreet event simulator program running on a PC, though I would like to go to be at least partially compatible with Zigbee if it will not cost me a lot of (annoying) licence or membership fee.
Thanks.
valemike
Guest







PostPosted: Wed Jan 26, 2005 4:39 pm     Reply with quote

I too was at the Freescale seminar a few months ago.

i understand that you do not have to be a member to design Zigbee products. You simply buy Freescale's or Microchip's (Chipcon's) chips.

They really couldn't give a straight answer, like Mark said, on licensing and certification. I heard from someone that since the transceivers can potentially operate through several channels, that there will be a more exhaustive process of FCC certification.

As far as licensing, i don't think you have to license each unit, since such fees are inherent in you merely buying the chips. Not sure though.
Mark



Joined: 07 Sep 2003
Posts: 2838
Location: Atlanta, GA

View user's profile Send private message Send e-mail

PostPosted: Wed Jan 26, 2005 5:51 pm     Reply with quote

valemike wrote:

As far as licensing, i don't think you have to license each unit, since such fees are inherent in you merely buying the chips. Not sure though.


Yeah, that adds to the confusion. It is true about the licensing but from what I gathered it has to be certified Zigbee which is what will cost you. I heard from once source that the cost would be in the $3K-$4K range. So if you do more than 2 products, you would have been better off joining the alliance which I was told gets you free testing. I don't hold much of this hold heartily yet. I would look for some companies to make modules that would ease the smaller guys.
bertronicom



Joined: 17 Nov 2004
Posts: 26
Location: University of Cantabria -SPAIN

View user's profile Send private message Send e-mail MSN Messenger

PostPosted: Thu Jan 27, 2005 5:42 am     Reply with quote

I'm learning a lot about state of the art in zigbee.
I would like to ask 2 questions,

1) Zigbee stack source code from Microchip is supported by CCS ?

2) Can I download this code from Microchip for free? (Without buying PICDEM Z development kit)

Best regards
libor



Joined: 14 Dec 2004
Posts: 288
Location: Hungary

View user's profile Send private message

PostPosted: Thu Jan 27, 2005 7:15 am     Reply with quote

1. as far as know: no, not yet. If not by CCS itself, some of us developers will certainly convert it to CCS C, i think it will be available soon.
2. yes, you can download it free from Microchip's site, there is an application note AN965 and also a .zip file (MpZBeeV1.0.0.zip) containing the source code
Guest








Dev. kits and modules
PostPosted: Thu Jan 27, 2005 11:47 am     Reply with quote

Reading some of the info at chipcon.com I noticed the price of a Zigbee dev. kit is $5000.00
I can’t find any company ready to ship modules, or anyone that has a working stack for the PC. !
And from the Microchip web site it sounds like the stack is not ready yet… !

Zigbee sounds fine, but I think it's being setup to exclude the little guy, at lest in the beginning, just like the SD card crap.

At least Bluetooth is somewhat more accessible, and the little guy (hobbyist) can get started for a few $$.

I predict Zigbee for $75 (1-25) a module by 2006/7
Mark



Joined: 07 Sep 2003
Posts: 2838
Location: Atlanta, GA

View user's profile Send private message Send e-mail

PostPosted: Thu Jan 27, 2005 11:59 am     Reply with quote

Its too new. Give it time.
valemike
Guest







Re: Dev. kits and modules
PostPosted: Thu Jan 27, 2005 12:49 pm     Reply with quote

Anonymous wrote:
Reading some of the info at chipcon.com I noticed the price of a Zigbee dev. kit is $5000.00
I can’t find any company ready to ship modules, or anyone that has a working stack for the PC. !
And from the Microchip web site it sounds like the stack is not ready yet… !


Do you want the full zigbee stack? or do you just want to be able for two devices to talk to each other? Microchip and Freescale have kits at $200, but this is just the basic non-full-zigbee kit.
Guest








Re: Dev. kits and modules
PostPosted: Thu Jan 27, 2005 1:27 pm     Reply with quote

valemike wrote:
Anonymous wrote:
Reading some of the info at chipcon.com I noticed the price of a Zigbee dev. kit is $5000.00
I can’t find any company ready to ship modules, or anyone that has a working stack for the PC. !
And from the Microchip web site it sounds like the stack is not ready yet… !


Do you want the full zigbee stack? or do you just want to be able for two devices to talk to each other? Microchip and Freescale have kits at $200, but this is just the basic non-full-zigbee kit.


To be of any real use a stack for the PC with PAN and more. Just connecting two devices is not a big deal.

To make a system SCADA system a link to the PC world is needed.

I'm sure looking forward to Zigbee, but it's not in any of my new designs just yet.
valemike
Guest







PostPosted: Fri Jan 28, 2005 6:37 am     Reply with quote

Has anyone ordered and gotten their hands yet on a PICDEM Z? The availability date seems to be creeping, first into mid-January, then February, now March. I ordered it the same week it was first advertised last month, and still unsure when i'll get it.

-Mike
Display posts from previous:   
Post new topic   Reply to topic    CCS Forum Index -> General CCS C Discussion All times are GMT - 6 Hours
Goto page 1, 2  Next
Page 1 of 2

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum


Powered by phpBB © 2001, 2005 phpBB Group