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

Wake up a node on CCS Ember board

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



Joined: 30 Nov 2008
Posts: 5

View user's profile Send private message

Wake up a node on CCS Ember board
PostPosted: Wed Dec 03, 2008 10:19 am     Reply with quote

At the base station defined as the network coordinator,
Code:

EmberFormNetwork();
Status=ezspPermitJoining(0xFF);


By allowing the node to join the network, does it means the PIC 16F886 has been wake up from the sleep mode by the EZSP_NWAKE from the EM260 of the sensor board and query pin C7 for the input (Power button pushed to ON) for a time defined by emberPermitJoining()?

If lets say node A relay message to node B, so at A:
Code:

ezspJoinNetwork(EMBER_ROUTER)
emberPermitJoining(0x1E) /set to 30 secs for joinning
sleep()


After that I let node A enter the sleep mode.
Is my concept correct?
Does anyone doing coding like this before?
Appending the message frm node A to node B?

Thanks in advance.
evios



Joined: 24 Nov 2008
Posts: 8

View user's profile Send private message

PostPosted: Thu Dec 04, 2008 5:17 am     Reply with quote

Does anyone know is the PIC wake up during network forming or when it is called by the #define?
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