please send me some code to interface rf device to microcontroller(i.e. RFM12(B))
As I've said before, handling the "everything works fine" route is (almost) trivial - it's handling all the "exceptions" that make up 90% of the work!
The difference between "sample code" posted on websites and real, commercial-grade, software fit for release is, usually, the 90%...
I wouldn't want to spoil that tradition!
;-)