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 CCS Technical Support

Zigbee Multicast example program oddities

 
Post new topic   Reply to topic    CCS Forum Index -> General CCS C Discussion
View previous topic :: View next topic  
Author Message
Greg Richter



Joined: 15 Feb 2008
Posts: 18
Location: Atlanta, Tulsa, Asheville

View user's profile Send private message Visit poster's website

Zigbee Multicast example program oddities
PostPosted: Fri Apr 16, 2010 12:24 am     Reply with quote

The example code in the CCS guide has a quirk with Multicast that I'm trying to work around. The CCS example 14 works a treat from the SED going back to the Coordinator, you can hold the button down and just blaze away watching the LED activity light flicker. I did a simple Unicast to device 0, and it's solid.

Going from the coordinator to the SED with a Multicast message is not reliable if you push the button more than one a second or so. The example code exhibits this problem, which is a surprise!

Anyone else seen this? Anyone using Multicast successfully? Everything in the kit pretty much came up and worked easily, but Multicast. Seems to hang in the stack someplace and times out if you do more than a packet a second.

Works if you go SLOWLY, though.

Anyone else working on this?

THANKS!

-G
_________________
Madness takes it toll; please have exact change.
Greg Richter



Joined: 15 Feb 2008
Posts: 18
Location: Atlanta, Tulsa, Asheville

View user's profile Send private message Visit poster's website

PostPosted: Fri Apr 16, 2010 12:26 am     Reply with quote

One more bit -- looks like there are ACK packets coming back and you can't send another before the first gets ACK'ed. Sniffing it from the RF side.

Off to check the ACK parts of the stack, I suppose.

Still open to ideas, though!

-G
_________________
Madness takes it toll; please have exact change.
Greg Richter



Joined: 15 Feb 2008
Posts: 18
Location: Atlanta, Tulsa, Asheville

View user's profile Send private message Visit poster's website

Stack timing of ACKs
PostPosted: Fri Apr 16, 2010 8:12 am     Reply with quote

Looks like for each Multicast message from the Coordinator there are three packets -- the one you sent, the reply and the acknowledge.

Slow the data rate down to almost nothing. The Unicast messages are high rate, but no ACK. I think this must be intended for command and control -- high reliability, low rate.

Anyone have some insight on this? If not it's deep into the Ember specs sheets, which sounds like negative fun!
_________________
Madness takes it toll; please have exact change.
Greg Richter



Joined: 15 Feb 2008
Posts: 18
Location: Atlanta, Tulsa, Asheville

View user's profile Send private message Visit poster's website

PostPosted: Thu Apr 29, 2010 7:02 pm     Reply with quote

Got this sorted -- FYI all:

Multicast does quite a lot of thrashing in the Ember stack and is, in fact, slow as molasses. Unicast is blazing fast, so you're better off doing the multi's yourself unless you have 100's of nodes.

-G
_________________
Madness takes it toll; please have exact change.
Display posts from previous:   
Post new topic   Reply to topic    CCS Forum Index -> General CCS C Discussion All times are GMT - 6 Hours
Page 1 of 1

 
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