Hi,
thanks for your files, it was helpful for me.
I can stop the radio now, the problem was a radio transmission which was not
finished when I tried to stop the radio.
(=> return value EBUSY).
There is just a question left.
Does the node go to the sleep state when the radio is started, or is it
necessary to stop it?
What do you recommend to me? Stop the radio after each transmission? Then the
node can't receive on the radio.
Regards
Mario
Von: C L [mailto:[email protected]]
Gesendet: Donnerstag, 9. Dezember 2010 16:07
An: Mario Riesner
Cc: tinyos
Betreff: Re: [Tinyos-help] Can\'t stop Radio on Meshbean (MeshNetics Zigbit)
<first mail was temporarily blocked. 'message too big' error.>
hello mario
everything works for me now (on Meshbean platform using Zigbit Amp).
attached:
1. pls see the attached ps file which records all conversations between me,
janos, and miklos. if there's anything unclear, pls ask.
2. HplRF230P.nc that works for me. i actually had it updated through CVS from
here:
http://tinyos.cvs.sourceforge.net/viewvc/tinyos/tinyos-2.x-contrib/ethz/meshbean900/tos/platforms/meshbean/chips/rf230/
3. simple radio stop/start app (starts radio -> sends a packet (read it
separately using java serial listener) -> stops radio -> waits -> srepeat the
process).
rgds
CL
On Thu, Dec 9, 2010 at 10:26 AM, Mario Riesner <[email protected]> wrote:
Hi,
did someone solve the problem?
I'm also trying to stop the radio on my Meshbean platform with "call
AMControl.stop()" but the return value is always EBUSY. (SplitControl as
AMControl )
In the HplRF230P.nc file (2007) I think the lowestState() function is already
suitable?
async command mcu_power_t McuPowerOverride.lowestState()
{
return radioOn ? ATM128_POWER_IDLE : ATM128_POWER_DOWN;
}
My module runs with the internal rc oscillator.
I' m a bit confused with the sleep mode, is the sleep mode in general activated
for the meshbean modules?
Do I need to stop the radio to set the module in sleep mode?
How can I test if my module/code uses the sleep mode if there is nothing to do
(no tasks pending, no events)?
What's the advantage if I stop the radio?
Thanks in advance
Cheers,
Mario
--
Rgds
CL
--
Rgds
CL_______________________________________________
Tinyos-help mailing list
[email protected]
https://www.millennium.berkeley.edu/cgi-bin/mailman/listinfo/tinyos-help