|
Algorithm 4 Link symmetric. |
-
1:
if a beacon packet received from
then ▹ Child u sending data to Parent
-
2:
Child takes a random backoff and checks the
-
3:
if win the channel then
-
4:
send data to and go to sleep mode
-
5:
else
-
6:
wait for next beacon
-
7:
end if
-
8:
end if
-
9:
if a data packet received from
then ▹ receiver received data from child u
-
10:
send ACK to sender
-
11:
end if
|