| Algorithm 3 Intra-CRBAN transmission at the sensor nodes. |
| Input: set of {M} sensor nodes, historical packet delivery ratio PDR{t − 1,M} |
| Output: A TDMA scheduled for M sensor nodes |
| 1. Wait for beacon signal on CtrlCh |
| 2. Change the working channel to DataCh according to beacon signal |
| 3. Transmit data in the assigned timeslot |
| 4. Go back to sleep after receiving ACK from the coordinator |