Hi Ian,
About polling : if use a timer, when timer period expires the node send a message to the master. Then few milliseconds after node sends another message which i can't explain. I looked for an explanation in the code and i found this :
/*Default Timer Value for Time Between the confimation received for any
request and the next poll request sent by an End Device
( The value is given in millisecond )*/
#ifndef mDefaultValueOfConfirmationPollTimeOut_c
#define mDefaultValueOfConfirmationPollTimeOut_c 200
#endif
analizing the consumption signal with an oscilloscope i measured exactly 200 milliseconds between the two messages. So the node needs to poll the master, right?
About the consumption : at the moment i'm using the accelerometer code without any modification. That code use the state machine paradigm. I want estimate the RF consumption so at the moment the MCU consumption it's non influential.
I have another question: how can i use the GPIO of the MCU? I need to know the Rf power on interval, so i turn on a led when the "TxRx_enable" function is called and i switch it off when the "TxRx_disable" function is called. I'd like to use another port bacause led consumes a little current.. is it possible?
Again, thanks for your answers.
Tommaso