ns-allinone-2.35/wpan/p802_15_4timer.cc
void macWakeupTimer::handle(Event *)
{
	reset();
	EnergyModel *em = mac->netif_->node()->energy_model();
	if (em)
	{
		mac->phy->wakeupNode(0);
	}
}
// 2.31 change: Timer to control node shutdown and wakeup
2.31 change: Timer to control node shutdown and wakeup
2 . 31 change : Timer to control node shutdown and wakeup
void macWakeupTimer::handle(Event *)
{
	reset();
	EnergyModel *em = mac->netif_->node()->energy_model();
	if (em)
	{
		mac->phy->wakeupNode(0);
	}
}
void macWakeupTimer :: handle ( Event * ) { reset ( ) ; EnergyModel * em = mac -> netif_ -> node ( ) -> energy_model ( ) ; if ( em ) { mac -> phy -> wakeupNode ( 0 ) ; } }
2.31 change: Timer to control node shutdown and wakeup
2 . 31 change : Timer to control node shutdown and wakeup