JairajDange:
yes right i want a Tx code for receiver and Rx for master this will transfer data to the the master only when a event will occur and for rest of the time the slaves will go in sleep
It may be a typo, but that bit in bold is silly. I believe you mean "Tx code for the slave". Computer programming only works when you are very precise.
Try with the Tx and Rx the right way round, and if it does not work post the programs you have tried.
...R